{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/social-media:dev-to/post-admin-users-create":{"post":{"operationId":"social_media_dev_to_post_admin_users_create","summary":"Invite a User","description":"POST /api/admin/users","tags":["social-media"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-articles":{"get":{"operationId":"social_media_dev_to_get_articles","summary":"Published articles","description":"GET /api/articles","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}},{"name":"tag","in":"query","required":false,"description":"Using this parameter will retrieve articles that contain the requested tag. Articles will be ordered by descending popularity.This…","schema":{"type":"string","description":"Using this parameter will retrieve articles that contain the requested tag. Articles will be ordered by descending popularity.This…"},"example":"discuss"},{"name":"tags","in":"query","required":false,"description":"Using this parameter will retrieve articles with any of the comma-separated tags. Articles will be ordered by descending popularity.","schema":{"type":"string","description":"Using this parameter will retrieve articles with any of the comma-separated tags. Articles will be ordered by descending popularity."},"example":"javascript, css"},{"name":"tags_exclude","in":"query","required":false,"description":"Using this parameter will retrieve articles that do _not_ contain _any_ of comma-separated tags. Articles will be ordered by descending…","schema":{"type":"string","description":"Using this parameter will retrieve articles that do _not_ contain _any_ of comma-separated tags. Articles will be ordered by descending…"},"example":"node, java"},{"name":"username","in":"query","required":false,"description":"Using this parameter will retrieve articles belonging to a User or Organization ordered by descending publication date. If `state=all` the…","schema":{"type":"string","description":"Using this parameter will retrieve articles belonging to a User or Organization ordered by descending publication date. If `state=all` the…"},"example":"ben"},{"name":"state","in":"query","required":false,"description":"Using this parameter will allow the client to check which articles are fresh or rising. If `state=fresh` the server will return fresh…","schema":{"type":"string","enum":["fresh","rising","all"],"description":"Using this parameter will allow the client to check which articles are fresh or rising. If `state=fresh` the server will return fresh…"},"example":"fresh"},{"name":"top","in":"query","required":false,"description":"Using this parameter will allow the client to return the most popular articles in the last `N` days. `top` indicates the number of days…","schema":{"type":"integer","description":"Using this parameter will allow the client to return the most popular articles in the last `N` days. `top` indicates the number of days…"},"example":2},{"name":"collection_id","in":"query","required":false,"description":"Adding this will allow the client to return the list of articles belonging to the requested collection, ordered by ascending publication…","schema":{"type":"integer","description":"Adding this will allow the client to return the list of articles belonging to the requested collection, ordered by ascending publication…"},"example":99}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/create-article":{"post":{"operationId":"social_media_dev_to_create_article","summary":"Publish article","description":"POST /api/articles","tags":["social-media"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-latest-articles":{"get":{"operationId":"social_media_dev_to_get_latest_articles","summary":"Published articles sorted by published date","description":"GET /api/articles/latest","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-user-articles":{"get":{"operationId":"social_media_dev_to_get_user_articles","summary":"User's articles","description":"GET /api/articles/me","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-user-all-articles":{"get":{"operationId":"social_media_dev_to_get_user_all_articles","summary":"User's all articles","description":"GET /api/articles/me/all","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-user-published-articles":{"get":{"operationId":"social_media_dev_to_get_user_published_articles","summary":"User's published articles","description":"GET /api/articles/me/published","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-user-unpublished-articles":{"get":{"operationId":"social_media_dev_to_get_user_unpublished_articles","summary":"User's unpublished articles","description":"GET /api/articles/me/unpublished","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-article-by-id":{"get":{"operationId":"social_media_dev_to_get_article_by_id","summary":"Published article by id","description":"GET /api/articles/{id}","tags":["social-media"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/update-article":{"post":{"operationId":"social_media_dev_to_update_article","summary":"Update an article by id","description":"PUT /api/articles/{id}","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the user to unpublish."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/unpublish-article":{"post":{"operationId":"social_media_dev_to_unpublish_article","summary":"Unpublish an article","description":"PUT /api/articles/{id}/unpublish","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the article to unpublish."},"note":{"type":"string","description":"Content for the note that's created along with unpublishing"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-article-by-path":{"get":{"operationId":"social_media_dev_to_get_article_by_path","summary":"Published article by path","description":"GET /api/articles/{username}/{slug}","tags":["social-media"],"parameters":[{"name":"username","in":"query","required":true,"schema":{"type":"string"}},{"name":"slug","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-comments-by-article-id":{"get":{"operationId":"social_media_dev_to_get_comments_by_article_id","summary":"Comments","description":"GET /api/comments","tags":["social-media"],"parameters":[{"name":"a_id","in":"query","required":false,"description":"Article identifier.","schema":{"type":"string","description":"Article identifier."},"example":"321"},{"name":"p_id","in":"query","required":false,"description":"Podcast Episode identifier.","schema":{"type":"string","description":"Podcast Episode identifier."},"example":"321"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-comment-by-id":{"get":{"operationId":"social_media_dev_to_get_comment_by_id","summary":"Comment by id","description":"GET /api/comments/{id}","tags":["social-media"],"parameters":[{"name":"id","in":"query","required":true,"description":"Comment identifier.","schema":{"type":"integer","description":"Comment identifier."},"example":"321"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-api-display-ads":{"get":{"operationId":"social_media_dev_to_get_api_display_ads","summary":"display ads","description":"GET /api/display_ads","tags":["social-media"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/post-api-display-ads":{"post":{"operationId":"social_media_dev_to_post_api_display_ads","summary":"display ads","description":"POST /api/display_ads","tags":["social-media"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-api-display-ads-id":{"get":{"operationId":"social_media_dev_to_get_api_display_ads_id","summary":"display ad","description":"GET /api/display_ads/{id}","tags":["social-media"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the display ad.","schema":{"type":"integer","description":"The ID of the display ad."},"example":123}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/put-api-display-ads-id":{"post":{"operationId":"social_media_dev_to_put_api_display_ads_id","summary":"display ads","description":"PUT /api/display_ads/{id}","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the display ad."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/put-api-display-ads-id-unpublish":{"post":{"operationId":"social_media_dev_to_put_api_display_ads_id_unpublish","summary":"unpublish","description":"PUT /api/display_ads/{id}/unpublish","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the display ad to unpublish."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-followers":{"get":{"operationId":"social_media_dev_to_get_followers","summary":"Followers","description":"GET /api/followers/users","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}},{"name":"sort","in":"query","required":false,"description":"Default is 'created_at'. Specifies the sort order for the created_at param of the follow relationship. To sort by newest followers first…","schema":{"type":"string","description":"Default is 'created_at'. Specifies the sort order for the created_at param of the follow relationship. To sort by newest followers first…"},"example":"created_at"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-followed-tags":{"get":{"operationId":"social_media_dev_to_get_followed_tags","summary":"Followed Tags","description":"GET /api/follows/tags","tags":["social-media"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-organization":{"get":{"operationId":"social_media_dev_to_get_organization","summary":"An organization","description":"GET /api/organizations/{username}","tags":["social-media"],"parameters":[{"name":"username","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-org-articles":{"get":{"operationId":"social_media_dev_to_get_org_articles","summary":"Organization's Articles","description":"GET /api/organizations/{username}/articles","tags":["social-media"],"parameters":[{"name":"username","in":"query","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-org-users":{"get":{"operationId":"social_media_dev_to_get_org_users","summary":"Organization's users","description":"GET /api/organizations/{username}/users","tags":["social-media"],"parameters":[{"name":"username","in":"query","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-api-pages":{"get":{"operationId":"social_media_dev_to_get_api_pages","summary":"show details for all pages","description":"GET /api/pages","tags":["social-media"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/post-api-pages":{"post":{"operationId":"social_media_dev_to_post_api_pages","summary":"pages","description":"POST /api/pages","tags":["social-media"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-api-pages-id":{"get":{"operationId":"social_media_dev_to_get_api_pages_id","summary":"show details for a page","description":"GET /api/pages/{id}","tags":["social-media"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the page.","schema":{"type":"integer","description":"The ID of the page."},"example":1}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/put-api-pages-id":{"post":{"operationId":"social_media_dev_to_put_api_pages_id","summary":"update details for a page","description":"PUT /api/pages/{id}","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the page."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/delete-api-pages-id":{"post":{"operationId":"social_media_dev_to_delete_api_pages_id","summary":"remove a page","description":"DELETE /api/pages/{id}","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the page."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-podcast-episodes":{"get":{"operationId":"social_media_dev_to_get_podcast_episodes","summary":"Podcast Episodes","description":"GET /api/podcast_episodes","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}},{"name":"username","in":"query","required":false,"description":"Using this parameter will retrieve episodes belonging to a specific podcast.","schema":{"type":"string","description":"Using this parameter will retrieve episodes belonging to a specific podcast."},"example":"codenewbie"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-profile-image":{"get":{"operationId":"social_media_dev_to_get_profile_image","summary":"A Users or organizations profile image","description":"GET /api/profile_images/{username}","tags":["social-media"],"parameters":[{"name":"username","in":"query","required":true,"description":"The parameter is the username of the user or the username of the organization.","schema":{"type":"string","description":"The parameter is the username of the user or the username of the organization."},"example":"janedoe"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/post-api-reactions":{"post":{"operationId":"social_media_dev_to_post_api_reactions","summary":"create reaction","description":"POST /api/reactions","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["category","reactable_id","reactable_type"],"properties":{"category":{"type":"string","enum":["like","unicorn","exploding_head","raised_hands","fire"]},"reactable_id":{"type":"integer"},"reactable_type":{"type":"string","enum":["Comment","Article","User"]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/post-api-reactions-toggle":{"post":{"operationId":"social_media_dev_to_post_api_reactions_toggle","summary":"toggle reaction","description":"POST /api/reactions/toggle","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["category","reactable_id","reactable_type"],"properties":{"category":{"type":"string","enum":["like","unicorn","exploding_head","raised_hands","fire"]},"reactable_id":{"type":"integer"},"reactable_type":{"type":"string","enum":["Comment","Article","User"]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-readinglist":{"get":{"operationId":"social_media_dev_to_get_readinglist","summary":"Readinglist","description":"GET /api/readinglist","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":30,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-tags":{"get":{"operationId":"social_media_dev_to_get_tags","summary":"Tags","description":"GET /api/tags","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":10,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-user-me":{"get":{"operationId":"social_media_dev_to_get_user_me","summary":"The authenticated user","description":"GET /api/users/me","tags":["social-media"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/get-user":{"get":{"operationId":"social_media_dev_to_get_user","summary":"A User","description":"GET /api/users/{id}","tags":["social-media"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/suspend-user":{"post":{"operationId":"social_media_dev_to_suspend_user","summary":"Suspend a User","description":"PUT /api/users/{id}/suspend","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the user to suspend."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/unpublish-user":{"post":{"operationId":"social_media_dev_to_unpublish_user","summary":"Unpublish a User's Articles and Comments","description":"PUT /api/users/{id}/unpublish","tags":["social-media"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the user to unpublish."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/social-media:dev-to/videos":{"get":{"operationId":"social_media_dev_to_videos","summary":"Articles with a video","description":"GET /api/videos","tags":["social-media"],"parameters":[{"name":"page","in":"query","required":false,"description":"Pagination page","schema":{"type":"integer","default":1,"description":"Pagination page"}},{"name":"per_page","in":"query","required":false,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable.","schema":{"type":"integer","default":24,"description":"Page size (the number of items to return per page). The default maximum value can be overridden by \"API_PER_PAGE_MAX\" environment variable."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}