List of Sources
GET/discovery/sources/
Request
Query Parameters
length integerrequired
Number of results to return per page.
page integerrequired
A page number within the paginated result set.
Responses
- 200
- 400
- 401
- 500
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
count integerrequired
Total number of results.
page_total integerrequired
Total number of pages.
page integerrequired
Number of the current page.
The first page is 1.
Defaults to 1 if no specific page is requested.
length integerrequired
Number of results returned per page.
results object[]
id stringrequired
Possible values: <= 255 characters
name stringrequired
Possible values: <= 256 characters
{
"count": 6,
"page_total": 1,
"page": 1,
"length": 10,
"results": [
{
"id": "string",
"name": "string"
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
<field name> string[]required
non_field_errors string[]required
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
{
"detail": "Unexpected error while handling your request."
}
Loading...