GET
/
sign-file-url
curl --request GET \
  --url https://api.plumaa.id/rest/v1/sign-file-url \
  --header 'Authorization: Bearer <token>'
{
  "url": "<any>",
  "key": "<string>"
}

This endpoint returns a signed URL that can be used to upload a file to the server.

The response will return a filePath that can be used to upload the file and a key that identifies the object in the Plumaa ID storage infrastructure.

Using the key, the client can create a signature request by providing the key as the file argument (depending on the content type).

The signed URL is valid for 15 minutes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filePath
string
required
md5Checksum
any
required

Response

200 - application/json

The response is of type object.