Resources

Get an upload URL for a resource attachment

post/v1/resources/{resourceId}/attachments/upload-url

Request

  • Base URL: https://api.workwing.io
  • URL: https://api.workwing.io/v1/resources/{resourceId}/attachments/upload-url
  • Auth: HTTP bearer

Path parameters

resourceIdstring required

Headers

Idempotency-Keystring required

Unique per write, 1-256 printable ASCII characters. Retrying with the same key and the same request replays the original response for 24 hours. See Idempotency.

Request body

file_namestring required
file_typestring required
file_sizeinteger required

Response

Default Response

Changes

No recorded changes to this operation across all 1 revision of this API.