Reader API
  1. Authorization - OAuth 2
Reader API
  • Welcome to Omerlo
  • Authorization - OAuth 2
    • Client Credentials flow
      POST
    • Authorization Code flow
      POST
    • Refresh Token flow
      POST
    • Verify oauth user
      POST
    • User info
      GET
  • Accounts
    • User info
      GET
    • User entitlements
      GET
  • Announcements
    • Paginated Announcement list
      GET
    • Announcement by id
      GET
  • Categories
    • Paginated categories list
      GET
    • Category by id
      GET
  • Contents
    • Paginated Contents
      GET
    • Content by id
      GET
  • Devices
    • Register a device
      POST
  • Distributions
    • Releases
      • Paginated Release list
      • Release by id
    • Paginated Distribution list
      GET
    • Distribution by id
      GET
  • Issues
    • Issue by id
      GET
    • List Contents in Issue Section
      GET
    • Search Contents in Issue
      GET
    • Issue Section Blocks by section_id
      GET
  • Oauth Providers
    • List providers
  • Mailer
    • Send email
  • Menus
    • Menu by key
  • Sections
    • Section by id
    • Paginated Contents by Section id
  • Topics
    • List topics
    • Subscribe
    • Unsubscribe
  • Webpages
    • Paginated webpages list
    • Webpage by id
  • Media overview
    GET
  • Schemas
    • ReaderHub
      • Distribution
        • Distribution
        • Distribution (summary)
        • Release
        • Release (summary)
      • Issue
        • Issue
        • Issue (summary)
        • Issue Section
        • Issue Section (summary)
        • SectionContent
        • Issue Block
        • Issue BlockConfiguration (summary)
        • IssueType (summary)
      • Profile
        • ProfileType (summary)
        • Profile (summary)
        • Organization (summary)
        • Person (summary)
      • Content
        • Blocks
          • Block kind Data
          • Block kind HTML
          • Block kind Image
          • Block kind Question
          • Block kind Quote
          • Block kind Related Contents
          • Block kind Richtext
          • Block kind Slideshow
          • Block kind Video
        • Author (summary)
        • Content Template (summary)
        • Content Block
        • Content Block Template (summary)
        • Content
        • Content (summary)
      • Media
        • Announcement
        • Announcement (summary)
        • Menu
        • Menu Item
        • Media Block (summary)
        • Media BlockConfiguration (summary)
        • Media Section
        • Media Section (summary)
        • Topic (summary)
        • Webpage
        • Webpage (summary)
        • Media
      • OauthProviderSummary
    • Common
      • Visual
        • Image
        • Slideshow
        • Video
      • PagingMeta
      • Metadata
      • LocalesMetadata
      • Visual
      • Category
      • Category (summary)
  1. Authorization - OAuth 2

Client Credentials flow

POST
https:/omerlo.com/api/media/v1/oauth/token
This endpoint also supports client_id and client_secret passed as basic authorization or via params
The basic token could be obtain by encoding in base64 the string <client_id>:<client_secret>

Request

Query Params

Header Params

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https/omerlo.com/api/media/v1/oauth/token?grant_type=&scope=user' \
--header 'Authorization: Basic <token>'
Response Response Example
{
    "scope": "user",
    "access_token": "<access-token>",
    "refresh_token": "<refresh-token>",
    "expires_in": 3600,
    "token_type": "Bearer"
}
Previous
Welcome to Omerlo
Next
Authorization Code flow
Built with