≥ 1
Catalog
Browse the shared catalog of exercises and other public reference entries.
List entries in an immutable catalog release
Query parameters
| Name | Type | Description |
|---|---|---|
| version | string | |
| after | string | |
| limit | integer |
Headers
| Name | Type | Description |
|---|---|---|
| If-None-Match | string |
Responses
200 Successful response.application/json
ETagCache-ControlBodyobject
versionstringrequiredsha256stringrequiredentriesarray of objectrequirednextstring | nullrequired
curl -X GET "https://api.sendtopigeon.com/v1/catalog"GET https://api.sendtopigeon.com/v1/catalogRead the latest or pinned catalog entry
Path parameters
| Name | Type | Description |
|---|---|---|
| pinrequired | string | Entry UUID, optionally followed by @ and a decimal revision from 1 to 2147483647. |
Headers
| Name | Type | Description |
|---|---|---|
| If-None-Match | string |
Responses
200 Successful response.application/json
ETagCache-ControlBodyobject
entry_idstring · uuidrequiredrevintegerrequireddataCatalogDatarequiredcreated_atstring · date-timerequired
curl -X GET "https://api.sendtopigeon.com/v1/catalog/entries/%7Bpin%7D"GET https://api.sendtopigeon.com/v1/catalog/entries/%7Bpin%7DResolve a provider ID to a catalog entry
Path parameters
| Name | Type | Description |
|---|---|---|
| providerrequired | string | |
| idrequired | string |
Headers
| Name | Type | Description |
|---|---|---|
| If-None-Match | string |
Responses
200 Successful response.application/json
ETagCache-ControlBodyobject
entry_idstring · uuidrequiredrelationstringrequiredconfidencenumberrequired≥ 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%7DPropose an exercise catalog entry
Restricted to the configured catalog contributor.
Request body required
application/jsonCatalogProposalInputno extra fields
dataobjectrequiredno extra fieldssourcestring · uuidpattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8…
Responses
200 Successful response.application/json
Bodyobject
idstring · uuidrequiredrevintegerrequired≥ 1reusedbooleanrequired
curl -X POST "https://api.sendtopigeon.com/v1/catalog/proposals" \
-H "Authorization: Bearer $PIGEON_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"data": {
"name": "string"
}
}'{
"data": {
"name": "string"
}
}POST https://api.sendtopigeon.com/v1/catalog/proposals