Get an Article by ID and language

PropertyDescription
MethodGET
Path/open/v1/spaces/$me/articles/{articleId}
Accept-
Content-Typeapplication/json
DescriptionRetrieves an article from its current revision in the requested language by article ID and language.
  • Request

    • Query

      ParamRequired?DefaultTypeDescriptionExample
      languageO-stringRequested languageko
    • Body

      // (empty)
      
  • Response

    type ArticleView = {
      article: Article
      articleCategory?: {
        articleId: string
        category: Category
      }
      author: Author
      topics: Topic[]
    }
    

Get an Article by Slug and language

PropertyDescription
MethodGET
Path/open/v1/spaces/$me/articles/${slug}
Accept-
Content-Typeapplication/json
DescriptionRetrieves an article from its current revision in the requested language by article slug and language.
  • Request

    • Query

      ParamRequired?DefaultTypeDescriptionExample
      languageO-stringRequested languageko
    • Body

      // (empty)
      
  • Response

    type ArticleView = {
      article: Article
      articleCategory?: {
        articleId: string
        category: Category
      }
      author: Author
      topics: Topic[]
    }
    

Batch Get Articles by IDs and language

PropertyDescription
MethodGET
Path/open/v1/spaces/$me/articles/batch
Accept-
Content-Typeapplication/json
DescriptionRetrieves multiple articles and its current revision in the requested language by article IDs and a language. Can fetch up to 25 articles.
  • Request

    • Query

      ParamRequired?DefaultTypeDescriptionExample
      ids[]O-string[]IDs of articles to fetch.?ids[]=42&ids[]=37
      languageO-stringRequested languageko
    • Body

      // (empty)
      
  • Response

    type ArticlesView = {
      articles: Article[]
      articleCategory: {
        articleId: string
        category: Category
      }[]
      authors: Author[]
      topics: Topic[]
    }
    

List Articles of a Space

PropertyDescription
MethodGET
Path/open/v1/spaces/$me/articles
Accept-
Content-Typeapplication/json
DescriptionRetrieves a paginated list of articles in a space ordered by update timestamp.
  • Request

    • Query

      ParamRequired?DefaultTypeDescriptionExample
      languageO-stringRequested languageko
      limitX25numberUsed for pagination25
      sinceXstringUsed for pagination1707017182188
      orderXasc‘asc’ | 'desc'Sort orderasc
    • Body

      // (empty)
      
  • Response

    type ArticlesListView = {
      articles: Article[]
      articleCategory: {
        articleId: string
        category: Category
      }[]
      authors: Author[]
      topics: Topic[]
      next?: string
    }