Skip to main content

Check Incubator Subscription

This endpoint returns subscribed = true if the incubator (identified in path) is subscribed by the authenticated user.

info

This operation requires authentication.

HTTP Request

GET /api/v2/incubator/{id}/subscribed/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this incubator

Example Request

const headers = {
'Accept':'application/json',
'Authorization: Bearer <token>'
};

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

Responses

StatusMeaningDescriptionSchema
200OKResponse status codenone

Example responses

{
"subscribed": "boolean"
}