JetBrains Space Help

Blogs

Get all articles

get /api/http/blogs/articles

Rights, that may be checked: View articles

Request arguments
$skip : string (Query) ( Nullable and Optional , defaults to null )
$top : integer (format: int32) (Query) ( Nullable and Optional , defaults to 100 )
term : string (Query) ( Nullable and Optional , defaults to null )
dateFrom : string (format: date-time) (Query) ( Nullable and Optional , defaults to null )
dateTo : string (format: date-time) (Query) ( Nullable and Optional , defaults to null )
authorId : string (Query) ( Nullable and Optional , defaults to null )
teamId : string (Query) ( Nullable and Optional , defaults to null )
locationId : string (Query) ( Nullable and Optional , defaults to null )
forProfile : string (Query) ( Nullable and Optional , defaults to null )
Response
object with fields :
  • next : string ( Required )

  • totalCount : integer (format: int32) ( Nullable and Optional , defaults to null )

  • data : array of ArticleRecord ( Required )

Get article

get /api/http/blogs/articles/{id}

Rights, that may be checked: View articles

Request arguments
id : string (Path) ( Required )
Response
ArticleRecord

Publish document to blog

post /api/http/blogs/articles/drafts/{draftId}/publish

Rights, that may be checked: Publish articles

Request arguments
draftId : string (Path) ( Required )
Response
BG_ArticleId

Unpublish the article, but keeps its draft

delete /api/http/blogs/articles/drafts/{draftId}/unpublish

Unpublish the article, but keeps its draft

Rights, that may be checked: Unpublish articles

Request arguments
draftId : string (Path) ( Required )
Response
No arguments
Last modified: 18 November 2020