Download OpenAPI specification:Download
Files Gateway is an extensible approach to integrating custom files systems with Moveworks’ Copilot Search.
This includes the following features: • Minimal infrastructure. Just bring your APIs. No job scheduling, indexing, caching, storage, etc. • Simplified traversal: Moveworks manages traversal logic (pagination / nested structures) • Multiple MIME types: Index HTML, PDF, DOC, and PPT mime types • Support multiple systems: Build & configure up to 10 different custom systems.
Retrieve files in a specific node, providing features like querying, filtering, and detailed navigational information including parent folder details and direct download URLs.
Successfully retrieved list of content items with enhanced information.
Bad Request - The request could not be understood due to malformed syntax.
Unauthorized - Authentication is required and has failed or has not yet been provided.
Forbidden - Server understood the request but refuses to authorize it.
Not Found - The requested resource could not be found.
Too Many Requests - Rate limit exceeded.
{- "value": [
- {
- "id": "12345",
- "name": "Document or Folder Name",
- "status": "active",
- "custom_attributes": {
- "property1": "string",
- "property2": "string"
}, - "last_modified_datetime": "2023-04-17T12:34:56Z",
- "last_modified_by": "john_doe@abc.com",
- "created_datetime": "2023-01-01T00:00:00Z",
- "created_by": "jane_doe@abc.com",
- "content": {
- "download_path": "12345/download",
- "mime_type": "application/pdf",
- "size": 102400,
- "sha1_hash": "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12"
}, - "parent_info": {
- "id": "parent123",
- "name": "Parent Node Name",
- "path": "/reports/2023"
}, - "children_url": "https://content-gateway-example.com/v1/content/files?$filter=(folder eq 12345)"
}
], - "@odata.nextLink": "https://content-gateway-example.com/v1/content?$filter=(category in (retail, sales) and file_type in (pdf, docx))&$top=10&$skip=10&$orderby=createdDateTime desc"
}
Retrieves metdata for content resource
Successfully retrieved metadata of content
Bad Request - The request could not be understood by the server due to malformed syntax.
Unauthorized - Authentication is required and has failed or has not yet been provided.
Forbidden - Server understood the request but refuses to authorize it.
Not Found - The requested file could not be found.
Too Many Requests - Rate limit exceeded.
Internal Server Error - The server encountered an unexpected condition that prevented it from fulfilling the request.
{- "value": {
- "id": "12345",
- "name": "Document or Folder Name",
- "status": "active",
- "custom_attributes": {
- "property1": "string",
- "property2": "string"
}, - "last_modified_datetime": "2023-04-17T12:34:56Z",
- "last_modified_by": "john_doe@abc.com",
- "created_datetime": "2023-01-01T00:00:00Z",
- "created_by": "jane_doe@abc.com",
- "content": {
- "download_path": "12345/download",
- "mime_type": "application/pdf",
- "size": 102400,
- "sha1_hash": "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12"
}, - "parent_info": {
- "id": "parent123",
- "name": "Parent Node Name",
- "path": "/reports/2023"
}, - "children_url": "https://content-gateway-example.com/v1/content/files?$filter=(folder eq 12345)"
}
}
Retrieves and downloads the entire media file based on the specified file ID. A checksum is provided to validate the integrity of the downloaded file.
Successfully retrieved the entire file. The response body contains the file data.
Bad Request - The request could not be understood by the server due to malformed syntax.
Unauthorized - Authentication is required and has failed or has not yet been provided.
Forbidden - Server understood the request but refuses to authorize it.
Not Found - The requested file could not be found.
Too Many Requests - Rate limit exceeded.
Internal Server Error - The server encountered an unexpected condition that prevented it from fulfilling the request.
{- "code": "INTERNAL_SERVER_ERROR",
- "message": "The server encountered an internal error and was unable to complete your request."
}