List all Projects
Example
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);
});
Response
{
"results": [
{
"id": 1,
"transferable": false,
"mintAddress": "D7MRhsnN5MSSsYVwY1NiAomW1ZrFBGnsEfMnrKULAFva",
"ownerAddress": "J7oqTbAUdMazGbBs4LZRpKv6SNE4k1GVqkxTQz526vkz",
"name": "Project #1",
"description": "",
"image": "https://underdog-test-bucket-dev.s3.amazonaws.com/D7MRhsnN5MSSsYVwY1NiAomW1ZrFBGnsEfMnrKULAFva/image.png"
},
{
"id": 2,
"transferable": false,
"mintAddress": "FX2cGp5jUvfHfoAFE9PnPFnS5DC9AyLugaTNgbVq4Dd5",
"ownerAddress": "3Wku1E83DskbBaxwPBwD1BXNzX1B1VVEqp75P2oLxWTk",
"name": "Project #3",
"description": "",
"image": "https://underdog-test-bucket-dev.s3.amazonaws.com/FX2cGp5jUvfHfoAFE9PnPFnS5DC9AyLugaTNgbVq4Dd5/image.png"
}
],
"page": 1,
"limit": 2,
"totalPages": 3,
"totalResults": 5
}
Last updated