Reader API
  1. Announcements
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. Announcements

Announcement by id

Testing
GET
https:/omerlo.com/api/media/v1/announcements/{id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Responses

🟢200Success
application/json
Body

🟠400Missing x-omerlo header
🟠401Authorization
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https/omerlo.com/api/media/v1/announcements/' \
--header 'x-omerlo-media-id: {{omerlo_media_id}}' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "data": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "title_html": "string",
        "title_text": "string",
        "subtitle_html": "string",
        "subtitle_text": "string",
        "visual": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "type": "image",
            "url": "http://example.com",
            "gravity": "center",
            "credit": "string",
            "caption_html": "string",
            "caption_text": "string"
        },
        "starts_at": "2019-08-24T14:15:22Z",
        "ends_at": "2019-08-24T14:15:22Z",
        "meta": {
            "locales": {
                "current": "string",
                "available": [
                    "string"
                ]
            }
        },
        "updated_at": "2019-08-24T14:15:22Z"
    }
}
Previous
Paginated Announcement list
Next
Paginated categories list
Built with