openapi: 3.0.0 info: version: '2016-05-01' x-release: v4 title: Amazon WorkDocs description: '
The Amazon WorkDocs API is designed for the following use cases:
File Migration: File migration applications are supported for users who want to migrate their files from an on-premises or off-premises file system or service. Users can insert files into a user directory structure, as well as allow for basic metadata changes, such as modifications to the permissions of files.
Security: Support security applications are supported for users who have additional security needs, such as antivirus or data loss prevention. The API actions, along with CloudTrail, allow these applications to detect when changes occur in Amazon WorkDocs. Then, the application can take the necessary actions and replace the target file. If the target file violates the policy, the application can also choose to email the user.
eDiscovery/Analytics: General administrative applications are supported, such as eDiscovery and analytics. These applications can choose to mimic or record the actions in an Amazon WorkDocs site, along with CloudTrail, to replicate data for eDiscovery, backup, or analytical applications.
All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed. They not only require the use of the Amazon Web Services SDK, but also allow for the exclusive use of IAM users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the Amazon WorkDocs site, the IAM user gains full administrative visibility into the entire Amazon WorkDocs site (or as set in the IAM policy). This includes, but is not limited to, the ability to modify file permissions and upload any file to any user. This allows developers to perform the three use cases above, as well as give users the ability to grant access on a selective basis using the IAM model.
The pricing for Amazon WorkDocs APIs varies depending on the API call type for these actions:
READ (Get*)
WRITE (Activate*, Add*, Create*, Deactivate*, Initiate*, Update*)
LIST (Describe*)
DELETE*, CANCEL
For information about Amazon WorkDocs API pricing, see Amazon WorkDocs Pricing.
Changes the status of the document version to ACTIVE.
Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by InitiateDocumentVersionUpload.
' responses: '200': description: Success '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' '482': description: ConcurrentModificationException content: application/json: schema: $ref: '#/components/schemas/ConcurrentModificationException' '483': description: InvalidOperationException content: application/json: schema: $ref: '#/components/schemas/InvalidOperationException' '484': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '485': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '486': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '487': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: DocumentId in: path required: true description: The ID of the document. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: VersionId in: path required: true description: The version ID of the document. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 requestBody: required: true content: application/json: schema: type: object properties: VersionStatus: description: The status of the version. type: string enum: - ACTIVE '/api/v1/users/{UserId}/activation': post: operationId: ActivateUser description: Activates the specified user. Only active users can access Amazon WorkDocs. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ActivateUserResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: UserId in: path required: true description: The ID of the user. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' delete: operationId: DeactivateUser description: 'Deactivates the specified user, which revokes the user''s access to Amazon WorkDocs.' responses: '204': description: Success '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: UserId in: path required: true description: The ID of the user. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password '/api/v1/resources/{ResourceId}/permissions': post: operationId: AddResourcePermissions description: Creates a set of permissions for the specified folder or document. The resource permissions are overwritten if the principals already have different permissions. responses: '201': description: Success content: application/json: schema: $ref: '#/components/schemas/AddResourcePermissionsResponse' '480': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '481': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '482': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '483': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '484': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: ResourceId in: path required: true description: The ID of the resource. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 requestBody: required: true content: application/json: schema: type: object required: - Principals properties: Principals: description: 'The users, groups, or organization being granted permission.' type: array items: $ref: '#/components/schemas/SharePrincipal' NotificationOptions: description: Set of options which defines notification preferences of given action. type: object properties: SendEmail: allOf: - $ref: '#/components/schemas/BooleanType' - description: Boolean value to indicate an email notification should be sent to the recipients. EmailMessage: allOf: - $ref: '#/components/schemas/MessageType' - description: Text value to be included in the email body. parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' get: operationId: DescribeResourcePermissions description: Describes the permissions of a specified resource. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeResourcePermissionsResponse' '480': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: ResourceId in: path required: true description: The ID of the resource. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: principalId in: query required: false description: The ID of the principal to filter permissions by. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: limit in: query required: false description: The maximum number of items to return with this call. schema: type: integer minimum: 1 maximum: 999 - name: marker in: query required: false description: The marker for the next set of results. (You received this marker from a previous call) schema: type: string minLength: 1 maxLength: 2048 - name: Limit in: query schema: type: string description: Pagination limit required: false - name: Marker in: query schema: type: string description: Pagination token required: false delete: operationId: RemoveAllResourcePermissions description: Removes all the permissions from the specified resource. responses: '204': description: Success '480': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '481': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '482': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '483': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: ResourceId in: path required: true description: The ID of the resource. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 '/api/v1/documents/{DocumentId}/versions/{VersionId}/comment': post: operationId: CreateComment description: Adds a new comment to the specified document version. responses: '201': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateCommentResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' '482': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '483': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '484': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '485': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '486': description: DocumentLockedForCommentsException content: application/json: schema: $ref: '#/components/schemas/DocumentLockedForCommentsException' '487': description: InvalidCommentOperationException content: application/json: schema: $ref: '#/components/schemas/InvalidCommentOperationException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: DocumentId in: path required: true description: The ID of the document. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: VersionId in: path required: true description: The ID of the document version. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 requestBody: required: true content: application/json: schema: type: object required: - Text properties: ParentId: description: The ID of the parent comment. type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 ThreadId: description: The ID of the root comment in the thread. type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 Text: description: The text of the comment. type: string minLength: 1 maxLength: 2048 format: password Visibility: description: 'The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.' type: string enum: - PUBLIC - PRIVATE NotifyCollaborators: description: Set this parameter to TRUE to send an email out to the document collaborators after the comment is created. type: boolean parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/api/v1/resources/{ResourceId}/customMetadata': put: operationId: CreateCustomMetadata description: 'Adds one or more custom properties to the specified resource (a folder, document, or version).' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateCustomMetadataResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' '484': description: CustomMetadataLimitExceededException content: application/json: schema: $ref: '#/components/schemas/CustomMetadataLimitExceededException' '485': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '486': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: ResourceId in: path required: true description: The ID of the resource. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: versionid in: query required: false description: 'The ID of the version, if the custom metadata is being added to a document version.' schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 requestBody: required: true content: application/json: schema: type: object required: - CustomMetadata properties: CustomMetadata: description: Custom metadata in the form of name-value pairs. type: object minProperties: 1 maxProperties: 8 additionalProperties: $ref: '#/components/schemas/CustomMetadataValueType' parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' delete: operationId: DeleteCustomMetadata description: Deletes custom metadata from the specified resource. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeleteCustomMetadataResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' '484': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '485': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: ResourceId in: path required: true description: 'The ID of the resource, either a document or folder.' schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: versionId in: query required: false description: 'The ID of the version, if the custom metadata is being deleted from a document version.' schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: keys in: query required: false description: List of properties to remove. schema: type: array items: $ref: '#/components/schemas/CustomMetadataKeyType' maxItems: 8 - name: deleteAll in: query required: false description: Flag to indicate removal of all custom metadata properties from the specified resource. schema: type: boolean /api/v1/folders: post: operationId: CreateFolder description: Creates a folder with the specified name and parent folder. responses: '201': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateFolderResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: EntityAlreadyExistsException content: application/json: schema: $ref: '#/components/schemas/EntityAlreadyExistsException' '482': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' '483': description: ConflictingOperationException content: application/json: schema: $ref: '#/components/schemas/ConflictingOperationException' '484': description: ConcurrentModificationException content: application/json: schema: $ref: '#/components/schemas/ConcurrentModificationException' '485': description: LimitExceededException content: application/json: schema: $ref: '#/components/schemas/LimitExceededException' '486': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '487': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '488': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '489': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password requestBody: required: true content: application/json: schema: type: object required: - ParentFolderId properties: Name: description: The name of the new folder. type: string pattern: '[\u0020-\u202D\u202F-\uFFFF]+' minLength: 1 maxLength: 255 format: password ParentFolderId: description: The ID of the parent folder. type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/api/v1/resources/{ResourceId}/labels': put: operationId: CreateLabels description: Adds the specified list of labels to the given resource (a document or folder) responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateLabelsResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '485': description: TooManyLabelsException content: application/json: schema: $ref: '#/components/schemas/TooManyLabelsException' parameters: - name: ResourceId in: path required: true description: The ID of the resource. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password requestBody: required: true content: application/json: schema: type: object required: - Labels properties: Labels: description: List of labels to add to the resource. type: array items: $ref: '#/components/schemas/SharedLabel' maxItems: 20 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' delete: operationId: DeleteLabels description: Deletes the specified list of labels from a resource. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeleteLabelsResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '485': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' parameters: - name: ResourceId in: path required: true description: The ID of the resource. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: labels in: query required: false description: List of labels to delete from the resource. schema: type: array items: $ref: '#/components/schemas/SharedLabel' maxItems: 20 - name: deleteAll in: query required: false description: Flag to request removal of all labels from the specified resource. schema: type: boolean '/api/v1/organizations/{OrganizationId}/subscriptions': post: operationId: CreateNotificationSubscription description: 'Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription.
For more information, see Setting up notifications for an IAM user or role in the Amazon WorkDocs Developer Guide.
' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateNotificationSubscriptionResponse' '480': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '481': description: TooManySubscriptionsException content: application/json: schema: $ref: '#/components/schemas/TooManySubscriptionsException' '482': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '483': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' parameters: - name: OrganizationId in: path required: true description: The ID of the organization. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 requestBody: required: true content: application/json: schema: type: object required: - Endpoint - Protocol - SubscriptionType properties: Endpoint: description: 'The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins withhttps.'
type: string
minLength: 1
maxLength: 256
Protocol:
description: 'The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.'
type: string
enum:
- HTTPS
- SQS
SubscriptionType:
description: The notification type.
type: string
enum:
- ALL
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
get:
operationId: DescribeNotificationSubscriptions
description: Lists the specified notification subscriptions.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DescribeNotificationSubscriptionsResponse'
'480':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'481':
description: EntityNotExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityNotExistsException'
'482':
description: ServiceUnavailableException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUnavailableException'
parameters:
- name: OrganizationId
in: path
required: true
description: The ID of the organization.
schema:
type: string
pattern: '[&\w+-.@]+'
minLength: 1
maxLength: 256
- name: marker
in: query
required: false
description: The marker for the next set of results. (You received this marker from a previous call.)
schema:
type: string
minLength: 1
maxLength: 2048
- name: limit
in: query
required: false
description: The maximum number of items to return with this call.
schema:
type: integer
minimum: 1
maximum: 999
- name: Limit
in: query
schema:
type: string
description: Pagination limit
required: false
- name: Marker
in: query
schema:
type: string
description: Pagination token
required: false
/api/v1/users:
post:
operationId: CreateUser
description: Creates a user in a Simple AD or Microsoft AD directory. The status of a newly created user is "ACTIVE". New users can access Amazon WorkDocs.
responses:
'201':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CreateUserResponse'
'480':
description: EntityAlreadyExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityAlreadyExistsException'
'481':
description: UnauthorizedOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedOperationException'
'482':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'483':
description: FailedDependencyException
content:
application/json:
schema:
$ref: '#/components/schemas/FailedDependencyException'
'484':
description: ServiceUnavailableException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUnavailableException'
parameters:
- name: Authentication
in: header
required: false
description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
schema:
type: string
minLength: 1
maxLength: 8199
format: password
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- Username
- GivenName
- Surname
- Password
properties:
OrganizationId:
description: The ID of the organization.
type: string
pattern: '[&\w+-.@]+'
minLength: 1
maxLength: 256
Username:
description: The login name of the user.
type: string
pattern: '[\w\-+.]+(@[a-zA-Z0-9.\-]+\.[a-zA-Z]+)?'
minLength: 1
maxLength: 256
format: password
EmailAddress:
description: The email address of the user.
type: string
pattern: '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'
minLength: 1
maxLength: 256
format: password
GivenName:
description: The given name of the user.
type: string
minLength: 1
maxLength: 64
format: password
Surname:
description: The surname of the user.
type: string
minLength: 1
maxLength: 64
format: password
Password:
description: The password of the user.
type: string
pattern: '[\u0020-\u00FF]+'
minLength: 4
maxLength: 32
format: password
TimeZoneId:
description: The time zone ID of the user.
type: string
minLength: 1
maxLength: 256
StorageRule:
description: Describes the storage for a user.
type: object
properties:
StorageAllocatedInBytes:
allOf:
- $ref: '#/components/schemas/PositiveSizeType'
- description: 'The amount of storage allocated, in bytes.'
StorageType:
allOf:
- $ref: '#/components/schemas/StorageType'
- description: The type of storage.
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
get:
operationId: DescribeUsers
description: 'Describes the specified users. You can describe all users or filter the results (for example, by status or organization).
By default, Amazon WorkDocs returns the first 24 active or pending users. If there are more results, the response includes a marker that you can use to request the next set of results.
' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeUsersResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '485': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' '486': description: RequestedEntityTooLargeException content: application/json: schema: $ref: '#/components/schemas/RequestedEntityTooLargeException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: organizationId in: query required: false description: The ID of the organization. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: userIds in: query required: false description: The IDs of the users. schema: type: string pattern: '[&\w+-.@, ]+' minLength: 1 maxLength: 2000 - name: query in: query required: false description: 'A query to filter users by user name. Remember the following about the Userids and Query parameters:
If you don''t use either parameter, the API returns a paginated list of all users on the site.
If you use both parameters, the API ignores the Query parameter.
The Userid parameter only returns user names that match a corresponding user ID.
The Query parameter runs a "prefix" search for users by the GivenName, SurName, or UserName fields included in a CreateUser API call. For example, querying on Ma returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying on Ma J only returns Mateo Jackson.
TRUE to include custom metadata in the response.
schema:
type: boolean
patch:
operationId: UpdateDocument
description: 'Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable.'
responses:
'200':
description: Success
'480':
description: EntityNotExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityNotExistsException'
'481':
description: EntityAlreadyExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityAlreadyExistsException'
'482':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'483':
description: ProhibitedStateException
content:
application/json:
schema:
$ref: '#/components/schemas/ProhibitedStateException'
'484':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
'485':
description: ConcurrentModificationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConcurrentModificationException'
'486':
description: UnauthorizedOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedOperationException'
'487':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'488':
description: FailedDependencyException
content:
application/json:
schema:
$ref: '#/components/schemas/FailedDependencyException'
'489':
description: ServiceUnavailableException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUnavailableException'
parameters:
- name: Authentication
in: header
required: false
description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
schema:
type: string
minLength: 1
maxLength: 8199
format: password
- name: DocumentId
in: path
required: true
description: The ID of the document.
schema:
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
Name:
description: The name of the document.
type: string
pattern: '[\u0020-\u202D\u202F-\uFFFF]+'
minLength: 1
maxLength: 255
format: password
ParentFolderId:
description: The ID of the parent folder.
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
ResourceState:
description: The resource state of the document. Only ACTIVE and RECYCLED are supported.
type: string
enum:
- ACTIVE
- RESTORING
- RECYCLING
- RECYCLED
'/api/v1/documentVersions/{DocumentId}/versions/{VersionId}#deletePriorVersions':
delete:
operationId: DeleteDocumentVersion
description: Deletes a specific version of a document.
responses:
'204':
description: Success
'480':
description: EntityNotExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityNotExistsException'
'481':
description: ProhibitedStateException
content:
application/json:
schema:
$ref: '#/components/schemas/ProhibitedStateException'
'482':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
'483':
description: ConcurrentModificationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConcurrentModificationException'
'484':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'485':
description: FailedDependencyException
content:
application/json:
schema:
$ref: '#/components/schemas/FailedDependencyException'
'486':
description: InvalidOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidOperationException'
'487':
description: UnauthorizedOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedOperationException'
parameters:
- name: Authentication
in: header
required: false
description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
schema:
type: string
minLength: 1
maxLength: 8199
format: password
- name: DocumentId
in: path
required: true
description: The ID of the document associated with the version being deleted.
schema:
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
- name: VersionId
in: path
required: true
description: The ID of the version being deleted.
schema:
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
- name: deletePriorVersions
in: query
required: true
description: Deletes all versions of a document prior to the current version.
schema:
type: boolean
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
'/api/v1/folders/{FolderId}':
delete:
operationId: DeleteFolder
description: Permanently deletes the specified folder and its contents.
responses:
'204':
description: Success
'480':
description: EntityNotExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityNotExistsException'
'481':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'482':
description: ProhibitedStateException
content:
application/json:
schema:
$ref: '#/components/schemas/ProhibitedStateException'
'483':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
'484':
description: ConcurrentModificationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConcurrentModificationException'
'485':
description: UnauthorizedOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedOperationException'
'486':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'487':
description: FailedDependencyException
content:
application/json:
schema:
$ref: '#/components/schemas/FailedDependencyException'
'488':
description: ServiceUnavailableException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUnavailableException'
parameters:
- name: Authentication
in: header
required: false
description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
schema:
type: string
minLength: 1
maxLength: 8199
format: password
- name: FolderId
in: path
required: true
description: The ID of the folder.
schema:
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
get:
operationId: GetFolder
description: Retrieves the metadata of the specified folder.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetFolderResponse'
'480':
description: EntityNotExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityNotExistsException'
'481':
description: UnauthorizedOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedOperationException'
'482':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'483':
description: InvalidArgumentException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidArgumentException'
'484':
description: FailedDependencyException
content:
application/json:
schema:
$ref: '#/components/schemas/FailedDependencyException'
'485':
description: ServiceUnavailableException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUnavailableException'
'486':
description: ProhibitedStateException
content:
application/json:
schema:
$ref: '#/components/schemas/ProhibitedStateException'
parameters:
- name: Authentication
in: header
required: false
description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
schema:
type: string
minLength: 1
maxLength: 8199
format: password
- name: FolderId
in: path
required: true
description: The ID of the folder.
schema:
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
- name: includeCustomMetadata
in: query
required: false
description: Set to TRUE to include custom metadata in the response.
schema:
type: boolean
patch:
operationId: UpdateFolder
description: 'Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable.'
responses:
'200':
description: Success
'480':
description: EntityNotExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityNotExistsException'
'481':
description: EntityAlreadyExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityAlreadyExistsException'
'482':
description: ProhibitedStateException
content:
application/json:
schema:
$ref: '#/components/schemas/ProhibitedStateException'
'483':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
'484':
description: ConcurrentModificationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConcurrentModificationException'
'485':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'486':
description: UnauthorizedOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedOperationException'
'487':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'488':
description: FailedDependencyException
content:
application/json:
schema:
$ref: '#/components/schemas/FailedDependencyException'
'489':
description: ServiceUnavailableException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUnavailableException'
parameters:
- name: Authentication
in: header
required: false
description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
schema:
type: string
minLength: 1
maxLength: 8199
format: password
- name: FolderId
in: path
required: true
description: The ID of the folder.
schema:
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
Name:
description: The name of the folder.
type: string
pattern: '[\u0020-\u202D\u202F-\uFFFF]+'
minLength: 1
maxLength: 255
format: password
ParentFolderId:
description: The ID of the parent folder.
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
ResourceState:
description: The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
type: string
enum:
- ACTIVE
- RESTORING
- RECYCLING
- RECYCLED
'/api/v1/folders/{FolderId}/contents':
delete:
operationId: DeleteFolderContents
description: Deletes the contents of the specified folder.
responses:
'204':
description: Success
'480':
description: EntityNotExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityNotExistsException'
'481':
description: ProhibitedStateException
content:
application/json:
schema:
$ref: '#/components/schemas/ProhibitedStateException'
'482':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
'483':
description: UnauthorizedOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedOperationException'
'484':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'485':
description: FailedDependencyException
content:
application/json:
schema:
$ref: '#/components/schemas/FailedDependencyException'
'486':
description: ServiceUnavailableException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUnavailableException'
parameters:
- name: Authentication
in: header
required: false
description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
schema:
type: string
minLength: 1
maxLength: 8199
format: password
- name: FolderId
in: path
required: true
description: The ID of the folder.
schema:
type: string
pattern: '[\w+-.@]+'
minLength: 1
maxLength: 128
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
get:
operationId: DescribeFolderContents
description: 'Describes the contents of the specified folder, including its documents and subfolders.
By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.
' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeFolderContentsResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '482': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '485': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: FolderId in: path required: true description: The ID of the folder. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: sort in: query required: false description: The sorting criteria. schema: type: string enum: - DATE - NAME - name: order in: query required: false description: The order for the contents of the folder. schema: type: string enum: - ASCENDING - DESCENDING - name: limit in: query required: false description: The maximum number of items to return with this call. schema: type: integer minimum: 1 maximum: 999 - name: marker in: query required: false description: The marker for the next set of results. This marker was received from a previous call. schema: type: string minLength: 1 maxLength: 2048 - name: type in: query required: false description: The type of items. schema: type: string enum: - ALL - DOCUMENT - FOLDER - name: include in: query required: false description: The contents to include. Specify "INITIALIZED" to include initialized documents. schema: type: string pattern: '[\w,]+' minLength: 1 maxLength: 256 - name: Limit in: query schema: type: string description: Pagination limit required: false - name: Marker in: query schema: type: string description: Pagination token required: false '/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}': delete: operationId: DeleteNotificationSubscription description: Deletes the specified subscription from the specified organization. responses: '200': description: Success '480': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '481': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '482': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '483': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' parameters: - name: SubscriptionId in: path required: true description: The ID of the subscription. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: OrganizationId in: path required: true description: The ID of the organization. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/api/v1/users/{UserId}': delete: operationId: DeleteUser description:Deletes the specified user from a Simple AD or Microsoft AD directory.
Deleting a user immediately and permanently deletes all content in that user's folder structure. Site retention policies do NOT apply to this type of deletion.
Retrieves the document versions for the specified document.
By default, only active versions are returned.
' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeDocumentVersionsResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' '484': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '485': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '486': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' '487': description: InvalidPasswordException content: application/json: schema: $ref: '#/components/schemas/InvalidPasswordException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: DocumentId in: path required: true description: The ID of the document. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: marker in: query required: false description: The marker for the next set of results. (You received this marker from a previous call.) schema: type: string minLength: 1 maxLength: 2048 - name: limit in: query required: false description: The maximum number of versions to return with this call. schema: type: integer minimum: 1 maximum: 999 - name: include in: query required: false description: A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions. schema: type: string pattern: '[\w,]+' minLength: 1 maxLength: 256 - name: fields in: query required: false description: Specify "SOURCE" to include initialized versions and a URL for the source document. schema: type: string pattern: '[\w,]+' minLength: 1 maxLength: 256 - name: Limit in: query schema: type: string description: Pagination limit required: false - name: Marker in: query schema: type: string description: Pagination token required: false parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /api/v1/groups#searchQuery: get: operationId: DescribeGroups description: Describes the groups specified by the query. Groups are defined by the underlying Active Directory. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeGroupsResponse' '480': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '481': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '482': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '483': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: searchQuery in: query required: true description: A query to describe groups by group name. schema: type: string pattern: '[\u0020-\uFFFF]+' minLength: 1 maxLength: 512 format: password - name: organizationId in: query required: false description: The ID of the organization. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: marker in: query required: false description: The marker for the next set of results. (You received this marker from a previous call.) schema: type: string pattern: '[\u0000-\u00FF]+' minLength: 1 maxLength: 2048 - name: limit in: query required: false description: The maximum number of items to return with this call. schema: type: integer minimum: 1 - name: Limit in: query schema: type: string description: Pagination limit required: false - name: Marker in: query schema: type: string description: Pagination token required: false parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /api/v1/me/root#Authentication: get: operationId: DescribeRootFolders description: 'Describes the current user''s special folders; the RootFolder and the RecycleBin. RootFolder is the root of user''s files and folders and RecycleBin is the root of recycled items. This is not a valid action for SigV4 (administrative API) clients.
This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.
' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeRootFoldersResponse' '480': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '481': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '482': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: true description: Amazon WorkDocs authentication token. schema: type: string minLength: 1 maxLength: 8199 format: password - name: limit in: query required: false description: The maximum number of items to return. schema: type: integer minimum: 1 maximum: 999 - name: marker in: query required: false description: The marker for the next set of results. (You received this marker from a previous call.) schema: type: string minLength: 1 maxLength: 2048 - name: Limit in: query schema: type: string description: Pagination limit required: false - name: Marker in: query schema: type: string description: Pagination token required: false parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /api/v1/me#Authentication: get: operationId: GetCurrentUser description: 'Retrieves details of the current user for whom the authentication token was generated. This is not a valid action for SigV4 (administrative API) clients.
This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.
' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetCurrentUserResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: true description: Amazon WorkDocs authentication token. schema: type: string minLength: 1 maxLength: 8199 format: password parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/api/v1/documents/{DocumentId}/path': get: operationId: GetDocumentPath description: 'Retrieves the path information (the hierarchy from the root folder) for the requested document.
By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested document and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the names of the parent folders.
' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetDocumentPathResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: DocumentId in: path required: true description: The ID of the document. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: limit in: query required: false description: The maximum number of levels in the hierarchy to return. schema: type: integer minimum: 1 maximum: 999 - name: fields in: query required: false description: A comma-separated list of values. SpecifyNAME to include the names of the parent folders.
schema:
type: string
pattern: '[\w,]+'
minLength: 1
maxLength: 256
- name: marker
in: query
required: false
description: This value is not supported.
schema:
type: string
minLength: 1
maxLength: 2048
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
'/api/v1/folders/{FolderId}/path':
get:
operationId: GetFolderPath
description: 'Retrieves the path information (the hierarchy from the root folder) for the specified folder.
By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names.
' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetFolderPathResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '482': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '483': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '484': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: FolderId in: path required: true description: The ID of the folder. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: limit in: query required: false description: The maximum number of levels in the hierarchy to return. schema: type: integer minimum: 1 maximum: 999 - name: fields in: query required: false description: A comma-separated list of values. Specify "NAME" to include the names of the parent folders. schema: type: string pattern: '[\w,]+' minLength: 1 maxLength: 256 - name: marker in: query required: false description: This value is not supported. schema: type: string minLength: 1 maxLength: 2048 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /api/v1/resources: get: operationId: GetResources description: 'Retrieves a collection of resources, including folders and documents. The onlyCollectionType supported is SHARED_WITH_ME.'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetResourcesResponse'
'480':
description: UnauthorizedResourceAccessException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResourceAccessException'
'481':
description: UnauthorizedOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedOperationException'
'482':
description: InvalidArgumentException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidArgumentException'
'483':
description: FailedDependencyException
content:
application/json:
schema:
$ref: '#/components/schemas/FailedDependencyException'
'484':
description: ServiceUnavailableException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUnavailableException'
parameters:
- name: Authentication
in: header
required: false
description: The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
schema:
type: string
minLength: 1
maxLength: 8199
format: password
- name: userId
in: query
required: false
description: The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.
schema:
type: string
pattern: '[&\w+-.@]+'
minLength: 1
maxLength: 256
- name: collectionType
in: query
required: false
description: The collection type.
schema:
type: string
enum:
- SHARED_WITH_ME
- name: limit
in: query
required: false
description: The maximum number of resources to return.
schema:
type: integer
minimum: 1
maximum: 999
- name: marker
in: query
required: false
description: The marker for the next set of results. This marker was received from a previous call.
schema:
type: string
minLength: 1
maxLength: 2048
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
/api/v1/documents:
post:
operationId: InitiateDocumentVersionUpload
description: 'Creates a new document object and version object.
The client specifies the parent folder ID and name of the document to upload. The ID is optionally specified when creating a new version of an existing document. This is the first step to upload a document. Next, upload the document to the URL returned from the call, and then call UpdateDocumentVersion.
To cancel the document upload, call AbortDocumentVersionUpload.
' responses: '201': description: Success content: application/json: schema: $ref: '#/components/schemas/InitiateDocumentVersionUploadResponse' '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: EntityAlreadyExistsException content: application/json: schema: $ref: '#/components/schemas/EntityAlreadyExistsException' '482': description: StorageLimitExceededException content: application/json: schema: $ref: '#/components/schemas/StorageLimitExceededException' '483': description: StorageLimitWillExceedException content: application/json: schema: $ref: '#/components/schemas/StorageLimitWillExceedException' '484': description: LimitExceededException content: application/json: schema: $ref: '#/components/schemas/LimitExceededException' '485': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' '486': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '487': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '488': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '489': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' '490': description: DraftUploadOutOfSyncException content: application/json: schema: $ref: '#/components/schemas/DraftUploadOutOfSyncException' '491': description: ResourceAlreadyCheckedOutException content: application/json: schema: $ref: '#/components/schemas/ResourceAlreadyCheckedOutException' '492': description: InvalidPasswordException content: application/json: schema: $ref: '#/components/schemas/InvalidPasswordException' '493': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password requestBody: required: true content: application/json: schema: type: object properties: Id: description: The ID of the document. type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 Name: description: The name of the document. type: string pattern: '[\u0020-\u202D\u202F-\uFFFF]+' minLength: 1 maxLength: 255 format: password ContentCreatedTimestamp: description: The timestamp when the content of the document was originally created. type: string format: date-time ContentModifiedTimestamp: description: The timestamp when the content of the document was modified. type: string format: date-time ContentType: description: The content type of the document. type: string minLength: 1 maxLength: 128 DocumentSizeInBytes: description: 'The size of the document, in bytes.' type: integer ParentFolderId: description: The ID of the parent folder. type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/api/v1/resources/{ResourceId}/permissions/{PrincipalId}': delete: operationId: RemoveResourcePermission description: Removes the permission for the specified principal from the specified resource. responses: '204': description: Success '480': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '481': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '482': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '483': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: ResourceId in: path required: true description: The ID of the resource. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 - name: PrincipalId in: path required: true description: The principal ID of the resource. schema: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 - name: type in: query required: false description: The principal type of the resource. schema: type: string enum: - USER - GROUP - INVITE - ANONYMOUS - ORGANIZATION parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/api/v1/documentVersions/restore/{DocumentId}': post: operationId: RestoreDocumentVersions description: Recovers a deleted version of an Amazon WorkDocs document. responses: '204': description: Success '480': description: EntityNotExistsException content: application/json: schema: $ref: '#/components/schemas/EntityNotExistsException' '481': description: ProhibitedStateException content: application/json: schema: $ref: '#/components/schemas/ProhibitedStateException' '482': description: ConflictingOperationException content: application/json: schema: $ref: '#/components/schemas/ConflictingOperationException' '483': description: ConcurrentModificationException content: application/json: schema: $ref: '#/components/schemas/ConcurrentModificationException' '484': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '485': description: FailedDependencyException content: application/json: schema: $ref: '#/components/schemas/FailedDependencyException' '486': description: InvalidOperationException content: application/json: schema: $ref: '#/components/schemas/InvalidOperationException' '487': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: DocumentId in: path required: true description: The ID of the document. schema: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /api/v1/search: post: operationId: SearchResources description: 'Searches metadata and the content of folders, documents, document versions, and comments.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/SearchResourcesResponse' '480': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' '481': description: UnauthorizedResourceAccessException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResourceAccessException' '482': description: UnauthorizedOperationException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedOperationException' '483': description: ServiceUnavailableException content: application/json: schema: $ref: '#/components/schemas/ServiceUnavailableException' parameters: - name: Authentication in: header required: false description: Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. schema: type: string minLength: 1 maxLength: 8199 format: password - name: Limit in: query schema: type: string description: Pagination limit required: false - name: Marker in: query schema: type: string description: Pagination token required: false requestBody: required: true content: application/json: schema: type: object properties: QueryText: description: The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches. type: string pattern: '[\u0020-\uFFFF]+' minLength: 1 maxLength: 512 format: password QueryScopes: description: Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content type: array items: $ref: '#/components/schemas/SearchQueryScopeType' maxItems: 2 OrganizationId: description: Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials. type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 AdditionalResponseFields: description: A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response. type: array items: $ref: '#/components/schemas/AdditionalResponseFieldType' Filters: description: Filters results based on entity metadata. type: object properties: TextLocales: allOf: - $ref: '#/components/schemas/TextLocaleTypeList' - description: Filters by the locale of the content or comment. ContentCategories: allOf: - $ref: '#/components/schemas/SearchContentCategoryTypeList' - description: Filters by content category. ResourceTypes: allOf: - $ref: '#/components/schemas/SearchResourceTypeList' - description: Filters based on entity type. Labels: allOf: - $ref: '#/components/schemas/SearchLabelList' - description: Filter by labels using exact match. Principals: allOf: - $ref: '#/components/schemas/SearchPrincipalTypeList' - description: Filter based on UserIds or GroupIds. AncestorIds: allOf: - $ref: '#/components/schemas/SearchAncestorIdList' - description: Filter based on resource’s path. SearchCollectionTypes: allOf: - $ref: '#/components/schemas/SearchCollectionTypeList' - description: Filter based on file groupings. SizeRange: allOf: - $ref: '#/components/schemas/LongRangeType' - description: Filter based on size (in bytes). CreatedRange: allOf: - $ref: '#/components/schemas/DateRangeType' - description: Filter based on resource’s creation timestamp. ModifiedRange: allOf: - $ref: '#/components/schemas/DateRangeType' - description: Filter based on resource’s modified timestamp. OrderBy: description: Order by results in one or more categories. type: array items: $ref: '#/components/schemas/SearchSortResult' maxItems: 1 Limit: description: Max results count per page. type: integer minimum: 1 maximum: 100 Marker: description: The marker for the next set of results. type: string pattern: '[\d]+' minLength: 1 maxLength: 2048 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' components: parameters: X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 schemas: EntityNotExistsException: {} ProhibitedStateException: {} UnauthorizedOperationException: {} UnauthorizedResourceAccessException: {} FailedDependencyException: {} ServiceUnavailableException: {} ConcurrentModificationException: {} ActivateUserResponse: type: object properties: User: allOf: - $ref: '#/components/schemas/User' - description: The user information. AddResourcePermissionsResponse: type: object properties: ShareResults: allOf: - $ref: '#/components/schemas/ShareResultsList' - description: The share results. SharePrincipal: type: object required: - Id - Type - Role properties: Id: allOf: - $ref: '#/components/schemas/IdType' - description: The ID of the recipient. Type: allOf: - $ref: '#/components/schemas/PrincipalType' - description: The type of the recipient. Role: allOf: - $ref: '#/components/schemas/RoleType' - description: The role of the recipient. description: 'Describes the recipient type and ID, if available.' BooleanType: type: boolean MessageType: type: string minLength: 0 maxLength: 2048 format: password CreateCommentResponse: type: object properties: Comment: allOf: - $ref: '#/components/schemas/Comment' - description: The comment that has been created. DocumentLockedForCommentsException: {} InvalidCommentOperationException: {} CreateCustomMetadataResponse: type: object properties: {} CustomMetadataValueType: type: string pattern: '[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*' minLength: 1 maxLength: 256 CustomMetadataLimitExceededException: {} CreateFolderResponse: type: object properties: Metadata: allOf: - $ref: '#/components/schemas/FolderMetadata' - description: The metadata of the folder. EntityAlreadyExistsException: {} ConflictingOperationException: {} LimitExceededException: {} CreateLabelsResponse: type: object properties: {} SharedLabel: type: string pattern: '[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*' minLength: 1 maxLength: 32 TooManyLabelsException: {} CreateNotificationSubscriptionResponse: type: object properties: Subscription: allOf: - $ref: '#/components/schemas/Subscription' - description: The subscription. TooManySubscriptionsException: {} InvalidArgumentException: {} CreateUserResponse: type: object properties: User: allOf: - $ref: '#/components/schemas/User' - description: The user information. PositiveSizeType: type: integer minimum: 0 StorageType: type: string enum: - UNLIMITED - QUOTA DeleteCustomMetadataResponse: type: object properties: {} CustomMetadataKeyType: type: string pattern: '[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*' minLength: 1 maxLength: 56 InvalidOperationException: {} DeleteLabelsResponse: type: object properties: {} DescribeActivitiesResponse: type: object properties: UserActivities: allOf: - $ref: '#/components/schemas/UserActivities' - description: The list of activities for the specified user and time period. Marker: allOf: - $ref: '#/components/schemas/SearchMarkerType' - description: The marker for the next set of results. DescribeCommentsResponse: type: object properties: Comments: allOf: - $ref: '#/components/schemas/CommentList' - description: The list of comments for the specified document version. Marker: allOf: - $ref: '#/components/schemas/MarkerType' - description: The marker for the next set of results. This marker was received from a previous call. DescribeDocumentVersionsResponse: type: object properties: DocumentVersions: allOf: - $ref: '#/components/schemas/DocumentVersionMetadataList' - description: The document versions. Marker: allOf: - $ref: '#/components/schemas/PageMarkerType' - description: 'The marker to use when requesting the next set of results. If there are no additional results, the string is empty.' InvalidPasswordException: {} DescribeFolderContentsResponse: type: object properties: Folders: allOf: - $ref: '#/components/schemas/FolderMetadataList' - description: The subfolders in the specified folder. Documents: allOf: - $ref: '#/components/schemas/DocumentMetadataList' - description: The documents in the specified folder. Marker: allOf: - $ref: '#/components/schemas/PageMarkerType' - description: 'The marker to use when requesting the next set of results. If there are no additional results, the string is empty.' DescribeGroupsResponse: type: object properties: Groups: allOf: - $ref: '#/components/schemas/GroupMetadataList' - description: The list of groups. Marker: allOf: - $ref: '#/components/schemas/MarkerType' - description: 'The marker to use when requesting the next set of results. If there are no additional results, the string is empty.' DescribeNotificationSubscriptionsResponse: type: object properties: Subscriptions: allOf: - $ref: '#/components/schemas/SubscriptionList' - description: The subscriptions. Marker: allOf: - $ref: '#/components/schemas/PageMarkerType' - description: 'The marker to use when requesting the next set of results. If there are no additional results, the string is empty.' DescribeResourcePermissionsResponse: type: object properties: Principals: allOf: - $ref: '#/components/schemas/PrincipalList' - description: The principals. Marker: allOf: - $ref: '#/components/schemas/PageMarkerType' - description: 'The marker to use when requesting the next set of results. If there are no additional results, the string is empty.' DescribeRootFoldersResponse: type: object properties: Folders: allOf: - $ref: '#/components/schemas/FolderMetadataList' - description: The user's special folders. Marker: allOf: - $ref: '#/components/schemas/PageMarkerType' - description: The marker for the next set of results. DescribeUsersResponse: type: object properties: Users: allOf: - $ref: '#/components/schemas/OrganizationUserList' - description: The users. TotalNumberOfUsers: allOf: - $ref: '#/components/schemas/SizeType' - deprecated: true description: The total number of users included in the results. Marker: allOf: - $ref: '#/components/schemas/PageMarkerType' - description: 'The marker to use when requesting the next set of results. If there are no additional results, the string is empty.' RequestedEntityTooLargeException: {} GetCurrentUserResponse: type: object properties: User: allOf: - $ref: '#/components/schemas/User' - description: Metadata of the user. GetDocumentResponse: type: object properties: Metadata: allOf: - $ref: '#/components/schemas/DocumentMetadata' - description: The metadata details of the document. CustomMetadata: allOf: - $ref: '#/components/schemas/CustomMetadataMap' - description: The custom metadata on the document. GetDocumentPathResponse: type: object properties: Path: allOf: - $ref: '#/components/schemas/ResourcePath' - description: The path information. GetDocumentVersionResponse: type: object properties: Metadata: allOf: - $ref: '#/components/schemas/DocumentVersionMetadata' - description: The version metadata. CustomMetadata: allOf: - $ref: '#/components/schemas/CustomMetadataMap' - description: The custom metadata on the document version. GetFolderResponse: type: object properties: Metadata: allOf: - $ref: '#/components/schemas/FolderMetadata' - description: The metadata of the folder. CustomMetadata: allOf: - $ref: '#/components/schemas/CustomMetadataMap' - description: The custom metadata on the folder. GetFolderPathResponse: type: object properties: Path: allOf: - $ref: '#/components/schemas/ResourcePath' - description: The path information. GetResourcesResponse: type: object properties: Folders: allOf: - $ref: '#/components/schemas/FolderMetadataList' - description: The folders in the specified folder. Documents: allOf: - $ref: '#/components/schemas/DocumentMetadataList' - description: The documents in the specified collection. Marker: allOf: - $ref: '#/components/schemas/PageMarkerType' - description: 'The marker to use when requesting the next set of results. If there are no additional results, the string is empty.' InitiateDocumentVersionUploadResponse: type: object properties: Metadata: allOf: - $ref: '#/components/schemas/DocumentMetadata' - description: The document metadata. UploadMetadata: allOf: - $ref: '#/components/schemas/UploadMetadata' - description: The upload metadata. StorageLimitExceededException: {} StorageLimitWillExceedException: {} DraftUploadOutOfSyncException: {} ResourceAlreadyCheckedOutException: {} SearchResourcesResponse: type: object properties: Items: allOf: - $ref: '#/components/schemas/ResponseItemsList' - description: 'List of Documents, Folders, Comments, and Document Versions matching the query.' Marker: allOf: - $ref: '#/components/schemas/NextMarkerType' - description: 'The marker to use when requesting the next set of results. If there are no additional results, the string is empty.' SearchQueryScopeType: type: string enum: - NAME - CONTENT AdditionalResponseFieldType: type: string enum: - WEBURL TextLocaleTypeList: type: array items: $ref: '#/components/schemas/LanguageCodeType' maxItems: 1 SearchContentCategoryTypeList: type: array items: $ref: '#/components/schemas/ContentCategoryType' maxItems: 9 SearchResourceTypeList: type: array items: $ref: '#/components/schemas/SearchResourceType' maxItems: 4 SearchLabelList: type: array items: $ref: '#/components/schemas/SearchLabel' maxItems: 10 SearchPrincipalTypeList: type: array items: $ref: '#/components/schemas/SearchPrincipalType' maxItems: 10 SearchAncestorIdList: type: array items: $ref: '#/components/schemas/SearchAncestorId' maxItems: 10 SearchCollectionTypeList: type: array items: $ref: '#/components/schemas/SearchCollectionType' maxItems: 2 LongRangeType: type: object properties: StartValue: allOf: - $ref: '#/components/schemas/LongType' - description: The size start range (in bytes). EndValue: allOf: - $ref: '#/components/schemas/LongType' - description: The size end range (in bytes). description: Filter based on size (in bytes). DateRangeType: type: object properties: StartValue: allOf: - $ref: '#/components/schemas/TimestampType' - description: Timestamp range start value (in epochs) EndValue: allOf: - $ref: '#/components/schemas/TimestampType' - description: Timestamp range end value (in epochs). description: Filters results based on timestamp range (in epochs). SearchSortResult: type: object properties: Field: allOf: - $ref: '#/components/schemas/OrderByFieldType' - description: Sort search results based on this field name. Order: allOf: - $ref: '#/components/schemas/SortOrder' - description: Sort direction. description: The result of the sort operation. UpdateUserResponse: type: object properties: User: allOf: - $ref: '#/components/schemas/User' - description: The user information. IllegalUserStateException: {} DeactivatingLastSystemUserException: {} AuthenticationHeaderType: type: string minLength: 1 maxLength: 8199 format: password ResourceIdType: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 DocumentVersionIdType: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 AbortDocumentVersionUploadRequest: type: object title: AbortDocumentVersionUploadRequest properties: {} IdType: type: string pattern: '[&\w+-.@]+' minLength: 1 maxLength: 256 ActivateUserRequest: type: object title: ActivateUserRequest properties: {} User: type: object properties: Id: allOf: - $ref: '#/components/schemas/IdType' - description: The ID of the user. Username: allOf: - $ref: '#/components/schemas/UsernameType' - description: The login name of the user. EmailAddress: allOf: - $ref: '#/components/schemas/EmailAddressType' - description: The email address of the user. GivenName: allOf: - $ref: '#/components/schemas/UserAttributeValueType' - description: The given name of the user. Surname: allOf: - $ref: '#/components/schemas/UserAttributeValueType' - description: The surname of the user. OrganizationId: allOf: - $ref: '#/components/schemas/IdType' - description: The ID of the organization. RootFolderId: allOf: - $ref: '#/components/schemas/ResourceIdType' - description: The ID of the root folder. RecycleBinFolderId: allOf: - $ref: '#/components/schemas/ResourceIdType' - description: The ID of the recycle bin folder. Status: allOf: - $ref: '#/components/schemas/UserStatusType' - description: The status of the user. Type: allOf: - $ref: '#/components/schemas/UserType' - description: The type of user. CreatedTimestamp: allOf: - $ref: '#/components/schemas/TimestampType' - description: The time when the user was created. ModifiedTimestamp: allOf: - $ref: '#/components/schemas/TimestampType' - description: The time when the user was modified. TimeZoneId: allOf: - $ref: '#/components/schemas/TimeZoneIdType' - description: The time zone ID of the user. Locale: allOf: - $ref: '#/components/schemas/LocaleType' - description: The locale of the user. Storage: allOf: - $ref: '#/components/schemas/UserStorageMetadata' - description: The storage for the user. description: Describes a user. ActivityType: type: string enum: - DOCUMENT_CHECKED_IN - DOCUMENT_CHECKED_OUT - DOCUMENT_RENAMED - DOCUMENT_VERSION_UPLOADED - DOCUMENT_VERSION_DELETED - DOCUMENT_VERSION_VIEWED - DOCUMENT_VERSION_DOWNLOADED - DOCUMENT_RECYCLED - DOCUMENT_RESTORED - DOCUMENT_REVERTED - DOCUMENT_SHARED - DOCUMENT_UNSHARED - DOCUMENT_SHARE_PERMISSION_CHANGED - DOCUMENT_SHAREABLE_LINK_CREATED - DOCUMENT_SHAREABLE_LINK_REMOVED - DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED - DOCUMENT_MOVED - DOCUMENT_COMMENT_ADDED - DOCUMENT_COMMENT_DELETED - DOCUMENT_ANNOTATION_ADDED - DOCUMENT_ANNOTATION_DELETED - FOLDER_CREATED - FOLDER_DELETED - FOLDER_RENAMED - FOLDER_RECYCLED - FOLDER_RESTORED - FOLDER_SHARED - FOLDER_UNSHARED - FOLDER_SHARE_PERMISSION_CHANGED - FOLDER_SHAREABLE_LINK_CREATED - FOLDER_SHAREABLE_LINK_REMOVED - FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED - FOLDER_MOVED TimestampType: type: string format: date-time UserMetadata: type: object properties: Id: allOf: - $ref: '#/components/schemas/IdType' - description: The ID of the user. Username: allOf: - $ref: '#/components/schemas/UsernameType' - description: The name of the user. GivenName: allOf: - $ref: '#/components/schemas/UserAttributeValueType' - description: The given name of the user before a rename operation. Surname: allOf: - $ref: '#/components/schemas/UserAttributeValueType' - description: The surname of the user. EmailAddress: allOf: - $ref: '#/components/schemas/EmailAddressType' - description: The email address of the user. description: Describes the metadata of the user. Participants: type: object properties: Users: allOf: - $ref: '#/components/schemas/UserMetadataList' - description: The list of users. Groups: allOf: - $ref: '#/components/schemas/GroupMetadataList' - description: The list of user groups. description: Describes the users or user groups. ResourceMetadata: type: object properties: Type: allOf: - $ref: '#/components/schemas/ResourceType' - description: The type of resource. Name: allOf: - $ref: '#/components/schemas/ResourceNameType' - description: The name of the resource. OriginalName: allOf: - $ref: '#/components/schemas/ResourceNameType' - description: The original name of the resource before a rename operation. Id: allOf: - $ref: '#/components/schemas/ResourceIdType' - description: The ID of the resource. VersionId: allOf: - $ref: '#/components/schemas/DocumentVersionIdType' - description: The version ID of the resource. This is an optional field and is filled for action on document version. Owner: allOf: - $ref: '#/components/schemas/UserMetadata' - description: The owner of the resource. ParentId: allOf: - $ref: '#/components/schemas/ResourceIdType' - description: The parent ID of the resource before a rename operation. description: Describes the metadata of a resource. CommentMetadata: type: object properties: CommentId: allOf: - $ref: '#/components/schemas/CommentIdType' - description: The ID of the comment. Contributor: allOf: - $ref: '#/components/schemas/User' - description: The user who made the comment. CreatedTimestamp: allOf: - $ref: '#/components/schemas/TimestampType' - description: The timestamp that the comment was created. CommentStatus: allOf: - $ref: '#/components/schemas/CommentStatusType' - description: The status of the comment. RecipientId: allOf: - $ref: '#/components/schemas/IdType' - description: The ID of the user being replied to. ContributorId: allOf: - $ref: '#/components/schemas/IdType' - description: The ID of the user who made the comment. description: Describes the metadata of a comment. Activity: type: object properties: Type: allOf: - $ref: '#/components/schemas/ActivityType' - description: The activity type. TimeStamp: allOf: - $ref: '#/components/schemas/TimestampType' - description: The timestamp when the action was performed. IsIndirectActivity: allOf: - $ref: '#/components/schemas/BooleanType' - description: 'Indicates whether an activity is indirect or direct. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).' OrganizationId: allOf: - $ref: '#/components/schemas/IdType' - description: The ID of the organization. Initiator: allOf: - $ref: '#/components/schemas/UserMetadata' - description: The user who performed the action. Participants: allOf: - $ref: '#/components/schemas/Participants' - description: 'The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.' ResourceMetadata: allOf: - $ref: '#/components/schemas/ResourceMetadata' - description: The metadata of the resource involved in the user action. OriginalParent: allOf: - $ref: '#/components/schemas/ResourceMetadata' - description: The original parent of the resource. This is an optional field and is filled for move activities. CommentMetadata: allOf: - $ref: '#/components/schemas/CommentMetadata' - description: Metadata of the commenting activity. This is an optional field and is filled for commenting activities. description: Describes the activity information. ActivityNamesFilterType: type: string pattern: '[\w,]+' minLength: 1 maxLength: 1024 SharePrincipalList: type: array items: $ref: '#/components/schemas/SharePrincipal' NotificationOptions: type: object properties: SendEmail: allOf: - $ref: '#/components/schemas/BooleanType' - description: Boolean value to indicate an email notification should be sent to the recipients. EmailMessage: allOf: - $ref: '#/components/schemas/MessageType' - description: Text value to be included in the email body. description: Set of options which defines notification preferences of given action. AddResourcePermissionsRequest: type: object required: - Principals title: AddResourcePermissionsRequest properties: Principals: allOf: - $ref: '#/components/schemas/SharePrincipalList' - description: 'The users, groups, or organization being granted permission.' NotificationOptions: allOf: - $ref: '#/components/schemas/NotificationOptions' - description: The notification options. ShareResultsList: type: array items: $ref: '#/components/schemas/ShareResult' AdditionalResponseFieldsList: type: array items: $ref: '#/components/schemas/AdditionalResponseFieldType' BooleanEnumType: type: string enum: - 'TRUE' - 'FALSE' CommentIdType: type: string pattern: '[\w+-.@]+' minLength: 1 maxLength: 128 CommentTextType: type: string minLength: 1 maxLength: 2048 format: password CommentStatusType: type: string enum: - DRAFT - PUBLISHED - DELETED CommentVisibilityType: type: string enum: - PUBLIC - PRIVATE Comment: type: object required: - CommentId properties: CommentId: allOf: - $ref: '#/components/schemas/CommentIdType' - description: The ID of the comment. ParentId: allOf: - $ref: '#/components/schemas/CommentIdType' - description: The ID of the parent comment. ThreadId: allOf: - $ref: '#/components/schemas/CommentIdType' - description: The ID of the root comment in the thread. Text: allOf: - $ref: '#/components/schemas/CommentTextType' - description: The text of the comment. Contributor: allOf: - $ref: '#/components/schemas/User' - description: The details of the user who made the comment. CreatedTimestamp: allOf: - $ref: '#/components/schemas/TimestampType' - description: The time that the comment was created. Status: allOf: - $ref: '#/components/schemas/CommentStatusType' - description: The status of the comment. Visibility: allOf: - $ref: '#/components/schemas/CommentVisibilityType' - description: 'The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.' RecipientId: allOf: - $ref: '#/components/schemas/IdType' - description: 'If the comment is a reply to another user''s comment, this field contains the user ID of the user being replied to.' description: Describes a comment. CommentList: type: array items: $ref: '#/components/schemas/Comment' ContentCategoryType: type: string enum: - IMAGE - DOCUMENT - PDF - SPREADSHEET - PRESENTATION - AUDIO - VIDEO - SOURCE_CODE - OTHER CreateCommentRequest: type: object required: - Text title: CreateCommentRequest properties: ParentId: allOf: - $ref: '#/components/schemas/CommentIdType' - description: The ID of the parent comment. ThreadId: allOf: - $ref: '#/components/schemas/CommentIdType' - description: The ID of the root comment in the thread. Text: allOf: - $ref: '#/components/schemas/CommentTextType' - description: The text of the comment. Visibility: allOf: - $ref: '#/components/schemas/CommentVisibilityType' - description: 'The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.' NotifyCollaborators: allOf: - $ref: '#/components/schemas/BooleanType' - description: Set this parameter to TRUE to send an email out to the document collaborators after the comment is created. CustomMetadataMap: type: object minProperties: 1 maxProperties: 8 additionalProperties: $ref: '#/components/schemas/CustomMetadataValueType' CreateCustomMetadataRequest: type: object required: - CustomMetadata title: CreateCustomMetadataRequest properties: CustomMetadata: allOf: - $ref: '#/components/schemas/CustomMetadataMap' - description: Custom metadata in the form of name-value pairs. ResourceNameType: type: string pattern: '[\u0020-\u202D\u202F-\uFFFF]+' minLength: 1 maxLength: 255 format: password CreateFolderRequest: type: object required: - ParentFolderId title: CreateFolderRequest properties: Name: allOf: - $ref: '#/components/schemas/ResourceNameType' - description: The name of the new folder. ParentFolderId: allOf: - $ref: '#/components/schemas/ResourceIdType' - description: The ID of the parent folder. FolderMetadata: type: object properties: Id: allOf: - $ref: '#/components/schemas/ResourceIdType' - description: The ID of the folder. Name: allOf: - $ref: '#/components/schemas/ResourceNameType' - description: The name of the folder. CreatorId: allOf: - $ref: '#/components/schemas/IdType' - description: The ID of the creator. ParentFolderId: allOf: - $ref: '#/components/schemas/ResourceIdType' - description: The ID of the parent folder. CreatedTimestamp: allOf: - $ref: '#/components/schemas/TimestampType' - description: The time when the folder was created. ModifiedTimestamp: allOf: - $ref: '#/components/schemas/TimestampType' - description: The time when the folder was updated. ResourceState: allOf: - $ref: '#/components/schemas/ResourceStateType' - description: The resource state of the folder. Signature: allOf: - $ref: '#/components/schemas/HashType' - description: The unique identifier created from the subfolders and documents of the folder. Labels: allOf: - $ref: '#/components/schemas/SharedLabels' - description: List of labels on the folder. Size: allOf: - $ref: '#/components/schemas/SizeType' - description: The size of the folder metadata. LatestVersionSize: allOf: - $ref: '#/components/schemas/SizeType' - description: The size of the latest version of the folder metadata. description: Describes a folder. SharedLabels: type: array items: $ref: '#/components/schemas/SharedLabel' maxItems: 20 CreateLabelsRequest: type: object required: - Labels title: CreateLabelsRequest properties: Labels: allOf: - $ref: '#/components/schemas/SharedLabels' - description: List of labels to add to the resource. SubscriptionEndPointType: type: string minLength: 1 maxLength: 256 SubscriptionProtocolType: type: string enum: - HTTPS - SQS SubscriptionType: type: string enum: - ALL CreateNotificationSubscriptionRequest: type: object required: - Endpoint - Protocol - SubscriptionType title: CreateNotificationSubscriptionRequest properties: Endpoint: allOf: - $ref: '#/components/schemas/SubscriptionEndPointType' - description: 'The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins withhttps.'
Protocol:
allOf:
- $ref: '#/components/schemas/SubscriptionProtocolType'
- description: 'The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.'
SubscriptionType:
allOf:
- $ref: '#/components/schemas/SubscriptionType'
- description: The notification type.
Subscription:
type: object
properties:
SubscriptionId:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the subscription.
EndPoint:
allOf:
- $ref: '#/components/schemas/SubscriptionEndPointType'
- description: The endpoint of the subscription.
Protocol:
allOf:
- $ref: '#/components/schemas/SubscriptionProtocolType'
- description: The protocol of the subscription.
description: Describes a subscription.
UsernameType:
type: string
pattern: '[\w\-+.]+(@[a-zA-Z0-9.\-]+\.[a-zA-Z]+)?'
minLength: 1
maxLength: 256
format: password
EmailAddressType:
type: string
pattern: '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'
minLength: 1
maxLength: 256
format: password
UserAttributeValueType:
type: string
minLength: 1
maxLength: 64
format: password
PasswordType:
type: string
pattern: '[\u0020-\u00FF]+'
minLength: 4
maxLength: 32
format: password
TimeZoneIdType:
type: string
minLength: 1
maxLength: 256
StorageRuleType:
type: object
properties:
StorageAllocatedInBytes:
allOf:
- $ref: '#/components/schemas/PositiveSizeType'
- description: 'The amount of storage allocated, in bytes.'
StorageType:
allOf:
- $ref: '#/components/schemas/StorageType'
- description: The type of storage.
description: Describes the storage for a user.
CreateUserRequest:
type: object
required:
- Username
- GivenName
- Surname
- Password
title: CreateUserRequest
properties:
OrganizationId:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the organization.
Username:
allOf:
- $ref: '#/components/schemas/UsernameType'
- description: The login name of the user.
EmailAddress:
allOf:
- $ref: '#/components/schemas/EmailAddressType'
- description: The email address of the user.
GivenName:
allOf:
- $ref: '#/components/schemas/UserAttributeValueType'
- description: The given name of the user.
Surname:
allOf:
- $ref: '#/components/schemas/UserAttributeValueType'
- description: The surname of the user.
Password:
allOf:
- $ref: '#/components/schemas/PasswordType'
- description: The password of the user.
TimeZoneId:
allOf:
- $ref: '#/components/schemas/TimeZoneIdType'
- description: The time zone ID of the user.
StorageRule:
allOf:
- $ref: '#/components/schemas/StorageRuleType'
- description: The amount of storage for the user.
CustomMetadataKeyList:
type: array
items:
$ref: '#/components/schemas/CustomMetadataKeyType'
maxItems: 8
DeactivateUserRequest:
type: object
title: DeactivateUserRequest
properties: {}
DeleteCommentRequest:
type: object
title: DeleteCommentRequest
properties: {}
DeleteCustomMetadataRequest:
type: object
title: DeleteCustomMetadataRequest
properties: {}
DeleteDocumentRequest:
type: object
title: DeleteDocumentRequest
properties: {}
DeleteDocumentVersionRequest:
type: object
title: DeleteDocumentVersionRequest
properties: {}
DeleteFolderContentsRequest:
type: object
title: DeleteFolderContentsRequest
properties: {}
DeleteFolderRequest:
type: object
title: DeleteFolderRequest
properties: {}
DeleteLabelsRequest:
type: object
title: DeleteLabelsRequest
properties: {}
DeleteNotificationSubscriptionRequest:
type: object
title: DeleteNotificationSubscriptionRequest
properties: {}
DeleteUserRequest:
type: object
title: DeleteUserRequest
properties: {}
LimitType:
type: integer
minimum: 1
maximum: 999
SearchMarkerType:
type: string
pattern: '[\u0000-\u00FF]+'
minLength: 1
maxLength: 12288
DescribeActivitiesRequest:
type: object
title: DescribeActivitiesRequest
properties: {}
UserActivities:
type: array
items:
$ref: '#/components/schemas/Activity'
MarkerType:
type: string
pattern: '[\u0000-\u00FF]+'
minLength: 1
maxLength: 2048
DescribeCommentsRequest:
type: object
title: DescribeCommentsRequest
properties: {}
PageMarkerType:
type: string
minLength: 1
maxLength: 2048
FieldNamesType:
type: string
pattern: '[\w,]+'
minLength: 1
maxLength: 256
DescribeDocumentVersionsRequest:
type: object
title: DescribeDocumentVersionsRequest
properties: {}
DocumentVersionMetadataList:
type: array
items:
$ref: '#/components/schemas/DocumentVersionMetadata'
ResourceSortType:
type: string
enum:
- DATE
- NAME
OrderType:
type: string
enum:
- ASCENDING
- DESCENDING
FolderContentType:
type: string
enum:
- ALL
- DOCUMENT
- FOLDER
DescribeFolderContentsRequest:
type: object
title: DescribeFolderContentsRequest
properties: {}
FolderMetadataList:
type: array
items:
$ref: '#/components/schemas/FolderMetadata'
DocumentMetadataList:
type: array
items:
$ref: '#/components/schemas/DocumentMetadata'
SearchQueryType:
type: string
pattern: '[\u0020-\uFFFF]+'
minLength: 1
maxLength: 512
format: password
PositiveIntegerType:
type: integer
minimum: 1
DescribeGroupsRequest:
type: object
title: DescribeGroupsRequest
properties: {}
GroupMetadataList:
type: array
items:
$ref: '#/components/schemas/GroupMetadata'
DescribeNotificationSubscriptionsRequest:
type: object
title: DescribeNotificationSubscriptionsRequest
properties: {}
SubscriptionList:
type: array
items:
$ref: '#/components/schemas/Subscription'
maxItems: 256
DescribeResourcePermissionsRequest:
type: object
title: DescribeResourcePermissionsRequest
properties: {}
PrincipalList:
type: array
items:
$ref: '#/components/schemas/Principal'
DescribeRootFoldersRequest:
type: object
title: DescribeRootFoldersRequest
properties: {}
UserIdsType:
type: string
pattern: '[&\w+-.@, ]+'
minLength: 1
maxLength: 2000
UserFilterType:
type: string
enum:
- ALL
- ACTIVE_PENDING
UserSortType:
type: string
enum:
- USER_NAME
- FULL_NAME
- STORAGE_LIMIT
- USER_STATUS
- STORAGE_USED
DescribeUsersRequest:
type: object
title: DescribeUsersRequest
properties: {}
OrganizationUserList:
type: array
items:
$ref: '#/components/schemas/User'
SizeType:
type: integer
DocumentContentType:
type: string
minLength: 1
maxLength: 128
DocumentVersionMetadata:
type: object
properties:
Id:
allOf:
- $ref: '#/components/schemas/DocumentVersionIdType'
- description: The ID of the version.
Name:
allOf:
- $ref: '#/components/schemas/ResourceNameType'
- description: The name of the version.
ContentType:
allOf:
- $ref: '#/components/schemas/DocumentContentType'
- description: The content type of the document.
Size:
allOf:
- $ref: '#/components/schemas/SizeType'
- description: 'The size of the document, in bytes.'
Signature:
allOf:
- $ref: '#/components/schemas/HashType'
- description: The signature of the document.
Status:
allOf:
- $ref: '#/components/schemas/DocumentStatusType'
- description: The status of the document.
CreatedTimestamp:
allOf:
- $ref: '#/components/schemas/TimestampType'
- description: The timestamp when the document was first uploaded.
ModifiedTimestamp:
allOf:
- $ref: '#/components/schemas/TimestampType'
- description: The timestamp when the document was last uploaded.
ContentCreatedTimestamp:
allOf:
- $ref: '#/components/schemas/TimestampType'
- description: The timestamp when the content of the document was originally created.
ContentModifiedTimestamp:
allOf:
- $ref: '#/components/schemas/TimestampType'
- description: The timestamp when the content of the document was modified.
CreatorId:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the creator.
Thumbnail:
allOf:
- $ref: '#/components/schemas/DocumentThumbnailUrlMap'
- description: The thumbnail of the document.
Source:
allOf:
- $ref: '#/components/schemas/DocumentSourceUrlMap'
- description: The source of the document.
description: Describes a version of a document.
ResourceStateType:
type: string
enum:
- ACTIVE
- RESTORING
- RECYCLING
- RECYCLED
DocumentMetadata:
type: object
properties:
Id:
allOf:
- $ref: '#/components/schemas/ResourceIdType'
- description: The ID of the document.
CreatorId:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the creator.
ParentFolderId:
allOf:
- $ref: '#/components/schemas/ResourceIdType'
- description: The ID of the parent folder.
CreatedTimestamp:
allOf:
- $ref: '#/components/schemas/TimestampType'
- description: The time when the document was created.
ModifiedTimestamp:
allOf:
- $ref: '#/components/schemas/TimestampType'
- description: The time when the document was updated.
LatestVersionMetadata:
allOf:
- $ref: '#/components/schemas/DocumentVersionMetadata'
- description: The latest version of the document.
ResourceState:
allOf:
- $ref: '#/components/schemas/ResourceStateType'
- description: The resource state.
Labels:
allOf:
- $ref: '#/components/schemas/SharedLabels'
- description: List of labels on the document.
description: Describes the document.
DocumentSourceType:
type: string
enum:
- ORIGINAL
- WITH_COMMENTS
UrlType:
type: string
minLength: 1
maxLength: 1024
format: password
DocumentSourceUrlMap:
type: object
additionalProperties:
$ref: '#/components/schemas/UrlType'
DocumentStatusType:
type: string
enum:
- INITIALIZED
- ACTIVE
DocumentThumbnailType:
type: string
enum:
- SMALL
- SMALL_HQ
- LARGE
DocumentThumbnailUrlMap:
type: object
additionalProperties:
$ref: '#/components/schemas/UrlType'
HashType:
type: string
pattern: '[&\w+-.@]+'
minLength: 0
maxLength: 128
DocumentVersionStatus:
type: string
enum:
- ACTIVE
Filters:
type: object
properties:
TextLocales:
allOf:
- $ref: '#/components/schemas/TextLocaleTypeList'
- description: Filters by the locale of the content or comment.
ContentCategories:
allOf:
- $ref: '#/components/schemas/SearchContentCategoryTypeList'
- description: Filters by content category.
ResourceTypes:
allOf:
- $ref: '#/components/schemas/SearchResourceTypeList'
- description: Filters based on entity type.
Labels:
allOf:
- $ref: '#/components/schemas/SearchLabelList'
- description: Filter by labels using exact match.
Principals:
allOf:
- $ref: '#/components/schemas/SearchPrincipalTypeList'
- description: Filter based on UserIds or GroupIds.
AncestorIds:
allOf:
- $ref: '#/components/schemas/SearchAncestorIdList'
- description: Filter based on resource’s path.
SearchCollectionTypes:
allOf:
- $ref: '#/components/schemas/SearchCollectionTypeList'
- description: Filter based on file groupings.
SizeRange:
allOf:
- $ref: '#/components/schemas/LongRangeType'
- description: Filter based on size (in bytes).
CreatedRange:
allOf:
- $ref: '#/components/schemas/DateRangeType'
- description: Filter based on resource’s creation timestamp.
ModifiedRange:
allOf:
- $ref: '#/components/schemas/DateRangeType'
- description: Filter based on resource’s modified timestamp.
description: Filters results based on entity metadata.
GetCurrentUserRequest:
type: object
title: GetCurrentUserRequest
properties: {}
GetDocumentPathRequest:
type: object
title: GetDocumentPathRequest
properties: {}
ResourcePath:
type: object
properties:
Components:
allOf:
- $ref: '#/components/schemas/ResourcePathComponentList'
- description: The components of the resource path.
description: Describes the path information of a resource.
GetDocumentRequest:
type: object
title: GetDocumentRequest
properties: {}
GetDocumentVersionRequest:
type: object
title: GetDocumentVersionRequest
properties: {}
GetFolderPathRequest:
type: object
title: GetFolderPathRequest
properties: {}
GetFolderRequest:
type: object
title: GetFolderRequest
properties: {}
ResourceCollectionType:
type: string
enum:
- SHARED_WITH_ME
GetResourcesRequest:
type: object
title: GetResourcesRequest
properties: {}
GroupNameType:
type: string
GroupMetadata:
type: object
properties:
Id:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the user group.
Name:
allOf:
- $ref: '#/components/schemas/GroupNameType'
- description: The name of the group.
description: Describes the metadata of a user group.
HeaderNameType:
type: string
pattern: '[\w-]+'
minLength: 1
maxLength: 256
HeaderValueType:
type: string
minLength: 1
maxLength: 1024
InitiateDocumentVersionUploadRequest:
type: object
title: InitiateDocumentVersionUploadRequest
properties:
Id:
allOf:
- $ref: '#/components/schemas/ResourceIdType'
- description: The ID of the document.
Name:
allOf:
- $ref: '#/components/schemas/ResourceNameType'
- description: The name of the document.
ContentCreatedTimestamp:
allOf:
- $ref: '#/components/schemas/TimestampType'
- description: The timestamp when the content of the document was originally created.
ContentModifiedTimestamp:
allOf:
- $ref: '#/components/schemas/TimestampType'
- description: The timestamp when the content of the document was modified.
ContentType:
allOf:
- $ref: '#/components/schemas/DocumentContentType'
- description: The content type of the document.
DocumentSizeInBytes:
allOf:
- $ref: '#/components/schemas/SizeType'
- description: 'The size of the document, in bytes.'
ParentFolderId:
allOf:
- $ref: '#/components/schemas/ResourceIdType'
- description: The ID of the parent folder.
UploadMetadata:
type: object
properties:
UploadUrl:
allOf:
- $ref: '#/components/schemas/UrlType'
- description: The URL of the upload.
SignedHeaders:
allOf:
- $ref: '#/components/schemas/SignedHeaderMap'
- description: The signed headers.
description: Describes the upload.
LanguageCodeType:
type: string
enum:
- AR
- BG
- BN
- DA
- DE
- CS
- EL
- EN
- ES
- FA
- FI
- FR
- HI
- HU
- ID
- IT
- JA
- KO
- LT
- LV
- NL
- 'NO'
- PT
- RO
- RU
- SV
- SW
- TH
- TR
- ZH
- DEFAULT
LocaleType:
type: string
enum:
- en
- fr
- ko
- de
- es
- ja
- ru
- zh_CN
- zh_TW
- pt_BR
- default
LongType:
type: integer
NextMarkerType:
type: string
pattern: '[\d]+'
minLength: 1
maxLength: 2048
OrderByFieldType:
type: string
enum:
- RELEVANCE
- NAME
- SIZE
- CREATED_TIMESTAMP
- MODIFIED_TIMESTAMP
UserMetadataList:
type: array
items:
$ref: '#/components/schemas/UserMetadata'
RoleType:
type: string
enum:
- VIEWER
- CONTRIBUTOR
- OWNER
- COOWNER
RolePermissionType:
type: string
enum:
- DIRECT
- INHERITED
PermissionInfo:
type: object
properties:
Role:
allOf:
- $ref: '#/components/schemas/RoleType'
- description: The role of the user.
Type:
allOf:
- $ref: '#/components/schemas/RolePermissionType'
- description: The type of permissions.
description: Describes the permissions.
PermissionInfoList:
type: array
items:
$ref: '#/components/schemas/PermissionInfo'
PrincipalType:
type: string
enum:
- USER
- GROUP
- INVITE
- ANONYMOUS
- ORGANIZATION
Principal:
type: object
properties:
Id:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the resource.
Type:
allOf:
- $ref: '#/components/schemas/PrincipalType'
- description: The type of resource.
Roles:
allOf:
- $ref: '#/components/schemas/PermissionInfoList'
- description: The permission information for the resource.
description: Describes a resource.
PrincipalRoleType:
type: string
enum:
- VIEWER
- CONTRIBUTOR
- OWNER
- COOWNER
RemoveAllResourcePermissionsRequest:
type: object
title: RemoveAllResourcePermissionsRequest
properties: {}
RemoveResourcePermissionRequest:
type: object
title: RemoveResourcePermissionRequest
properties: {}
ResourceType:
type: string
enum:
- FOLDER
- DOCUMENT
ResourcePathComponentList:
type: array
items:
$ref: '#/components/schemas/ResourcePathComponent'
ResourcePathComponent:
type: object
properties:
Id:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the resource path.
Name:
allOf:
- $ref: '#/components/schemas/ResourceNameType'
- description: The name of the resource path.
description: Describes the resource path.
ResponseItemType:
type: string
enum:
- DOCUMENT
- FOLDER
- COMMENT
- DOCUMENT_VERSION
ResponseItemWebUrl:
type: string
pattern: '[\u0020-\uFFFF]+'
minLength: 1
maxLength: 512
format: password
ResponseItem:
type: object
properties:
ResourceType:
allOf:
- $ref: '#/components/schemas/ResponseItemType'
- description: The type of item being returned.
WebUrl:
allOf:
- $ref: '#/components/schemas/ResponseItemWebUrl'
- description: The webUrl of the item being returned.
DocumentMetadata:
allOf:
- $ref: '#/components/schemas/DocumentMetadata'
- description: The document that matches the query.
FolderMetadata:
allOf:
- $ref: '#/components/schemas/FolderMetadata'
- description: The folder that matches the query.
CommentMetadata:
allOf:
- $ref: '#/components/schemas/CommentMetadata'
- description: The comment that matches the query.
DocumentVersionMetadata:
allOf:
- $ref: '#/components/schemas/DocumentVersionMetadata'
- description: The document version that matches the metadata.
description: 'List of Documents, Folders, Comments, and Document Versions matching the query.'
ResponseItemsList:
type: array
items:
$ref: '#/components/schemas/ResponseItem'
maxItems: 100
RestoreDocumentVersionsRequest:
type: object
title: RestoreDocumentVersionsRequest
properties: {}
SearchAncestorId:
type: string
minLength: 1
maxLength: 128
SearchCollectionType:
type: string
enum:
- OWNED
- SHARED_WITH_ME
SearchLabel:
type: string
minLength: 1
maxLength: 128
SearchPrincipalRoleList:
type: array
items:
$ref: '#/components/schemas/PrincipalRoleType'
maxItems: 4
SearchPrincipalType:
type: object
required:
- Id
properties:
Id:
allOf:
- $ref: '#/components/schemas/IdType'
- description: UserIds or GroupIds.
Roles:
allOf:
- $ref: '#/components/schemas/SearchPrincipalRoleList'
- description: The Role of a User or Group.
description: Filter based on UserIds or GroupIds.
SearchQueryScopeTypeList:
type: array
items:
$ref: '#/components/schemas/SearchQueryScopeType'
maxItems: 2
SearchResourceType:
type: string
enum:
- FOLDER
- DOCUMENT
- COMMENT
- DOCUMENT_VERSION
SearchResultSortList:
type: array
items:
$ref: '#/components/schemas/SearchSortResult'
maxItems: 1
SearchResultsLimitType:
type: integer
minimum: 1
maximum: 100
SearchResourcesRequest:
type: object
title: SearchResourcesRequest
properties:
QueryText:
allOf:
- $ref: '#/components/schemas/SearchQueryType'
- description: The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches.
QueryScopes:
allOf:
- $ref: '#/components/schemas/SearchQueryScopeTypeList'
- description: Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
OrganizationId:
allOf:
- $ref: '#/components/schemas/IdType'
- description: Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.
AdditionalResponseFields:
allOf:
- $ref: '#/components/schemas/AdditionalResponseFieldsList'
- description: A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
Filters:
allOf:
- $ref: '#/components/schemas/Filters'
- description: Filters results based on entity metadata.
OrderBy:
allOf:
- $ref: '#/components/schemas/SearchResultSortList'
- description: Order by results in one or more categories.
Limit:
allOf:
- $ref: '#/components/schemas/SearchResultsLimitType'
- description: Max results count per page.
Marker:
allOf:
- $ref: '#/components/schemas/NextMarkerType'
- description: The marker for the next set of results.
SortOrder:
type: string
enum:
- ASC
- DESC
ShareStatusType:
type: string
enum:
- SUCCESS
- FAILURE
ShareResult:
type: object
properties:
PrincipalId:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the principal.
InviteePrincipalId:
allOf:
- $ref: '#/components/schemas/IdType'
- description: The ID of the invited user.
Role:
allOf:
- $ref: '#/components/schemas/RoleType'
- description: The role.
Status:
allOf:
- $ref: '#/components/schemas/ShareStatusType'
- description: The status.
ShareId:
allOf:
- $ref: '#/components/schemas/ResourceIdType'
- description: The ID of the resource that was shared.
StatusMessage:
allOf:
- $ref: '#/components/schemas/MessageType'
- description: The status message.
description: Describes the share results of a resource.
SignedHeaderMap:
type: object
additionalProperties:
$ref: '#/components/schemas/HeaderValueType'
UpdateDocumentRequest:
type: object
title: UpdateDocumentRequest
properties:
Name:
allOf:
- $ref: '#/components/schemas/ResourceNameType'
- description: The name of the document.
ParentFolderId:
allOf:
- $ref: '#/components/schemas/ResourceIdType'
- description: The ID of the parent folder.
ResourceState:
allOf:
- $ref: '#/components/schemas/ResourceStateType'
- description: The resource state of the document. Only ACTIVE and RECYCLED are supported.
UpdateDocumentVersionRequest:
type: object
title: UpdateDocumentVersionRequest
properties:
VersionStatus:
allOf:
- $ref: '#/components/schemas/DocumentVersionStatus'
- description: The status of the version.
UpdateFolderRequest:
type: object
title: UpdateFolderRequest
properties:
Name:
allOf:
- $ref: '#/components/schemas/ResourceNameType'
- description: The name of the folder.
ParentFolderId:
allOf:
- $ref: '#/components/schemas/ResourceIdType'
- description: The ID of the parent folder.
ResourceState:
allOf:
- $ref: '#/components/schemas/ResourceStateType'
- description: The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
UserType:
type: string
enum:
- USER
- ADMIN
- POWERUSER
- MINIMALUSER
- WORKSPACESUSER
UpdateUserRequest:
type: object
title: UpdateUserRequest
properties:
GivenName:
allOf:
- $ref: '#/components/schemas/UserAttributeValueType'
- description: The given name of the user.
Surname:
allOf:
- $ref: '#/components/schemas/UserAttributeValueType'
- description: The surname of the user.
Type:
allOf:
- $ref: '#/components/schemas/UserType'
- description: The type of the user.
StorageRule:
allOf:
- $ref: '#/components/schemas/StorageRuleType'
- description: The amount of storage for the user.
TimeZoneId:
allOf:
- $ref: '#/components/schemas/TimeZoneIdType'
- description: The time zone ID of the user.
Locale:
allOf:
- $ref: '#/components/schemas/LocaleType'
- description: The locale of the user.
GrantPoweruserPrivileges:
allOf:
- $ref: '#/components/schemas/BooleanEnumType'
- description: Boolean value to determine whether the user is granted Power user privileges.
UserStatusType:
type: string
enum:
- ACTIVE
- INACTIVE
- PENDING
UserStorageMetadata:
type: object
properties:
StorageUtilizedInBytes:
allOf:
- $ref: '#/components/schemas/SizeType'
- description: 'The amount of storage used, in bytes.'
StorageRule:
allOf:
- $ref: '#/components/schemas/StorageRuleType'
- description: The storage for a user.
description: Describes the storage for a user.
security:
- hmac: []