AgentFS

Move or rename a file

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

AgentFS file ID.

Header Parameters

If-Match?string

The ETag of the file version the caller expects.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

PATCH
/v1/files/{id}
curl -X PATCH "https://example.com/v1/files/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "type": "file",  "id": "string",  "name": "string",  "path": "string",  "size_bytes": 0,  "revision": 0,  "visibility": "public",  "url": "http://example.com",  "etag": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}