Skip to main content
Credal | Documentation
current

Search documentation

Type to search this documentation.

List Documents In Collection

GET/v0/documentCollections/listDocumentsInCollectionList Documents In Collection

List documents in a collection

Parameters

collectionIdstring · uuidqueryrequired

The ID of the document collection to list documents from.

Responses

200Response with status 200application/json
objectdocumentCollections_ListDocumentsInCollectionResponse

ListDocumentsInCollectionResponse

resourceIdentifiersarray of valuerequired
Show child attributes
Show array items
oneOf · 2 options
Option 1object
externalResourceIdstringrequired
resourceTypestringrequired

one of "GOOGLE_DRIVE_ITEM", "MICROSOFT_DRIVE_ITEM", "ZENDESK_TICKET", "ZENDESK_ARTICLE", "ZENDESK_GROUP", "ZENDESK_ARTICLE_SECTION", "ZENDESK_ARTICLE_CATEGORY", "CONFLUENCE_PAGE", "CONFLUENCE_SPACE", "JIRA_TICKET", "JIRA_PROJECT", "SALESFORCE_TASK", "BOX_FILE", "BOX_FOLDER", "NOTION_PAGE", "NOTION_DATABASE", "SLACK_CHANNEL", "MONGO_COLLECTION_SYNC", "UNKNOWN"

typestringrequired

Discriminator value: external-resource-id

one of "external-resource-id"

Option 2object
typestringrequired

Discriminator value: url

one of "url"

urlstringrequired
Example response
{
  "resourceIdentifiers": [
    {
      "externalResourceId": "string",
      "resourceType": "BOX_FILE",
      "type": "external-resource-id"
    }
  ]
}
Documentation menu