- Required for
The CheckContainerInfo operation is similar to the the CheckFileInfo operation, but operates on containers instead of files. CheckContainerInfo returns information about a container and a user’s permissions on that container.
container_id (string) – A string that specifies a container ID of a container managed by host. This string must be URL safe.
- Query Parameters
access_token (string) – An access token that the host will use to determine whether the request is authorized.
- Status Codes
The response to a CheckContainerInfo call is JSON (as specified in RFC 4627).
All optional values default to the following values based on their type:
The empty string
Varies; see individual properties for details
No properties should be set to
null. If you do not wish to set a property, simply omit it from
the response and WOPI clients will use the default value.
Required response properties¶
The following properties must be present in all CheckContainerInfo responses:
The name of the container without a path. This value will be displayed in the WOPI client UI.
Other response properties¶
A URI to a webpage for the container.
New in version 2017.02.15.
An array of strings containing the Share URL types supported by the host. The types indicate the sharing options available for the container itself and not on the files in the container.
These types can be passed in the X-WOPI-UrlType request header to signify which Share URL type to return for the GetShareUrl (containers) operation.
This type of Share URL allows users to view the container using the URL, but does not give them permission to make changes to the container.
This type of Share URL allows users to both view and make changes to the container using the URL.
A Boolean value that indicates the user has permission to create a new container in the container.
A Boolean value that indicates the user has permission to create a new file in the container.
A Boolean value that indicates the user has permission to delete the container.
A Boolean value that indicates the user has permission to rename the container.