-
Notifications
You must be signed in to change notification settings - Fork 37
API v1
This page is for developers.
Use the Overview Application Programming Interface (API) to write scripts and plugins that take advantage of features and data in Overview.
To access the API, your program needs an API Token. That token allows a script to behave like the user who created it, granting permissions on one document set. Keep it secret: anybody who can figure out the token has full read/write access to that document set.
While we work out the kinks, Overview's API is experimental; we've hidden the page that lets you generate an API token for a document set. To find it:
- Browse to a document set.
- Add "/api-tokens" to the URL. The URL should look like `http://www.overviewproject.org/documentsets/123/api-tokens".
- Type in your app name and generate a token.
Now you can test your token. On a command-line:
curl -u 'MYTOKEN:x-auth-token' http://www.overviewproject.org/api/v1/document-sets/123/tags
This API endpoint will list all the tags on the document set.
- Requests and responses are always in JSON.
- All requests must be authorized. That means they must have an
Authorization
header ofBasic #{base64encode("MYTOKEN:x-auth-token")}
. -
GET
andHEAD
requests won't modify the document set.POST
,PUT
,PATCH
andDELETE
requests will.