Articles

Get articles

GET/v2/articles
Query parameters
Header parameters
Response

Success

Body
Resultsnullable array of Adopto.Common.Api.Dto.ArticleReadonly (object)
Countinteger (int32)
Pageinteger (int32)
PerPageinteger (int32)
PagesAdopto.Common.Api.Dto.Paging.Pages (object)
IdResultsnullable array of Adopto.Common.Api.Dto.ArticleReadonly (object)
OriginalCountnullable integer (int32)
Request
const response = await fetch('/v2/articles', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Results": [
    {
      "Title": "text",
      "Text": "text",
      "MetaDescription": "text",
      "MetaTitle": "text",
      "ImageUrl": "text",
      "Author": {
        "Id": "123e4567-e89b-12d3-a456-426614174000",
        "Name": "text",
        "Email": "text",
        "SenderEmail": "text",
        "Username": "text",
        "Headline": "text",
        "Avatar": "text",
        "Role": "Administrator",
        "InvitationSentTime": "2024-10-14T13:48:30.909Z"
      },
      "LastModifiedBy": {
        "Id": "123e4567-e89b-12d3-a456-426614174000",
        "Name": "text",
        "Email": "text",
        "SenderEmail": "text",
        "Username": "text",
        "Headline": "text",
        "Avatar": "text",
        "Role": "Administrator",
        "InvitationSentTime": "2024-10-14T13:48:30.909Z"
      },
      "AbsoluteUrl": "text",
      "RelativeUrl": "text",
      "Slug": "text",
      "LastModified": "2024-10-14T13:48:30.909Z",
      "Published": "2024-10-14T13:48:30.909Z",
      "Status": "Draft",
      "Tags": [
        "text"
      ],
      "AuthorPublishedFormatted": "text"
    }
  ],
  "Pages": {
    "First": "text",
    "Prev": "text",
    "Next": "text",
    "Last": "text"
  },
  "IdResults": [
    {
      "Title": "text",
      "Text": "text",
      "MetaDescription": "text",
      "MetaTitle": "text",
      "ImageUrl": "text",
      "Author": {
        "Id": "123e4567-e89b-12d3-a456-426614174000",
        "Name": "text",
        "Email": "text",
        "SenderEmail": "text",
        "Username": "text",
        "Headline": "text",
        "Avatar": "text",
        "Role": "Administrator",
        "InvitationSentTime": "2024-10-14T13:48:30.909Z"
      },
      "LastModifiedBy": {
        "Id": "123e4567-e89b-12d3-a456-426614174000",
        "Name": "text",
        "Email": "text",
        "SenderEmail": "text",
        "Username": "text",
        "Headline": "text",
        "Avatar": "text",
        "Role": "Administrator",
        "InvitationSentTime": "2024-10-14T13:48:30.909Z"
      },
      "AbsoluteUrl": "text",
      "RelativeUrl": "text",
      "Slug": "text",
      "LastModified": "2024-10-14T13:48:30.909Z",
      "Published": "2024-10-14T13:48:30.909Z",
      "Status": "Draft",
      "Tags": [
        "text"
      ],
      "AuthorPublishedFormatted": "text"
    }
  ]
}

Get article

GET/v2/articles/{id}
Path parameters
id*integer (int32)
Header parameters
Response

Success

Body
Idinteger (int32)
Titlenullable string
Textnullable string
MetaDescriptionnullable string
MetaTitlenullable string
ImageUrlnullable string
AuthorAdopto.Common.Dto.Common.MemberDto (object)
LastModifiedByAdopto.Common.Dto.Common.MemberDto (object)
AbsoluteUrlnullable string
RelativeUrlnullable string
Slugnullable string
LastModifiedstring (date-time)
Publishednullable string (date-time)
StatusTalentLyft.Data.Enumerators.ConvertStatusTypes (enum)
DraftPublishedArchived
Tagsnullable array of string
AuthorPublishedFormattednullable string
Request
const response = await fetch('/v2/articles/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Title": "text",
  "Text": "text",
  "MetaDescription": "text",
  "MetaTitle": "text",
  "ImageUrl": "text",
  "Author": {
    "Id": "123e4567-e89b-12d3-a456-426614174000",
    "Name": "text",
    "Email": "text",
    "SenderEmail": "text",
    "Username": "text",
    "Headline": "text",
    "Avatar": "text",
    "Role": "Administrator",
    "InvitationSentTime": "2024-10-14T13:48:30.909Z"
  },
  "LastModifiedBy": {
    "Id": "123e4567-e89b-12d3-a456-426614174000",
    "Name": "text",
    "Email": "text",
    "SenderEmail": "text",
    "Username": "text",
    "Headline": "text",
    "Avatar": "text",
    "Role": "Administrator",
    "InvitationSentTime": "2024-10-14T13:48:30.909Z"
  },
  "AbsoluteUrl": "text",
  "RelativeUrl": "text",
  "Slug": "text",
  "LastModified": "2024-10-14T13:48:30.909Z",
  "Published": "2024-10-14T13:48:30.909Z",
  "Status": "Draft",
  "Tags": [
    "text"
  ],
  "AuthorPublishedFormatted": "text"
}

Last updated