{ "opencollection": "1.0.0", "info": { "name": "Dev.to Forem Articles Users API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "api-key", "value": "{{api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "User's articles", "type": "http" }, "http": { "method": "GET", "url": "https://dev.to/api/articles/me", "params": [ { "name": "page", "value": "", "type": "query", "description": "Pagination page number." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of items per page (max 1000, default 30)." } ] }, "docs": "Retrieves all articles authored by the authenticated user." }, { "info": { "name": "User's published articles", "type": "http" }, "http": { "method": "GET", "url": "https://dev.to/api/articles/me/published", "params": [ { "name": "page", "value": "", "type": "query", "description": "Pagination page number." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of items per page (max 1000, default 30)." } ] }, "docs": "Retrieves only published articles authored by the authenticated user." }, { "info": { "name": "User's unpublished articles", "type": "http" }, "http": { "method": "GET", "url": "https://dev.to/api/articles/me/unpublished", "params": [ { "name": "page", "value": "", "type": "query", "description": "Pagination page number." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of items per page (max 1000, default 30)." } ] }, "docs": "Retrieves only unpublished (draft) articles authored by the authenticated user." }, { "info": { "name": "User's all articles", "type": "http" }, "http": { "method": "GET", "url": "https://dev.to/api/articles/me/all", "params": [ { "name": "page", "value": "", "type": "query", "description": "Pagination page number." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of items per page (max 1000, default 30)." } ] }, "docs": "Retrieves all articles (both published and unpublished) authored by the authenticated user." }, { "info": { "name": "Organization's users", "type": "http" }, "http": { "method": "GET", "url": "https://dev.to/api/organizations/:username/users", "params": [ { "name": "username", "value": "", "type": "path", "description": "The username (slug) of the organization." }, { "name": "page", "value": "", "type": "query", "description": "Pagination page number." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of items per page (max 1000, default 30)." } ] }, "docs": "Retrieves a list of users belonging to the specified organization." }, { "info": { "name": "The authenticated user", "type": "http" }, "http": { "method": "GET", "url": "https://dev.to/api/users/me" }, "docs": "Retrieves the profile of the currently authenticated user." }, { "info": { "name": "A User", "type": "http" }, "http": { "method": "GET", "url": "https://dev.to/api/users/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the user." } ] }, "docs": "Retrieves a single user by their numeric ID." }, { "info": { "name": "Unpublish a User's Articles and Comments", "type": "http" }, "http": { "method": "PUT", "url": "https://dev.to/api/users/:id/unpublish", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the user." } ] }, "docs": "Unpublishes all articles and comments for the specified user. Requires admin-level API key." }, { "info": { "name": "Suspend a User", "type": "http" }, "http": { "method": "PUT", "url": "https://dev.to/api/users/:id/suspend", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the user." } ] }, "docs": "Suspends a user account. Requires admin-level API key." } ] } ], "bundled": true }