Skip to main content

Image

Comprehensive information about an image, i.e. all the information about an image

creationDateinteger<int64>required

The entity creation date

Example: 1725989551416
modificationDateinteger<int64>required

The entity last modification date

Example: 1760890442560
idstringrequired

The unique identifier of the image

Possible values: >= 36 characters and <= 36 characters, Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Example: fb6af249-1061-48a0-9e47-026d7428d709
repositoryIdstringrequired

The unique identifier of the repository it belongs to

Possible values: >= 36 characters and <= 36 characters, Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Example: 9aa0820f-6405-4b54-a01a-a6b56489a77f
parentIdstring

The unique identifier of the image parent

Possible values: >= 36 characters and <= 36 characters, Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

namestringrequired

The image name

Possible values: non-empty and <= 512 characters

Example: fileName.png
formatImageFormatrequired

The image format

Possible values: [PNG, JPEG, WEBP, GIF, AVIF, HEIF]

Example: PNG
mimeTypestringrequired

The image MIME type

Possible values: non-empty and <= 32 characters

Example: image/jpeg
uristringrequired

The image URI

Possible values: >= 8 characters and <= 4096 characters, Value must match regular expression file://.*

Example: file:///Users/me/image//path/fileName.png
urlstringrequired

The image URL

Possible values: >= 8 characters and <= 4096 characters, Value must match regular expression file://.*

Example: file:///Users/me/image//path/fileName.png
sourceUrlstring<uri>

The image source URL

Possible values: >= 8 characters and <= 4096 characters, Value must match regular expression ^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]$

Example: https://static1.smartbear.co/swagger/media/assets/images/swagger_logo.svg
sizeInBytesinteger<int64>required

The image size in bytes

Possible values: > 0

dimensions objectrequired

The image dimensions

widthinteger<int32>required

The image width in pixels

Possible values: >= 1

heightinteger<int32>required

The image height in pixels

Possible values: >= 1

fileDates objectrequired

The image file dates

creationDateinteger<int64>required

The entity creation date

Example: 1725989551416
modificationDateinteger<int64>required

The entity last modification date

Example: 1760890442560
metadata objectrequired

The image metadata

allstring

All the image metadata, which is a JSON stringified string

exifstring

The image EXIF metadata, which is a JSON stringified string

iccstring

The image ICC metadata, which is a JSON stringified string

iptcstring

The image IPTC metadata, which is a JSON stringified string

xmpstring

The image XMP metadata, which is a JSON stringified string

tiffTagPhotoshopstring

The image Adobe Photoshop (TIFFTAG_PHOTOSHOP) metadata, which is a JSON stringified string

othersstring

All the others image metadata, which is a JSON stringified string

features object[]required

The image features

  • Array [
  • typeImageFeatureTyperequired

    The image feature type

    Possible values: [caption, description, comment, annotation, metadata, recipe, identity, physics, other]

    Default value: other
    formatImageFeatureFormatrequired

    The image feature format

    Possible values: [string, integer, float, boolean, json, yaml, xml, markdown, html, binary, ui]

    Default value: string
    namestring

    The image feature name

    Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-z0-9A-Z-_.:;|/]{1,128}$

    Example: field
    value objectrequired

    The image feature value

    oneOf
    string

    Possible values: non-empty and <= 524288 characters

    idstringrequired

    The extension identifier

    Possible values: non-empty and <= 32 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,32}$

    Example: extension-id
  • ]
  • tags object[]required

    The image tags

  • Array [
  • idstringrequired

    The extension identifier

    Possible values: non-empty and <= 32 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,32}$

    Example: extension-id
    valuestringrequired

    The image tag value

    Possible values: non-empty and <= 32 characters, Value must match regular expression ^[a-z0-9A-Z-_.:;|/]{1,32}$

    Example: a:relaxed/id
  • ]
  • Image
    {
    "creationDate": 1725989551416,
    "modificationDate": 1760890442560,
    "id": "fb6af249-1061-48a0-9e47-026d7428d709",
    "repositoryId": "9aa0820f-6405-4b54-a01a-a6b56489a77f",
    "parentId": "string",
    "name": "fileName.png",
    "format": "PNG",
    "mimeType": "image/jpeg",
    "uri": "file:///Users/me/image//path/fileName.png",
    "url": "file:///Users/me/image//path/fileName.png",
    "sourceUrl": "https://static1.smartbear.co/swagger/media/assets/images/swagger_logo.svg",
    "sizeInBytes": 0,
    "dimensions": {
    "width": 0,
    "height": 0
    },
    "fileDates": {
    "creationDate": 1725989551416,
    "modificationDate": 1760890442560
    },
    "metadata": {
    "all": "string",
    "exif": "string",
    "icc": "string",
    "iptc": "string",
    "xmp": "string",
    "tiffTagPhotoshop": "string",
    "others": "string"
    },
    "features": [
    {
    "type": "other",
    "format": "string",
    "name": "field",
    "value": "Three women in a flower arrangement",
    "id": "extension-id"
    }
    ],
    "tags": [
    {
    "id": "extension-id",
    "value": "a:relaxed/id"
    }
    ]
    }