Get a Specific Incubator
This endpoint retrieves a specific incubator.
info
This operation requires authentication only if content_availability
community option is false.
HTTP Request
GET /api/v2/incubator/{id}/
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | A unique integer value identifying this incubator |
Example Request
- JavaScript
- Bash
const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};
fetch('/api/v2/incubator/{id}/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
# You can also use wget
curl -X GET /api/v2/incubator/{id}/ \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access_token}'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Response status code | Incubator |
Example responses
- 200
{
"id": "integer",
"name": "string",
"slug": "string",
"slogan": "string",
"status": "integer",
"approved_category": {Category},
"added_at": "string",
"user": {
"id": "integer",
"username": "string",
"real_name": "string",
"avatar": "string",
"ext_id": "integer"
},
"subscribers_count": "integer",
"subscribers_threshold": "integer",
"subscribed": "boolean"
}