RESTful API

Libraries

Get albums

Returns a set of data items of type albums.

Copy GET /api/news/albums
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

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-12-20T18:57:05.5456891Z",
    "PublicationDate": "2024-12-20T18:57:05.5456891Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-12-20T18:57:05.5456891Z",
    "IncludeInSitemap": true,
    "UrlName": "sample string 7",
    "MaxSize": 8,
    "MaxItemSize": 9,
    "BlobStorageProvider": "sample string 10",
    "OutputCacheProfile": "sample string 11",
    "ClientCacheProfile": "sample string 12",
    "CoverId": "0ebc235b-6db0-4fcb-81c9-e8fb47f74023",
    "ThumbnailProfiles": "sample string 14",
    "ResizeOnUpload": true,
    "NewSize": "sample string 16",
    "ParentId": "61a21f48-672c-4999-bd26-2bda4eea5eec",
    "Provider": "sample string 18",
    "ChildrenCount": 19
  },
  {
    "LastModified": "2024-12-20T18:57:05.5456891Z",
    "PublicationDate": "2024-12-20T18:57:05.5456891Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-12-20T18:57:05.5456891Z",
    "IncludeInSitemap": true,
    "UrlName": "sample string 7",
    "MaxSize": 8,
    "MaxItemSize": 9,
    "BlobStorageProvider": "sample string 10",
    "OutputCacheProfile": "sample string 11",
    "ClientCacheProfile": "sample string 12",
    "CoverId": "0ebc235b-6db0-4fcb-81c9-e8fb47f74023",
    "ThumbnailProfiles": "sample string 14",
    "ResizeOnUpload": true,
    "NewSize": "sample string 16",
    "ParentId": "61a21f48-672c-4999-bd26-2bda4eea5eec",
    "Provider": "sample string 18",
    "ChildrenCount": 19
  }
]

Get albums by key

Gets albums item by id.

Copy GET /api/news/albums({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

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-12-20T18:57:05.5456891Z",
  "PublicationDate": "2024-12-20T18:57:05.5456891Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "DateCreated": "2024-12-20T18:57:05.5456891Z",
  "IncludeInSitemap": true,
  "UrlName": "sample string 7",
  "MaxSize": 8,
  "MaxItemSize": 9,
  "BlobStorageProvider": "sample string 10",
  "OutputCacheProfile": "sample string 11",
  "ClientCacheProfile": "sample string 12",
  "CoverId": "95bbc9db-e2e6-4dc4-95e6-457aa06ebf3e",
  "ThumbnailProfiles": "sample string 14",
  "ResizeOnUpload": true,
  "NewSize": "sample string 16",
  "ParentId": "0390af0e-486a-4c25-9d48-29f0e62e6c5f",
  "Provider": "sample string 18",
  "ChildrenCount": 19
}

Get property

Gets Id property from albums item.

Copy GET /api/news/albums({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": "7fa3b468-164c-408a-a449-7cc891cfa429"
}

Post albums

Creates a albums item.

Copy POST /api/news/albums
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

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

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-12-20T18:57:05.5456891Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "UrlName": "sample string 5",
  "MaxSize": 6,
  "MaxItemSize": 7,
  "BlobStorageProvider": "sample string 8",
  "OutputCacheProfile": "sample string 9",
  "ClientCacheProfile": "sample string 10",
  "CoverId": "dae311bb-e40c-4560-8b5d-a8ccb371610d",
  "ThumbnailProfiles": "sample string 12",
  "ResizeOnUpload": true,
  "NewSize": "sample string 14",
  "ParentId": "4d99b474-0af4-4588-bdd9-9898ab1ce795"
}
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

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-12-20T18:57:05.5456891Z",
  "PublicationDate": "2024-12-20T18:57:05.5456891Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "DateCreated": "2024-12-20T18:57:05.5456891Z",
  "IncludeInSitemap": true,
  "UrlName": "sample string 7",
  "MaxSize": 8,
  "MaxItemSize": 9,
  "BlobStorageProvider": "sample string 10",
  "OutputCacheProfile": "sample string 11",
  "ClientCacheProfile": "sample string 12",
  "CoverId": "705f0134-250d-420e-97fc-7eabd252a89b",
  "ThumbnailProfiles": "sample string 14",
  "ResizeOnUpload": true,
  "NewSize": "sample string 16",
  "ParentId": "a8214c26-1ab2-474a-b414-cf9cc1fdc744",
  "Provider": "sample string 18",
  "ChildrenCount": 19
}

Patch albums by key

Partial update for albums item.

Copy PATCH /api/news/albums({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

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

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-12-20T18:57:05.5456891Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "UrlName": "sample string 5",
  "MaxSize": 6,
  "MaxItemSize": 7,
  "BlobStorageProvider": "sample string 8",
  "OutputCacheProfile": "sample string 9",
  "ClientCacheProfile": "sample string 10",
  "CoverId": "b82e12ce-4197-4b66-9f2e-88731528c89a",
  "ThumbnailProfiles": "sample string 12",
  "ResizeOnUpload": true,
  "NewSize": "sample string 14",
  "ParentId": "0a44f82f-3ae4-4cfe-90e9-feea2f309d93"
}
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 albums by key

Full update for albums item.

Copy PUT /api/news/albums({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

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

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-12-20T18:57:05.5456891Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "UrlName": "sample string 5",
  "MaxSize": 6,
  "MaxItemSize": 7,
  "BlobStorageProvider": "sample string 8",
  "OutputCacheProfile": "sample string 9",
  "ClientCacheProfile": "sample string 10",
  "CoverId": "102f904e-b360-486a-bf40-0c6397fa09f3",
  "ThumbnailProfiles": "sample string 12",
  "ResizeOnUpload": true,
  "NewSize": "sample string 14",
  "ParentId": "2a91e41f-46fc-41e1-b9f5-d517c7336985"
}
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 albums by key

Deletes a albums item by Id.

Copy DELETE /api/news/albums({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.