Reader API
  1. Menus
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
      GET
  • 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. Menus

Menu by key

Developing
GET
https:/omerlo.com/api/media/v1/menus/{key}

Request

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

Responses

🟢200Success
application/json
Body

🟠400Missing x-omerlo header
🟠401Authorization
🟠404Entity not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https/omerlo.com/api/media/v1/menus/main_menu' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "data": {
        "id": "string",
        "key": "string",
        "name": "string",
        "meta": {
            "locales": {
                "current": "string",
                "available": [
                    "string"
                ]
            }
        },
        "items": [
            {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "name": "string",
                "items": [
                    {}
                ],
                "url": "string",
                "open_new_tab": true
            }
        ],
        "updated_at": "string"
    },
    "assocs": {}
}
Previous
Send email
Next
Section by id
Built with