RESTful API

Images

Get images

Returns a set of data items of type images.

Copy GET /api/news/images
Request Informaion

URI Parameters

None

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True

PublicationDate

System.DateTimeOffset

Read only: False

Title

System.String

Read only: False

Description

System.String

Read only: False

DateCreated

System.DateTimeOffset

Read only: True

IncludeInSitemap

System.Boolean

Read only: False

Ordinal

System.Single

Read only: False

UrlName

System.String

Read only: False

Author

System.String

Read only: False

Extension

System.String

Read only: True

MimeType

System.String

Read only: True

TotalSize

System.Int64

Read only: True

LongTextCaption

System.String

Read only: False

Category

System.Guid

Read only: False

Tags

System.Guid

Read only: False

Width

System.Int32

Read only: True

Height

System.Int32

Read only: True

AlternativeText

System.String

Read only: False

FolderId

System.Guid

Read only: False

ParentId

System.Guid

Read only: False

Provider

System.String

Read only: True

Url

System.String

Read only: True

ThumbnailUrl

System.String

Read only: True

Thumbnails

Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel

Read only: True

Resource Format

Response Formats
Copy
application/json
[
  {
    "LastModified": "2024-04-29T15:19:08.7304726Z",
    "PublicationDate": "2024-04-29T15:19:08.7304726Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-04-29T15:19:08.7304726Z",
    "IncludeInSitemap": true,
    "Ordinal": 7.1,
    "UrlName": "sample string 8",
    "Author": "sample string 9",
    "Extension": "sample string 10",
    "MimeType": "sample string 11",
    "TotalSize": 12,
    "LongTextCaption": "sample string 13",
    "Category": "e915b46e-dff6-484b-b180-67f3a772496f",
    "Tags": "1137fada-ef32-4c91-8c79-fb23314e79b2",
    "Width": 16,
    "Height": 17,
    "AlternativeText": "sample string 18",
    "FolderId": "6dea7517-d536-4612-bd24-51907596f25f",
    "ParentId": "b3624edc-c239-4b68-9471-ae9b274a78c5",
    "Provider": "sample string 21",
    "Url": "sample string 22",
    "ThumbnailUrl": "sample string 23",
    "Thumbnails": {
      "Title": "sample string 1",
      "Url": "sample string 2",
      "Width": 3
    }
  },
  {
    "LastModified": "2024-04-29T15:19:08.7304726Z",
    "PublicationDate": "2024-04-29T15:19:08.7304726Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-04-29T15:19:08.7304726Z",
    "IncludeInSitemap": true,
    "Ordinal": 7.1,
    "UrlName": "sample string 8",
    "Author": "sample string 9",
    "Extension": "sample string 10",
    "MimeType": "sample string 11",
    "TotalSize": 12,
    "LongTextCaption": "sample string 13",
    "Category": "e915b46e-dff6-484b-b180-67f3a772496f",
    "Tags": "1137fada-ef32-4c91-8c79-fb23314e79b2",
    "Width": 16,
    "Height": 17,
    "AlternativeText": "sample string 18",
    "FolderId": "6dea7517-d536-4612-bd24-51907596f25f",
    "ParentId": "b3624edc-c239-4b68-9471-ae9b274a78c5",
    "Provider": "sample string 21",
    "Url": "sample string 22",
    "ThumbnailUrl": "sample string 23",
    "Thumbnails": {
      "Title": "sample string 1",
      "Url": "sample string 2",
      "Width": 3
    }
  }
]

Get images by key

Gets images item by id.

Copy GET /api/news/images({key})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True

PublicationDate

System.DateTimeOffset

Read only: False

Title

System.String

Read only: False

Description

System.String

Read only: False

DateCreated

System.DateTimeOffset

Read only: True

IncludeInSitemap

System.Boolean

Read only: False

Ordinal

System.Single

Read only: False

UrlName

System.String

Read only: False

Author

System.String

Read only: False

Extension

System.String

Read only: True

MimeType

System.String

Read only: True

TotalSize

System.Int64

Read only: True

LongTextCaption

System.String

Read only: False

Category

System.Guid

Read only: False

Tags

System.Guid

Read only: False

Width

System.Int32

Read only: True

Height

System.Int32

Read only: True

AlternativeText

System.String

Read only: False

FolderId

System.Guid

Read only: False

ParentId

System.Guid

Read only: False

Provider

System.String

Read only: True

Url

System.String

Read only: True

ThumbnailUrl

System.String

Read only: True

Thumbnails

Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel

Read only: True

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2024-04-29T15:19:08.7304726Z",
  "PublicationDate": "2024-04-29T15:19:08.7304726Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "DateCreated": "2024-04-29T15:19:08.7304726Z",
  "IncludeInSitemap": true,
  "Ordinal": 7.1,
  "UrlName": "sample string 8",
  "Author": "sample string 9",
  "Extension": "sample string 10",
  "MimeType": "sample string 11",
  "TotalSize": 12,
  "LongTextCaption": "sample string 13",
  "Category": "22e5f4b6-82b9-4f53-9bcb-09b8a3c3b8c1",
  "Tags": "fa1c0aa0-36ed-40ab-916a-6afda3a6829a",
  "Width": 16,
  "Height": 17,
  "AlternativeText": "sample string 18",
  "FolderId": "0b686129-115c-48fe-a61a-68561ffff168",
  "ParentId": "bd10de5c-11c6-4627-81c3-b088c2f84543",
  "Provider": "sample string 21",
  "Url": "sample string 22",
  "ThumbnailUrl": "sample string 23",
  "Thumbnails": {
    "Title": "sample string 1",
    "Url": "sample string 2",
    "Width": 3
  }
}

Get property

Gets Id property from images item.

Copy GET /api/news/images({key})/property
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

property

System.String

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Name Description Type Additional Information
Id

System.Guid

Read only: False

Resource Format

Response Formats
Copy
application/json
{
  "Id": "8401f1de-52c0-421a-9f0c-6c4501cb1830"
}

Post images

Creates a images item.

Copy POST /api/news/images
Request Informaion

URI Parameters

None

Body Parameters

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True

PublicationDate

System.DateTimeOffset

Read only: False

Title

System.String

Read only: False

Description

System.String

Read only: False

DateCreated

System.DateTimeOffset

Read only: True

IncludeInSitemap

System.Boolean

Read only: False

Ordinal

System.Single

Read only: False

UrlName

System.String

Read only: False

Author

System.String

Read only: False

Extension

System.String

Read only: True

MimeType

System.String

Read only: True

TotalSize

System.Int64

Read only: True

LongTextCaption

System.String

Read only: False

Category

System.Guid

Read only: False

Tags

System.Guid

Read only: False

Width

System.Int32

Read only: True

Height

System.Int32

Read only: True

AlternativeText

System.String

Read only: False

FolderId

System.Guid

Read only: False

ParentId

System.Guid

Read only: False

Provider

System.String

Read only: True

Url

System.String

Read only: True

ThumbnailUrl

System.String

Read only: True

Thumbnails

Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel

Read only: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-04-29T15:19:08.7304726Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "Ordinal": 5.1,
  "UrlName": "sample string 6",
  "Author": "sample string 7",
  "LongTextCaption": "sample string 8",
  "Category": "8362ead4-f0fd-49db-aa20-9c7db375cde8",
  "Tags": "f57f3ec9-3102-460c-b719-924a8599a50d",
  "AlternativeText": "sample string 11",
  "FolderId": "5d895212-5570-4a2e-885e-2a8b9232e901",
  "ParentId": "b9401679-5109-4f6b-9926-d7a3bb606123"
}
Response Informaion

Resource Description

Method can return success code: Created - 201 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True

PublicationDate

System.DateTimeOffset

Read only: False

Title

System.String

Read only: False

Description

System.String

Read only: False

DateCreated

System.DateTimeOffset

Read only: True

IncludeInSitemap

System.Boolean

Read only: False

Ordinal

System.Single

Read only: False

UrlName

System.String

Read only: False

Author

System.String

Read only: False

Extension

System.String

Read only: True

MimeType

System.String

Read only: True

TotalSize

System.Int64

Read only: True

LongTextCaption

System.String

Read only: False

Category

System.Guid

Read only: False

Tags

System.Guid

Read only: False

Width

System.Int32

Read only: True

Height

System.Int32

Read only: True

AlternativeText

System.String

Read only: False

FolderId

System.Guid

Read only: False

ParentId

System.Guid

Read only: False

Provider

System.String

Read only: True

Url

System.String

Read only: True

ThumbnailUrl

System.String

Read only: True

Thumbnails

Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel

Read only: True

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2024-04-29T15:19:08.7304726Z",
  "PublicationDate": "2024-04-29T15:19:08.7304726Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "DateCreated": "2024-04-29T15:19:08.7304726Z",
  "IncludeInSitemap": true,
  "Ordinal": 7.1,
  "UrlName": "sample string 8",
  "Author": "sample string 9",
  "Extension": "sample string 10",
  "MimeType": "sample string 11",
  "TotalSize": 12,
  "LongTextCaption": "sample string 13",
  "Category": "9b8c1442-721b-49e7-9090-cbd19b5b09db",
  "Tags": "53628a0f-4393-41e6-ab3a-143407b5fa77",
  "Width": 16,
  "Height": 17,
  "AlternativeText": "sample string 18",
  "FolderId": "45392436-397f-418e-8cd8-51cb37b420e0",
  "ParentId": "7f641737-e38e-4db4-8135-f47c9d33b4dd",
  "Provider": "sample string 21",
  "Url": "sample string 22",
  "ThumbnailUrl": "sample string 23",
  "Thumbnails": {
    "Title": "sample string 1",
    "Url": "sample string 2",
    "Width": 3
  }
}

Patch images by key

Partial update for images item.

Copy PATCH /api/news/images({key})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True

PublicationDate

System.DateTimeOffset

Read only: False

Title

System.String

Read only: False

Description

System.String

Read only: False

DateCreated

System.DateTimeOffset

Read only: True

IncludeInSitemap

System.Boolean

Read only: False

Ordinal

System.Single

Read only: False

UrlName

System.String

Read only: False

Author

System.String

Read only: False

Extension

System.String

Read only: True

MimeType

System.String

Read only: True

TotalSize

System.Int64

Read only: True

LongTextCaption

System.String

Read only: False

Category

System.Guid

Read only: False

Tags

System.Guid

Read only: False

Width

System.Int32

Read only: True

Height

System.Int32

Read only: True

AlternativeText

System.String

Read only: False

FolderId

System.Guid

Read only: False

ParentId

System.Guid

Read only: False

Provider

System.String

Read only: True

Url

System.String

Read only: True

ThumbnailUrl

System.String

Read only: True

Thumbnails

Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel

Read only: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-04-29T15:19:08.7304726Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "Ordinal": 5.1,
  "UrlName": "sample string 6",
  "Author": "sample string 7",
  "LongTextCaption": "sample string 8",
  "Category": "4f147a53-3aff-4970-ae94-fa7b34c694e1",
  "Tags": "f2c521e0-70a0-4b98-b568-e58e118c8e9c",
  "AlternativeText": "sample string 11",
  "FolderId": "0b2cd4ad-e832-45c7-ab3b-4277431e692a",
  "ParentId": "3053e405-8906-4a22-95a7-20f33feb7885"
}
Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Put images by key

Full update for images item.

Copy PUT /api/news/images({key})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True

PublicationDate

System.DateTimeOffset

Read only: False

Title

System.String

Read only: False

Description

System.String

Read only: False

DateCreated

System.DateTimeOffset

Read only: True

IncludeInSitemap

System.Boolean

Read only: False

Ordinal

System.Single

Read only: False

UrlName

System.String

Read only: False

Author

System.String

Read only: False

Extension

System.String

Read only: True

MimeType

System.String

Read only: True

TotalSize

System.Int64

Read only: True

LongTextCaption

System.String

Read only: False

Category

System.Guid

Read only: False

Tags

System.Guid

Read only: False

Width

System.Int32

Read only: True

Height

System.Int32

Read only: True

AlternativeText

System.String

Read only: False

FolderId

System.Guid

Read only: False

ParentId

System.Guid

Read only: False

Provider

System.String

Read only: True

Url

System.String

Read only: True

ThumbnailUrl

System.String

Read only: True

Thumbnails

Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel

Read only: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-04-29T15:19:08.7304726Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "Ordinal": 5.1,
  "UrlName": "sample string 6",
  "Author": "sample string 7",
  "LongTextCaption": "sample string 8",
  "Category": "6ebf33a1-9086-4eba-844e-9c6c0ee1b1c1",
  "Tags": "64429e63-eef7-4d27-8f2a-278bce17ce90",
  "AlternativeText": "sample string 11",
  "FolderId": "76e09b20-82c8-47c2-85c3-f28b1846605b",
  "ParentId": "70518f67-1136-4443-92b9-13cc8f3d38a7"
}
Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Delete images by key

Deletes a images item by Id.

Copy DELETE /api/news/images({key})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Get Parent

Returns a set of related items of type Parent from images item.

Copy GET /api/news/images({key})/Parent
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True

PublicationDate

System.DateTimeOffset

Read only: False

Title

System.String

Read only: False

Description

System.String

Read only: False

DateCreated

System.DateTimeOffset

Read only: True

IncludeInSitemap

System.Boolean

Read only: False

UrlName

System.String

Read only: False

MaxSize

System.Int64

Read only: False

MaxItemSize

System.Int64

Read only: False

BlobStorageProvider

System.String

Read only: False

OutputCacheProfile

System.String

Read only: False

ClientCacheProfile

System.String

Read only: False

CoverId

System.Guid

Read only: False

ThumbnailProfiles

System.String

Read only: False

ResizeOnUpload

System.Boolean

Read only: False

NewSize

System.String

Read only: False

ParentId

System.Guid

Read only: False

Provider

System.String

Read only: True

ChildrenCount

System.Int32

Read only: True

Resource Format

Response Formats
Copy
application/json
[
  {
    "LastModified": "2024-04-29T15:19:08.7304726Z",
    "PublicationDate": "2024-04-29T15:19:08.7304726Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-04-29T15:19:08.7304726Z",
    "IncludeInSitemap": true,
    "UrlName": "sample string 7",
    "MaxSize": 8,
    "MaxItemSize": 9,
    "BlobStorageProvider": "sample string 10",
    "OutputCacheProfile": "sample string 11",
    "ClientCacheProfile": "sample string 12",
    "CoverId": "9b1203f1-feda-44f8-ad98-7511238281b3",
    "ThumbnailProfiles": "sample string 14",
    "ResizeOnUpload": true,
    "NewSize": "sample string 16",
    "ParentId": "0d7668b9-17d3-44e3-899f-464de8fa3d18",
    "Provider": "sample string 18",
    "ChildrenCount": 19
  },
  {
    "LastModified": "2024-04-29T15:19:08.7304726Z",
    "PublicationDate": "2024-04-29T15:19:08.7304726Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-04-29T15:19:08.7304726Z",
    "IncludeInSitemap": true,
    "UrlName": "sample string 7",
    "MaxSize": 8,
    "MaxItemSize": 9,
    "BlobStorageProvider": "sample string 10",
    "OutputCacheProfile": "sample string 11",
    "ClientCacheProfile": "sample string 12",
    "CoverId": "9b1203f1-feda-44f8-ad98-7511238281b3",
    "ThumbnailProfiles": "sample string 14",
    "ResizeOnUpload": true,
    "NewSize": "sample string 16",
    "ParentId": "0d7668b9-17d3-44e3-899f-464de8fa3d18",
    "Provider": "sample string 18",
    "ChildrenCount": 19
  }
]

Get Parent by relatedKey

Returns a related item of type Parent from images item.

Copy GET /api/news/images({key})/Parent({relatedKey})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

relatedKey

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True

PublicationDate

System.DateTimeOffset

Read only: False

Title

System.String

Read only: False

Description

System.String

Read only: False

DateCreated

System.DateTimeOffset

Read only: True

IncludeInSitemap

System.Boolean

Read only: False

UrlName

System.String

Read only: False

MaxSize

System.Int64

Read only: False

MaxItemSize

System.Int64

Read only: False

BlobStorageProvider

System.String

Read only: False

OutputCacheProfile

System.String

Read only: False

ClientCacheProfile

System.String

Read only: False

CoverId

System.Guid

Read only: False

ThumbnailProfiles

System.String

Read only: False

ResizeOnUpload

System.Boolean

Read only: False

NewSize

System.String

Read only: False

ParentId

System.Guid

Read only: False

Provider

System.String

Read only: True

ChildrenCount

System.Int32

Read only: True

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2024-04-29T15:19:08.7304726Z",
  "PublicationDate": "2024-04-29T15:19:08.7304726Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "DateCreated": "2024-04-29T15:19:08.7304726Z",
  "IncludeInSitemap": true,
  "UrlName": "sample string 7",
  "MaxSize": 8,
  "MaxItemSize": 9,
  "BlobStorageProvider": "sample string 10",
  "OutputCacheProfile": "sample string 11",
  "ClientCacheProfile": "sample string 12",
  "CoverId": "1e07ad6c-ab3a-4152-abd3-c2f801c3a520",
  "ThumbnailProfiles": "sample string 14",
  "ResizeOnUpload": true,
  "NewSize": "sample string 16",
  "ParentId": "6f07ee97-4431-4a01-84d5-ff932e85d6ca",
  "Provider": "sample string 18",
  "ChildrenCount": 19
}

Post Parent

Add Parent relation to images item.

Copy POST /api/news/images({key})/Parent/$ref
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats
Copy
application/json
{
  "@odata.id": "http://host/route/service/type(key)"
}
Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Delete Parent

Delete set of related items of type Parent from images item.

Copy DELETE /api/news/images({key})/Parent/$ref
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Delete Parent by relatedKey

Delete relation of type Parent from images item.

Copy DELETE /api/news/images({key})/Parent({relatedKey})/$ref
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

relatedKey

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.