components: schemas: Resource: properties: code_geo: type: string type: object ResourceData: properties: data: items: $ref: '#/components/schemas/Resource' type: array link: properties: next: description: Pagination link to the next page of the resource data type: string prev: description: Pagination link to the previous page of the resource data type: string profile: description: Link to the profile endpoint of the resource type: string type: object meta: properties: page: description: Current page type: integer page_size: description: Number of results per page type: integer total: description: Total number of results type: integer type: object type: object info: description: Retrieve data for a specified resource with optional filtering and sorting. title: Tabular API version: 1.0.0 openapi: 3.0.3 paths: /api/resources/851d342f-9c96-41c1-924a-11a7a7aae8a6/data/: get: description: Returns resource data based on ID as JSON, each row is a dictionnary. operationId: getResourceDataFromId responses: '200': content: application/json: schema: $ref: '#/components/schemas/ResourceData' description: successful operation '400': description: Invalid query string '404': description: Resource not found summary: Get resource data from its ID parameters: &id001 - description: Specific page (page=value) example: 1 in: query name: page required: false schema: type: integer - description: Number of results per page (page_size=value) example: 20 in: query name: page_size required: false schema: type: integer - description: Columns to keep in the result (columns=column1,column3,...) explode: false in: query name: columns required: false schema: type: string style: form - description: Encapsulates filters to be joined with the `OR` operator. Allows to build complex queries with nested `or(...)` and `and(...)` operators. Inner filters syntax must be `..` (or `.` for `is(not)null`), separated with commas. in: query name: or required: false schema: type: string - description: 'Exact match in column: code_geo (code_geo__exact=value)' in: query name: code_geo__exact required: false schema: type: string - description: 'Differs from in column: code_geo (code_geo__differs=value)' in: query name: code_geo__differs required: false schema: type: string - allowEmptyValue: true description: 'Is `NULL` in column: code_geo (code_geo__isnull)' in: query name: code_geo__isnull required: false schema: type: boolean - allowEmptyValue: true description: 'Is not `NULL` in column: code_geo (code_geo__isnotnull)' in: query name: code_geo__isnotnull required: false schema: type: boolean - description: 'String contains in column: code_geo (code_geo__contains=value)' in: query name: code_geo__contains required: false schema: type: string - description: 'String does not contain in column: code_geo (code_geo__notcontains=value)' in: query name: code_geo__notcontains required: false schema: type: string - description: 'Value in list in column: code_geo (code_geo__in=value1,value2,...)' in: query name: code_geo__in required: false schema: type: string - description: 'Value not in list in column: code_geo (code_geo__notin=value1,value2,...)' in: query name: code_geo__notin required: false schema: type: string - allowEmptyValue: true description: 'Performs `group by values` operation in column: code_geo' in: query name: code_geo__groupby required: false schema: type: boolean - allowEmptyValue: true description: 'Performs `count values` operation in column: code_geo' in: query name: code_geo__count required: false schema: type: boolean - description: 'Sort ascending or descending on column: code_geo (code_geo__sort=asc or code_geo__sort=desc)' in: query name: code_geo__sort required: false schema: type: string - description: 'Less than in column: code_geo (code_geo__less=value)' in: query name: code_geo__less required: false schema: type: string - description: 'Greater than in column: code_geo (code_geo__greater=value)' in: query name: code_geo__greater required: false schema: type: string - description: 'Strictly less than in column: code_geo (code_geo__strictly_less=value)' in: query name: code_geo__strictly_less required: false schema: type: string - description: 'Strictly greater than in column: code_geo (code_geo__strictly_greater=value)' in: query name: code_geo__strictly_greater required: false schema: type: string /api/resources/851d342f-9c96-41c1-924a-11a7a7aae8a6/data/csv/: get: description: Returns resource data based on ID as a CSV file. operationId: getResourceDataFromIdCSV responses: '200': content: text/csv: {} description: successful operation '400': description: Invalid query string '404': description: Resource not found summary: Get resource data from its ID in CSV format parameters: *id001 /api/resources/851d342f-9c96-41c1-924a-11a7a7aae8a6/data/json/: get: description: Returns resource data based on ID as a JSON file. operationId: getResourceDataFromIdJSON responses: '200': content: application/json: {} description: successful operation '400': description: Invalid query string '404': description: Resource not found summary: Get resource data from its ID in JSON format parameters: *id001 tags: - description: Retrieve data for a specified resource name: Data retrieval