Get Hub

This endpoint returns the details of a hub.

Request

GET https://v2.api.uberflip.com/hubs/{hubId}
Path Parameters Description
hubId The unique identifier of the hub

Response

Body Parameters Properties Type Description
id   Integer The hub identifier
name   String The hub name
introduction   String The hub introduction
description   String The hub description
url   String The hub URL
no_robots   Boolean Whether the hub allows robots
template_data   Object  
-> open_top Boolean Whether the hub has open top
-> open_flipbooks_top Boolean Whether the hub has open flipbooks top
-> load_more_button Boolean Whether the hub loads additional buttons
-> auth_custom_html Boolean Whether the hub allows custom HTML
-> auth_custom_css Boolean Whether the hub allows custom CSS
-> ui_top_menu Boolean Whether the hub has top menu
-> ui_permanent_header Boolean Whether the hub has a permanent header
-> ui_no_header Boolean Whether the hub has no header
-> ui_sticky_footer Boolean Whether the hub has a sticky footer
-> ui_next_flyout Boolean Whether the hub has a flyout
-> ui_highlight Boolean Whether the hub has highlights
-> ui_iframe_no_nav Boolean Whether the hub is embedded in an iframe
-> ui_theme_dark Boolean Whether the hub has dark theme
-> ui_nav_always_top Boolean Whether the hub navigations are always on top
created_at   Date The hub created date
modified_at   Date The hub last modified date

Examples

curl -H "Authorization: Bearer [Token]" \
-i https://v2.api.uberflip.com/hubs/24601

Sample response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "id": 24601,
    "name": "Uberflip",
    "introduction": "Welcome to our Hub",
    "description": "Welcome to our Hub! We hope you find something interesting to read, watch and share.",
    "url": "http://hub.uberflip.com/h/",
    "no_robots": false,
    "template_data": {
        "open_top": false,
        "open_flipbooks_top": false,
        "load_more_button": false,
        "auth_custom_html": false,
        "auth_custom_css": false,
        "ui_top_menu": false,
        "ui_permanent_header": false,
        "ui_no_header": false,
        "ui_sticky_footer": false,
        "ui_next_flyout": false,
        "ui_highlight": false,
        "ui_iframe_no_nav": false,
        "ui_theme_dark": false,
        "ui_nav_always_top": false
    },
    "created_at": "2014-10-08T17:25:44-0400",
    "modified_at": "2015-09-17T20:07:28-0400"
}