patch
https://api.seismic.com/integration/v2/teamsites//files/
Updates metadata for a single Library file in a teamsite. Use this endpoint to move a file to another folder, change ownership, update custom properties, set an expiration date, or modify expert assignments. The request body follows the same shape as the GET response, so callers can GET the file, modify the desired fields, and PATCH the result back.
Body Field Definition
- name: The name of the file.
- parentFolderId: The GUID of the file's parent folder. Changing this value will move the file from one folder to another. Use "root" to place files in the root folder of the teamsite.
- ownerId: The userId of the owner of the file.
- experts: A list of experts for this file. A user expert would be in the form
{"type":"user", "id":"the users id"}. A group expert would be in the form{"type":"group", "id":"the group id"}. - description: The description for the file.
- expiresAt: The date the file expires which can only be set to the future. This date does not accept the time component, so should be specified as a UTC YYYY-MM-DD.
- properties: An array of properties and their values where each property is identified by its id such as
{"id": "the property id","values": ["Value A", "Value B"]}. The property name can be included, but will be ignored.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…