Skip to main content

Get All Incubators

This endpoint retrieves all incubators.

info

This operation requires authentication only if content_availability community option is false.

HTTP Request

GET /api/v2/incubator/

Parameters

NameInTypeRequiredDescription
limitqueryintegerfalseNumber of results to return per page.
offsetqueryintegerfalseThe initial index from which to return the results.
searchquerystringfalseA search term to be applied to the fields 'name' and 'slogan').
statusqueryintegerfalseValid values are from 0 to 3
orderingquerystringfalseWhich field to use when ordering the results.

Status valid Values

ParameterValueDescription
status0pending
status1proposal
status2approved
status3ignored

Example Request


const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/incubator/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKnoneInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» countintegerfalsenoneTotal results count
» nextstring(uri)¦nullfalsenoneNext page url
» previousstring(uri)¦nullfalsenonePrevious page url
» resultslist(Incubator)falsenoneList of results

Example responses

{
"count": 123,
"next": string(uri),
"previous": string(uri),
"results": [
{
"id": 0,
"name": "string",
"slug": "string",
"slogan": "string",
"status": 2,
"approved_category": {
"id": 0,
"tags": [
{
"id": 0,
"active": true,
"type": "user",
"name": "string",
"description": "string",
"color": "string",
"visible": true,
"visibility_boost": true,
"deleted": true,
"created_at": "2019-08-24T14:15:22Z"
}
],
"order": -2147483648,
"name": "string",
"name_synonyms": "string",
"slug": "string",
"slogan": "string",
"html_info": "string",
"seo_title": "string",
"seo_description": "string",
"auto_follow": "none",
"active": true,
"deleted": true,
"image_original": "string",
"image_bigger": "string",
"image_big": "string",
"image_medium": "string",
"image_small": "string",
"emotional_image_original": "string",
"emotional_image_position": -2147483648,
"lastmod_datetime": "2019-08-24T14:15:22Z",
"stream_order_by": "recent"
},
"added_at": "2019-08-24T14:15:22Z",
"user": {
"id": 0,
"username": "string",
"real_name": "string",
"avatar": "string",
"ext_id": "string"
},
"subscribers_count": "string",
"subscribers_threshold": "string",
"subscribed": true,
}
]
}