PigeonDocs

Catalog

Browse the shared catalog of exercises and other public reference entries.

4 operationshttps://api.sendtopigeon.com
GET/v1/catalog#

List entries in an immutable catalog release

listCatalogNo auth

Query parameters

NameTypeDescription
versionstring
afterstring
limitinteger

Headers

NameTypeDescription
If-None-Matchstring

Responses

200 Successful response.application/json

ETag
Cache-Control
Bodyobject
  • versionstringrequired
  • sha256stringrequired
  • entriesarray of objectrequired
  • nextstring | nullrequired
curl -X GET "https://api.sendtopigeon.com/v1/catalog"
GET https://api.sendtopigeon.com/v1/catalog
GET/v1/catalog/entries/{pin}#

Read the latest or pinned catalog entry

getCatalogEntryNo auth

Path parameters

NameTypeDescription
pinrequiredstringEntry UUID, optionally followed by @ and a decimal revision from 1 to 2147483647.

Headers

NameTypeDescription
If-None-Matchstring

Responses

200 Successful response.application/json

ETag
Cache-Control
Bodyobject
  • entry_idstring · uuidrequired
  • revintegerrequired
    ≥ 1
  • dataCatalogDatarequired
  • created_atstring · date-timerequired
curl -X GET "https://api.sendtopigeon.com/v1/catalog/entries/%7Bpin%7D"
GET https://api.sendtopigeon.com/v1/catalog/entries/%7Bpin%7D
GET/v1/catalog/crosswalk/{provider}/{id}#

Resolve a provider ID to a catalog entry

getCatalogCrosswalkNo auth

Path parameters

NameTypeDescription
providerrequiredstring
idrequiredstring

Headers

NameTypeDescription
If-None-Matchstring

Responses

200 Successful response.application/json

ETag
Cache-Control
Bodyobject
  • entry_idstring · uuidrequired
  • relationstringrequired
  • confidencenumberrequired
    ≥ 0≤ 1
curl -X GET "https://api.sendtopigeon.com/v1/catalog/crosswalk/%7Bprovider%7D/%7Bid%7D"
GET https://api.sendtopigeon.com/v1/catalog/crosswalk/%7Bprovider%7D/%7Bid%7D
POST/v1/catalog/proposals#

Propose an exercise catalog entry

Restricted to the configured catalog contributor.

proposeCatalogEntryOAuth2PersonalAccessTokenPigeonSessionBearerPigeonSessionCookie

Request body required

application/jsonCatalogProposalInputno extra fields
  • dataobjectrequired
    no extra fields
  • sourcestring · uuid
    pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8…

Responses

200 Successful response.application/json

Bodyobject
  • idstring · uuidrequired
  • revintegerrequired
    ≥ 1
  • reusedbooleanrequired
curl -X POST "https://api.sendtopigeon.com/v1/catalog/proposals" \
  -H "Authorization: Bearer $PIGEON_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "data": {
    "name": "string"
  }
}'
JSONExample body
{
  "data": {
    "name": "string"
  }
}
POST https://api.sendtopigeon.com/v1/catalog/proposals