Skip to main content
GET
https://aodocs.altirnao.com
/
api
/
documentType
/
v1
/
libraries
/
{libId}
/
documentTypes
/
{documentTypeId}
GET https://aodocs.altirnao.com/api/_ah/api/documentType/v1/libraries/Rs4xtue86axGNklquDP/documentTypes/Rs4xuIg86e45fvAsn9L
{
  "kind": "aodocs#documentType",
  "id": "RnTbOft44KfZYkfBpV",
  "displayName": "my-dms-class-001-not-default",
  "libraryId": "RnTG8PDu8ZqTuDVHcv",
  "defaultClass": true
}

Method and API

Play with the API Explorer:

GET /documentType/v1/libraries/{libId}/documentTypes/{documentTypeId}

In the command above:
  • documentType is the API
  • v1 is the API version
  • libraries is the top-level resource
  • documentTypes or class is the nested resource

Guidelines

Request

Pass the mandatory class ID (documentTypeId) and the library ID (libId) of the library the class resides in — both as path parameters (not in the query string).
GET https://aodocs.altirnao.com/api/_ah/api/documentType/v1/libraries/Rs4xtue86axGNklquDP/documentTypes/Rs4xuIg86e45fvAsn9L

Response

The response returns an ApiDocumentType resource, listing the specified class. Response fields of note:
  • id (of the class)
  • displayName (of the class)
  • libraryId (of the library you searched)
  • defaultClass (whether or not this is the library’s default class)
{
  "kind": "aodocs#documentType",
  "id": "RnTbOft44KfZYkfBpV",
  "displayName": "my-dms-class-001-not-default",
  "libraryId": "RnTG8PDu8ZqTuDVHcv",
  "defaultClass": true
}