Files

Create File

Create a new file

POST
/shipos/files
x-access-token<token>

In: header

Request Body

application/json

The fields needed to create a file

The fields needed to create a file

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/shipos/files" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "base64": "string"  }'
{  "tags": [    "string"  ],  "team_id": "string",  "processing_status": "PENDING",  "description": "string",  "file_category": "DOCUMENT",  "preview_blur_hash": "string",  "thumbnail_url": "string",  "size": 0.1,  "mimetype": "string",  "url": "string",  "name": "string",  "updated_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "id": "string"}