query_params¶
EntryListingQueryParams
¶
Common query params for all Entry listing endpoints.
Attributes:
Name | Type | Description |
---|---|---|
filter | str | A filter string, in the format described in section API Filtering Format Specification of the specification. |
response_format | str | The output format requested (see section Response Format). Defaults to the format string 'json', which specifies the standard output format described in this specification. Example: |
email_address | EmailStr | An email address of the user making the request. The email SHOULD be that of a person and not an automatic system. Example: |
response_fields | str | A comma-delimited set of fields to be provided in the output. If provided, these fields MUST be returned along with the REQUIRED fields. Other OPTIONAL fields MUST NOT be returned when this parameter is present. Example: |
sort | str | If supporting sortable queries, an implementation MUST use the An implementation MAY support multiple sort fields for a single query. If it does, it again MUST conform to the JSON API 1.0 specification. If an implementation supports sorting for an entry listing endpoint, then the |
page_limit | int | Sets a numerical limit on the number of entries returned. See JSON API 1.0. The API implementation MUST return no more than the number specified. It MAY return fewer. The database MAY have a maximum limit and not accept larger numbers (in which case an error code -- Example: |
page_offset | int | RECOMMENDED for use with offset-based pagination: using Example: Skip 50 structures and fetch up to 100: |
page_number | int | RECOMMENDED for use with page-based pagination: using Example: Fetch page 2 of up to 50 structures per page: |
page_cursor | int | RECOMMENDED for use with cursor-based pagination: using |
page_above | int | RECOMMENDED for use with value-based pagination: using Example: Fetch up to 100 structures above sort-field value 4000 (in this example, server chooses to fetch results sorted by increasing |
page_below | int | RECOMMENDED for use with value-based pagination: using |
include | str | A server MAY implement the JSON API concept of returning compound documents by utilizing the All related resource objects MUST be returned as part of an array value for the top-level The value of The default value for Note: A query with the parameter |
api_hint | str | If the client provides the parameter, the value SHOULD have the format |
SingleEntryQueryParams
¶
Common query params for single entry endpoints.
Attributes:
Name | Type | Description |
---|---|---|
response_format | str | The output format requested (see section Response Format). Defaults to the format string 'json', which specifies the standard output format described in this specification. Example: |
email_address | EmailStr | An email address of the user making the request. The email SHOULD be that of a person and not an automatic system. Example: |
response_fields | str | A comma-delimited set of fields to be provided in the output. If provided, these fields MUST be returned along with the REQUIRED fields. Other OPTIONAL fields MUST NOT be returned when this parameter is present. Example: |
include | str | A server MAY implement the JSON API concept of returning compound documents by utilizing the All related resource objects MUST be returned as part of an array value for the top-level The value of The default value for Note: A query with the parameter |
api_hint | str | If the client provides the parameter, the value SHOULD have the format |