API to manage your DeveloperHub resources programmatically. Using these APIs, you are able to manage pages, integrate with CI/CD, and retrieve resources among other operations.
Generate an API Key from DeveloperHub.io platform and provide it in the header such as --header "X-Api-Key: <api-key>" for cURL for all the requests requiring this authentication.
| Key | In | |
|---|---|---|
| X | Header |
Get page by slug
Get a page by slugs and read its content in Darkdown or text format. Rate limit: 60 in 1 minute.
Either version_id or version_slug must be provided. Either documentation_id or documentation_slug must be provided.
OK
Access denied
Too many requests
Read page
Read a page including its content in Darkdown or text format. Rate limit: 600 in 1 minute.
OK
Access denied
Too many requests
Update a page
Updates a page title, slug or draft contents. Rate limit: 10800 in 1 hour.
OK
Access denied
Unsupported content-type
Too many requests
Create a page
Creates a page with draft contents. To insert in a pre-existing category, set the categoryTitle. Rate limit: 10800 in 1 hour.
OK
Access denied
Unsupported content-type
Too many requests
Publish a page
Publishes a page from its draft contents. Rate limit: 10800 in 1 hour.
OK
Access denied
Unsupported content-type
Too many requests
Version
Lists all project versions
Lists all project versions that are accessible through the API Key. This will only list non-deleted versions. Rate limit: 60 in 60 minutes.
OK
Access denied
Too many requests
Update a version
Updates a version. Enables you to publish or unpublish a version. Rate limit: 3600 in 1 hour.
OK
Access denied
Unsupported content-type
Too many requests
Reference
Adds or updates a reference specification
Adds or updates a reference specification in that version. If the reference title matches one that already existed, then it is updated. Rate limit: 300 in 60 minutes.
Created
General Exception
Access denied
Too many requests
Project
Exports project
Exports the project into a ZIP file. Only available for enterprise plans. Rate limit: 10 in 60 minutes.
OK
Upgrade Plan
Access denied
Too many requests
Search content
Searches through project or version. Use this to build custom search into your own website/services which directs users to documentation. Minimum plan required is Grow plan. Rate limit: 10,800 in 60 minutes.
OK
Client Error
Access denied
Too many requests
Get all resources
Returns all pages, documentation, references and versions of your project. Rate limit: 30 in 60 minutes.
OK
Access denied
Too many requests
Get audit log
Query the audit log. Only available in enterprise plans. Rate limit: 600 in 60 minutes.
OK
Client Error
Access denied
Too many requests
Get users
Get all users and their roles. Rate limit: 3600 in 60 minutes.
OK
Client Error
Access denied
Too many requests
Create a changelog post
Creates a changelog post from Darkdown content, optionally publishing it immediately. The slug is generated from the title if not provided. Permission: changelog.edit. Rate limit: 10800 in 1 hour.
OK
Client Error
Access denied
Unsupported content-type
Too many requests
List changelog posts
Lists a changelog's posts, newest first. Returns the 10 most recent posts by default; use cursor to page. Permission: changelog.read. Rate limit: 600 in 60 seconds.
OK
Access denied
Too many requests
Reader Access
Get access details of all invited readers
Get access details of all invited readers. Rate limit: 3600 in 60 minutes.
OK
Client Error
Access denied
Too many requests
Grant access to reader
Grants access to reader. Only applicable when project is protected by "Email Invite". Rate limit: 100 in 60 minutes.
OK
Access denied
Unsupported content-type
Too many requests
Revoke access to reader
Revokes access to reader. Rate limit: 100 in 60 minutes.
OK
Access denied
Unsupported content-type
Too many requests