List all Projects
This endpoint allows you to retrieve a paginated list of all your Projects. By default, a maximum of ten Projects are shown per page.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pagenumber | nullableOptional
limitnumber | nullableOptional
Responses
200
Returns a paginated list of Projects
application/json
401
Unauthorized
application/json
get
/v2/projectsExample
curl --location --request GET 'https://dev.underdogprotocol.com/v2/projects?limit=2' \
--header 'Authorization: Bearer {token}'const axios = require('axios');
let config = {
method: 'get',
url: 'https://dev.underdogprotocol.com/v2/projects?limit=2',
headers: {
'Authorization': 'Bearer {token}'
}
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Last updated