Skip to main content
POST
/
domain
/
v1beta1
/
image
cURL
curl --request POST \
  --url https://aodocs.altirnao.com/api/domain/v1beta1/image \
  --header 'Authorization: Bearer <token>'
{
  "expiration": 123,
  "imageUrl": "<string>",
  "kind": "<string>",
  "parameters": {},
  "uploadUrl": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

libraryId
string
required

The ID of the library into which the image will be uploaded

documentId
string

The ID of a document to filter which users can see the image: only users who can see this document will be able to see the image

name
string
required

The name of the file to be uploaded

domain
string

The domain

securityCode
string

The security code

Response

200 - application/json

A ApiImageUploadParameters response

expiration
integer<int64>
imageUrl
string
kind
string
parameters
object
uploadUrl
string