Skip to main content

Upload screenshot

POST 

/v2/projects/:projectId/keys/:keyId/screenshots

Upload screenshot

Request

Path Parameters

    keyId int64required
    projectId int64required

Body

    screenshot binaryrequired
    info object
    text string
    positions object[]
  • Array [
  • x int32required
    y int32required
    width int32required
    height int32required
  • ]
  • location string

Responses

Created

Schema
    id int64required
    filename stringrequired

    File name, which may be downloaded from the screenshot path.

    When images are secured. Encrypted timestamp is appended to the filename.

    thumbnail stringrequired

    Thumbnail file name, which may be downloaded from the screenshot path.

    When images are secured. Encrypted timestamp is appended to the filename.

    fileUrl stringrequired
    thumbnailUrl stringrequired
    createdAt date-time
    keyReferences object[]required
  • Array [
  • keyId int64required
    position object
    x int32required
    y int32required
    width int32required
    height int32required
    keyName stringrequired
    keyNamespace string
    originalText string
  • ]
  • location string
    width int32
    height int32
Loading...