{ "opencollection": "1.0.0", "info": { "name": "Pinterest Media API", "version": "5.13.0" }, "items": [ { "info": { "name": "Media", "type": "folder" }, "items": [ { "info": { "name": "List media uploads", "type": "http" }, "http": { "method": "GET", "url": "https://api.pinterest.com/v5/media", "params": [ { "name": "bookmark", "value": "", "type": "query", "description": "Cursor used to fetch the next page of items" }, { "name": "page_size", "value": "", "type": "query", "description": "Maximum number of items to include in a single page of the response. See documentation on Pagination for more information." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.pinterest.com/oauth/", "accessTokenUrl": "https://api.pinterest.com/v5/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List media uploads filtered by given parameters.\n\nLearn more about video Pin creation." }, { "info": { "name": "Register media upload", "type": "http" }, "http": { "method": "POST", "url": "https://api.pinterest.com/v5/media", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.pinterest.com/oauth/", "accessTokenUrl": "https://api.pinterest.com/v5/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Register your intent to upload media\n\nThe response includes all of the information needed to upload the media\nto Pinterest.\n\nTo upload the media, make an HTTP POST request (using curl, for\nexample) to upload_url using the Content-Type header\nvalue. Send the media file's contents as the request's file\nparameter and also include all of the parameters from\nupload_parameters.\n\nLearn" }, { "info": { "name": "Get media upload details", "type": "http" }, "http": { "method": "GET", "url": "https://api.pinterest.com/v5/media/:media_id", "params": [ { "name": "media_id", "value": "", "type": "path", "description": "Media identifier" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.pinterest.com/oauth/", "accessTokenUrl": "https://api.pinterest.com/v5/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get details for a registered media upload, including its current status.\n\nLearn more about video Pin creation." } ] } ], "bundled": true }