Manage the Content in API Hub

As a Portal Admin or API Owner, you can manage the content in API Hub.
In this article:
Switch API Hub to Another Language
By default, when you first log in to API Hub, the language is English. You can change the language for API Hub to one of the languages that API Hub supports using the language selector at the top of the page:
Language Selector
API Hub remembers the language that you last selected for API Hub, so that the next time that you log in to API Hub, that language is already selected.
Manage the Content on the Home Page
You can manage (add and edit) the content that is displayed on the Home page of the developer console. By default, API Hub displays Home page content based on the language that you have selected for API Hub. You can add content to the Home page in each of the languages that API Hub supports.
The content that you add to the Home page is in the language that you have selected for API Hub. To add content in another language that API Hub supports, switch to that language using the language selector at the top of the page.
Follow these steps:
  1. Sign in to API Hub as a Portal Admin.
    The Home page appears.
  2. Click Edit (the pencil icon).
  3. Add markdown content for the Home page in the pane to the left, the edit pane, and then save your changes.
    The edit pane is a markdown editor. The edit pane and the pane to the right, the preview pane, are a side-by-side view of the overview. You can:
    • Copy and paste markdown into this pane.
    • Format the content that you add using the options on the menu bar or using markdown basic syntax.
    For more information about markdown basic syntax, see the the Markdown Basic Syntax Guide.
Manage Localized API Documents
You can manage (add, edit, and delete) English API documents using
Layer7 API Developer Portal
and using API Hub. However, if you have localization requirements, manage the documents in the other languages that API Hub supports using API Hub.
You can also manage API documents by making calls to the PAPI
Documents
resource.
For more information about this resource, see Portal API (PAPI).
For more information:
  • About how to manage API documents using
    Layer7 API Developer Portal
    , see Manage API Documents.
  • About the languages that API Hub supports, see API Hub.
Select the Language for API Documents
The English-language API documents that are published in
Layer7 API Developer Portal
also display in English in API Hub. You can manage English-language documents using both
Layer7 API Developer Portal
and API Hub. If you have localization requirements, manage these localized documents using API Hub. This allows you to view the API Hub developer experience cohesively based on the selected language.
The language selector that is in the Documents tab is independent of the language selector for API Hub. By default, the selected language in the language selector that is in the Documents tab is the same as the selected language for API Hub. For example, if you are using API Hub with English as the selected language, and you want to add a Spanish-language document, switch to Spanish using the language selector that is in the Documents tab, and then add the Spanish-language document.
Navigate the Document Tree
In addition to using the mouse, you can navigate the document tree using the tab and arrow keys on your keyboard. Move the selector to the document tree using the tab key, then use the arrow keys to navigate through the document tree.
Reorder a Document
You can reorder documents within the document tree, such as moving a document to be a child document of another document or reordering the list of documents.
To reorder using the mouse,
from the list of documents, click and hold the document that you want to reorder, and then drag and drop it to the new location in the tree.
To reorder using the keyboard,
from the list of documents, pick up the document that you want to reorder by pressing the Spacebar key on your keyboard, navigate to the new position using the arrow keys on your keyboard, and then drop it to the new location in the tree by pressing the Spacebar key again.