RESTful API

News

Get newsitems

Returns a set of data items of type newsitems.

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

ShowPhotoCaption

System.Boolean

Read only: False

Category

System.Guid

Read only: False

HideImage

System.Boolean

Read only: False

OpenGraphDescription

System.String

Read only: False

OpenGraphTitle

System.String

Read only: False

FeaturedNews

System.Boolean

Read only: False

CircularYear

System.Decimal

Read only: False

CircularNumber

System.Decimal

Read only: False

Tags

System.Guid

Read only: False

CallToActionText

System.String

Read only: False

CallToActionUrl

System.String

Read only: False

Summary

System.String

Read only: False

Content

System.String

Read only: False

Author

System.String

Read only: False

SourceName

System.String

Read only: False

SourceSite

System.String

Read only: False

Provider

System.String

Read only: True

Resource Format

Response Formats
Copy
application/json
[
  {
    "LastModified": "2024-04-29T15:19:08.7021149Z",
    "PublicationDate": "2024-04-29T15:19:08.7021149Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-04-29T15:19:08.7021149Z",
    "IncludeInSitemap": true,
    "UrlName": "sample string 7",
    "ShowPhotoCaption": true,
    "Category": "d9ef5293-05d2-4943-928d-e53f4d2b3221",
    "HideImage": true,
    "OpenGraphDescription": "sample string 11",
    "OpenGraphTitle": "sample string 12",
    "FeaturedNews": true,
    "CircularYear": 14.0,
    "CircularNumber": 15.0,
    "Tags": "ba97a9ab-595b-4f18-8234-61379e2adb18",
    "CallToActionText": "sample string 17",
    "CallToActionUrl": "sample string 18",
    "Summary": "sample string 19",
    "Content": "sample string 20",
    "Author": "sample string 21",
    "SourceName": "sample string 22",
    "SourceSite": "sample string 23",
    "Provider": "sample string 24"
  },
  {
    "LastModified": "2024-04-29T15:19:08.7021149Z",
    "PublicationDate": "2024-04-29T15:19:08.7021149Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-04-29T15:19:08.7021149Z",
    "IncludeInSitemap": true,
    "UrlName": "sample string 7",
    "ShowPhotoCaption": true,
    "Category": "d9ef5293-05d2-4943-928d-e53f4d2b3221",
    "HideImage": true,
    "OpenGraphDescription": "sample string 11",
    "OpenGraphTitle": "sample string 12",
    "FeaturedNews": true,
    "CircularYear": 14.0,
    "CircularNumber": 15.0,
    "Tags": "ba97a9ab-595b-4f18-8234-61379e2adb18",
    "CallToActionText": "sample string 17",
    "CallToActionUrl": "sample string 18",
    "Summary": "sample string 19",
    "Content": "sample string 20",
    "Author": "sample string 21",
    "SourceName": "sample string 22",
    "SourceSite": "sample string 23",
    "Provider": "sample string 24"
  }
]

Get newsitems by key

Gets newsitems item by id.

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

ShowPhotoCaption

System.Boolean

Read only: False

Category

System.Guid

Read only: False

HideImage

System.Boolean

Read only: False

OpenGraphDescription

System.String

Read only: False

OpenGraphTitle

System.String

Read only: False

FeaturedNews

System.Boolean

Read only: False

CircularYear

System.Decimal

Read only: False

CircularNumber

System.Decimal

Read only: False

Tags

System.Guid

Read only: False

CallToActionText

System.String

Read only: False

CallToActionUrl

System.String

Read only: False

Summary

System.String

Read only: False

Content

System.String

Read only: False

Author

System.String

Read only: False

SourceName

System.String

Read only: False

SourceSite

System.String

Read only: False

Provider

System.String

Read only: True

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2024-04-29T15:19:08.714814Z",
  "PublicationDate": "2024-04-29T15:19:08.714814Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "DateCreated": "2024-04-29T15:19:08.714814Z",
  "IncludeInSitemap": true,
  "UrlName": "sample string 7",
  "ShowPhotoCaption": true,
  "Category": "9b3eba3e-3e60-4a68-b44c-1b1573099705",
  "HideImage": true,
  "OpenGraphDescription": "sample string 11",
  "OpenGraphTitle": "sample string 12",
  "FeaturedNews": true,
  "CircularYear": 14.0,
  "CircularNumber": 15.0,
  "Tags": "071c669c-1e10-4310-bbc3-da8b69c090c5",
  "CallToActionText": "sample string 17",
  "CallToActionUrl": "sample string 18",
  "Summary": "sample string 19",
  "Content": "sample string 20",
  "Author": "sample string 21",
  "SourceName": "sample string 22",
  "SourceSite": "sample string 23",
  "Provider": "sample string 24"
}

Get property

Gets Id property from newsitems item.

Copy GET /api/news/newsitems({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": "06513ba8-2c7a-49f1-8ab2-0a0bdb61fe1f"
}

Post newsitems

Creates a newsitems item.

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

ShowPhotoCaption

System.Boolean

Read only: False

Category

System.Guid

Read only: False

HideImage

System.Boolean

Read only: False

OpenGraphDescription

System.String

Read only: False

OpenGraphTitle

System.String

Read only: False

FeaturedNews

System.Boolean

Read only: False

CircularYear

System.Decimal

Read only: False

CircularNumber

System.Decimal

Read only: False

Tags

System.Guid

Read only: False

CallToActionText

System.String

Read only: False

CallToActionUrl

System.String

Read only: False

Summary

System.String

Read only: False

Content

System.String

Read only: False

Author

System.String

Read only: False

SourceName

System.String

Read only: False

SourceSite

System.String

Read only: False

Provider

System.String

Read only: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-04-29T15:19:08.714814Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "UrlName": "sample string 5",
  "ShowPhotoCaption": true,
  "Category": "12b8549b-e961-4b2b-b2d3-45d1d0d6183b",
  "HideImage": true,
  "OpenGraphDescription": "sample string 9",
  "OpenGraphTitle": "sample string 10",
  "FeaturedNews": true,
  "CircularYear": 12.0,
  "CircularNumber": 13.0,
  "Tags": "bd139286-eef8-4f07-85ba-b215d70559cb",
  "CallToActionText": "sample string 15",
  "CallToActionUrl": "sample string 16",
  "Summary": "sample string 17",
  "Content": "sample string 18",
  "Author": "sample string 19",
  "SourceName": "sample string 20",
  "SourceSite": "sample string 21"
}
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

ShowPhotoCaption

System.Boolean

Read only: False

Category

System.Guid

Read only: False

HideImage

System.Boolean

Read only: False

OpenGraphDescription

System.String

Read only: False

OpenGraphTitle

System.String

Read only: False

FeaturedNews

System.Boolean

Read only: False

CircularYear

System.Decimal

Read only: False

CircularNumber

System.Decimal

Read only: False

Tags

System.Guid

Read only: False

CallToActionText

System.String

Read only: False

CallToActionUrl

System.String

Read only: False

Summary

System.String

Read only: False

Content

System.String

Read only: False

Author

System.String

Read only: False

SourceName

System.String

Read only: False

SourceSite

System.String

Read only: False

Provider

System.String

Read only: True

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2024-04-29T15:19:08.714814Z",
  "PublicationDate": "2024-04-29T15:19:08.714814Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "DateCreated": "2024-04-29T15:19:08.714814Z",
  "IncludeInSitemap": true,
  "UrlName": "sample string 7",
  "ShowPhotoCaption": true,
  "Category": "c2ce8187-674e-4cc5-a33b-305fb33b7186",
  "HideImage": true,
  "OpenGraphDescription": "sample string 11",
  "OpenGraphTitle": "sample string 12",
  "FeaturedNews": true,
  "CircularYear": 14.0,
  "CircularNumber": 15.0,
  "Tags": "eca9bf50-c0df-4d63-84b0-d070dc8d1564",
  "CallToActionText": "sample string 17",
  "CallToActionUrl": "sample string 18",
  "Summary": "sample string 19",
  "Content": "sample string 20",
  "Author": "sample string 21",
  "SourceName": "sample string 22",
  "SourceSite": "sample string 23",
  "Provider": "sample string 24"
}

Patch newsitems by key

Partial update for newsitems item.

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

ShowPhotoCaption

System.Boolean

Read only: False

Category

System.Guid

Read only: False

HideImage

System.Boolean

Read only: False

OpenGraphDescription

System.String

Read only: False

OpenGraphTitle

System.String

Read only: False

FeaturedNews

System.Boolean

Read only: False

CircularYear

System.Decimal

Read only: False

CircularNumber

System.Decimal

Read only: False

Tags

System.Guid

Read only: False

CallToActionText

System.String

Read only: False

CallToActionUrl

System.String

Read only: False

Summary

System.String

Read only: False

Content

System.String

Read only: False

Author

System.String

Read only: False

SourceName

System.String

Read only: False

SourceSite

System.String

Read only: False

Provider

System.String

Read only: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-04-29T15:19:08.714814Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "UrlName": "sample string 5",
  "ShowPhotoCaption": true,
  "Category": "ccfbe467-00e9-44e1-b52a-1064ec6a5c70",
  "HideImage": true,
  "OpenGraphDescription": "sample string 9",
  "OpenGraphTitle": "sample string 10",
  "FeaturedNews": true,
  "CircularYear": 12.0,
  "CircularNumber": 13.0,
  "Tags": "e3608af1-37e3-4073-981f-4fe899948193",
  "CallToActionText": "sample string 15",
  "CallToActionUrl": "sample string 16",
  "Summary": "sample string 17",
  "Content": "sample string 18",
  "Author": "sample string 19",
  "SourceName": "sample string 20",
  "SourceSite": "sample string 21"
}
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 newsitems by key

Full update for newsitems item.

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

ShowPhotoCaption

System.Boolean

Read only: False

Category

System.Guid

Read only: False

HideImage

System.Boolean

Read only: False

OpenGraphDescription

System.String

Read only: False

OpenGraphTitle

System.String

Read only: False

FeaturedNews

System.Boolean

Read only: False

CircularYear

System.Decimal

Read only: False

CircularNumber

System.Decimal

Read only: False

Tags

System.Guid

Read only: False

CallToActionText

System.String

Read only: False

CallToActionUrl

System.String

Read only: False

Summary

System.String

Read only: False

Content

System.String

Read only: False

Author

System.String

Read only: False

SourceName

System.String

Read only: False

SourceSite

System.String

Read only: False

Provider

System.String

Read only: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2024-04-29T15:19:08.714814Z",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "IncludeInSitemap": true,
  "UrlName": "sample string 5",
  "ShowPhotoCaption": true,
  "Category": "4c49e6bc-5ab1-4f98-86ca-61b6e453b2fb",
  "HideImage": true,
  "OpenGraphDescription": "sample string 9",
  "OpenGraphTitle": "sample string 10",
  "FeaturedNews": true,
  "CircularYear": 12.0,
  "CircularNumber": 13.0,
  "Tags": "3f34d84e-d821-4ea0-9c79-60ff3ff5ebba",
  "CallToActionText": "sample string 15",
  "CallToActionUrl": "sample string 16",
  "Summary": "sample string 17",
  "Content": "sample string 18",
  "Author": "sample string 19",
  "SourceName": "sample string 20",
  "SourceSite": "sample string 21"
}
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 newsitems by key

Deletes a newsitems item by Id.

Copy DELETE /api/news/newsitems({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 RelatedDocuments

Returns a set of related items of type RelatedDocuments from newsitems item.

Copy GET /api/news/newsitems({key})/RelatedDocuments
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

Tags

System.Guid

Read only: False

Category

System.Guid

Read only: False

Parts

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.714814Z",
    "PublicationDate": "2024-04-29T15:19:08.714814Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-04-29T15:19:08.714814Z",
    "IncludeInSitemap": true,
    "Ordinal": 7.1,
    "UrlName": "sample string 8",
    "Author": "sample string 9",
    "Extension": "sample string 10",
    "MimeType": "sample string 11",
    "TotalSize": 12,
    "Tags": "1ed5da05-cd3b-45b4-ab74-4c1724cc52ec",
    "Category": "25db2be8-6c05-4793-8218-29c59d369219",
    "Parts": "sample string 15",
    "FolderId": "c66eaaca-f3c2-4230-a0ba-6278fc21d4d1",
    "ParentId": "e4324035-da3b-41c2-bbc5-6208a472067f",
    "Provider": "sample string 18",
    "Url": "sample string 19",
    "ThumbnailUrl": "sample string 20",
    "Thumbnails": {
      "Title": "sample string 1",
      "Url": "sample string 2",
      "Width": 3
    }
  },
  {
    "LastModified": "2024-04-29T15:19:08.714814Z",
    "PublicationDate": "2024-04-29T15:19:08.714814Z",
    "Title": "sample string 3",
    "Description": "sample string 4",
    "DateCreated": "2024-04-29T15:19:08.714814Z",
    "IncludeInSitemap": true,
    "Ordinal": 7.1,
    "UrlName": "sample string 8",
    "Author": "sample string 9",
    "Extension": "sample string 10",
    "MimeType": "sample string 11",
    "TotalSize": 12,
    "Tags": "1ed5da05-cd3b-45b4-ab74-4c1724cc52ec",
    "Category": "25db2be8-6c05-4793-8218-29c59d369219",
    "Parts": "sample string 15",
    "FolderId": "c66eaaca-f3c2-4230-a0ba-6278fc21d4d1",
    "ParentId": "e4324035-da3b-41c2-bbc5-6208a472067f",
    "Provider": "sample string 18",
    "Url": "sample string 19",
    "ThumbnailUrl": "sample string 20",
    "Thumbnails": {
      "Title": "sample string 1",
      "Url": "sample string 2",
      "Width": 3
    }
  }
]

Get RelatedDocuments by relatedKey

Returns a related item of type RelatedDocuments from newsitems item.

Copy GET /api/news/newsitems({key})/RelatedDocuments({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

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

Tags

System.Guid

Read only: False

Category

System.Guid

Read only: False

Parts

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.714814Z",
  "PublicationDate": "2024-04-29T15:19:08.714814Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "DateCreated": "2024-04-29T15:19:08.714814Z",
  "IncludeInSitemap": true,
  "Ordinal": 7.1,
  "UrlName": "sample string 8",
  "Author": "sample string 9",
  "Extension": "sample string 10",
  "MimeType": "sample string 11",
  "TotalSize": 12,
  "Tags": "b8a4dc35-81bb-4d86-82b5-83277b42b2ea",
  "Category": "2f7b8340-920b-42f5-93e2-b43f0c50a6e3",
  "Parts": "sample string 15",
  "FolderId": "e143efa2-cf0e-4e88-ab59-67b2de73c866",
  "ParentId": "577b29b5-8941-4332-8999-c6be3d332ff8",
  "Provider": "sample string 18",
  "Url": "sample string 19",
  "ThumbnailUrl": "sample string 20",
  "Thumbnails": {
    "Title": "sample string 1",
    "Url": "sample string 2",
    "Width": 3
  }
}

Post RelatedDocuments

Add RelatedDocuments relation to newsitems item.

Copy POST /api/news/newsitems({key})/RelatedDocuments/$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 RelatedDocuments

Delete set of related items of type RelatedDocuments from newsitems item.

Copy DELETE /api/news/newsitems({key})/RelatedDocuments/$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 RelatedDocuments by relatedKey

Delete relation of type RelatedDocuments from newsitems item.

Copy DELETE /api/news/newsitems({key})/RelatedDocuments({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.

Get NewsImage

Returns a set of related items of type NewsImage from newsitems item.

Copy GET /api/news/newsitems({key})/NewsImage
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": "25446ada-540e-4fa8-8e4f-a278614d5826",
    "Tags": "b75ac7ba-1be2-4d18-a600-9393a0b7becc",
    "Width": 16,
    "Height": 17,
    "AlternativeText": "sample string 18",
    "FolderId": "104e32fa-e7d9-4b50-9ec7-078586439bce",
    "ParentId": "8b434e8d-0b7a-4d3b-8781-e22f0f904151",
    "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": "25446ada-540e-4fa8-8e4f-a278614d5826",
    "Tags": "b75ac7ba-1be2-4d18-a600-9393a0b7becc",
    "Width": 16,
    "Height": 17,
    "AlternativeText": "sample string 18",
    "FolderId": "104e32fa-e7d9-4b50-9ec7-078586439bce",
    "ParentId": "8b434e8d-0b7a-4d3b-8781-e22f0f904151",
    "Provider": "sample string 21",
    "Url": "sample string 22",
    "ThumbnailUrl": "sample string 23",
    "Thumbnails": {
      "Title": "sample string 1",
      "Url": "sample string 2",
      "Width": 3
    }
  }
]

Get NewsImage by relatedKey

Returns a related item of type NewsImage from newsitems item.

Copy GET /api/news/newsitems({key})/NewsImage({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

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": "ca64e86d-c7b2-4ff2-b818-f994d0bdd5cf",
  "Tags": "4a9eead4-4e0c-4b05-a2ed-967b88771bdc",
  "Width": 16,
  "Height": 17,
  "AlternativeText": "sample string 18",
  "FolderId": "6c27c9e7-fe9a-47fb-9768-3e695118d68f",
  "ParentId": "ad3cd684-f24e-41f7-bd8e-3ae4ae8b1626",
  "Provider": "sample string 21",
  "Url": "sample string 22",
  "ThumbnailUrl": "sample string 23",
  "Thumbnails": {
    "Title": "sample string 1",
    "Url": "sample string 2",
    "Width": 3
  }
}

Post NewsImage

Add NewsImage relation to newsitems item.

Copy POST /api/news/newsitems({key})/NewsImage/$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 NewsImage

Delete set of related items of type NewsImage from newsitems item.

Copy DELETE /api/news/newsitems({key})/NewsImage/$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 NewsImage by relatedKey

Delete relation of type NewsImage from newsitems item.

Copy DELETE /api/news/newsitems({key})/NewsImage({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.

Get OpenGraphImage

Returns a set of related items of type OpenGraphImage from newsitems item.

Copy GET /api/news/newsitems({key})/OpenGraphImage
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": "78071500-d8d1-4ad4-846f-f90f6280ff9f",
    "Tags": "83a3963c-c83f-4879-8fec-6e0e7c2b9bc2",
    "Width": 16,
    "Height": 17,
    "AlternativeText": "sample string 18",
    "FolderId": "4fedb593-857f-47a8-9b56-f7c26f8a71fc",
    "ParentId": "1d33449d-21d0-4c64-ad72-a99cb77a3f50",
    "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": "78071500-d8d1-4ad4-846f-f90f6280ff9f",
    "Tags": "83a3963c-c83f-4879-8fec-6e0e7c2b9bc2",
    "Width": 16,
    "Height": 17,
    "AlternativeText": "sample string 18",
    "FolderId": "4fedb593-857f-47a8-9b56-f7c26f8a71fc",
    "ParentId": "1d33449d-21d0-4c64-ad72-a99cb77a3f50",
    "Provider": "sample string 21",
    "Url": "sample string 22",
    "ThumbnailUrl": "sample string 23",
    "Thumbnails": {
      "Title": "sample string 1",
      "Url": "sample string 2",
      "Width": 3
    }
  }
]

Get OpenGraphImage by relatedKey

Returns a related item of type OpenGraphImage from newsitems item.

Copy GET /api/news/newsitems({key})/OpenGraphImage({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

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": "9c36429c-40d8-4c03-9fd0-df7cfcd062c3",
  "Tags": "1b57ac54-c221-4e31-92f5-dd20de4e0f1c",
  "Width": 16,
  "Height": 17,
  "AlternativeText": "sample string 18",
  "FolderId": "73608d61-bdfd-4432-b380-5f6602169f09",
  "ParentId": "d568dc96-e81c-4008-9dca-16e8fb274356",
  "Provider": "sample string 21",
  "Url": "sample string 22",
  "ThumbnailUrl": "sample string 23",
  "Thumbnails": {
    "Title": "sample string 1",
    "Url": "sample string 2",
    "Width": 3
  }
}

Post OpenGraphImage

Add OpenGraphImage relation to newsitems item.

Copy POST /api/news/newsitems({key})/OpenGraphImage/$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 OpenGraphImage

Delete set of related items of type OpenGraphImage from newsitems item.

Copy DELETE /api/news/newsitems({key})/OpenGraphImage/$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 OpenGraphImage by relatedKey

Delete relation of type OpenGraphImage from newsitems item.

Copy DELETE /api/news/newsitems({key})/OpenGraphImage({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.