Skip to main content

Workbench overview

The Workbench is the main entry point for API development. It integrates API groups, four development modes, online testing, save and release, and recently viewed items.

Workbench

Page layout​

AreaContent
Left group treeSearch APIs, view groups and subgroups, create groups and edit groups
Top tabsHome page and opened API edit pages; tabs can be closed and switched
Home pageEntries to the four development modes + recently viewed
Edit pageDevelopment mode panel on the left, canvas/editor in the middle, properties panel on the right

Four development modes​

ModeEntryBest forSee also
Script modeUse SQL scripts to quickly develop data APIsDynamic SQL, batch operations and stored proceduresSQL mode
Table modeGenerate single-table CRUD APIs with zero codeStandard single-table queriesTable mode
Proxy modeProxy and forward third-party APIsWrapping external HTTP servicesProxy mode
Orchestration modeVisually orchestrate multiple APIs and combine resultsMulti-API aggregation and data processingOrchestration mode
Mode switching

After an API is created, avoid switching its execution mode arbitrarily. Different modes have different configuration structures, and switching may lose SQL, proxy parameters or orchestration rules.

API groups​

The group tree on the left manages APIs hierarchically:

  • Groups can contain nested subgroups.
  • Non-administrators can only see groups they created and groups they are authorized for.
  • When creating a group, you can set the group name, parent group and authorization invitations.
  • After you enter a specific username in an authorization invitation, that user can view APIs under the group.
  • A group or API can be deleted only when the group is empty or the API is not released.

Groups and Service Management → Group Categories use the same group data; category management is independent and available to all users.

Recently viewed​

The bottom of the home page shows recently edited and released APIs:

ColumnDescription
API IDUnique API identifier
API nameClick to open the edit page
API versionCurrent version number
GroupOwning group
API typeScript / table / proxy / orchestration
Created atFirst creation time
Last modifiedMost recent save or release

Click a row to return to the API edit page quickly.

Save and release​

  1. Save: saves the current API definition to MySQL and creates or updates development-state data.
  2. Test: verifies request parameters and responses online.
  3. Release: select a target environment and generate a release snapshot for that environment.
  4. Go live: after release, the API becomes callable; only APIs that are public + in the production environment + live appear in the API Hub.

Limitations:

  • New APIs must be saved first; otherwise the release button is disabled.
  • Live APIs cannot be edited directly and must be taken offline first (43002).
  • Releasing an orchestration API without orchestration rules configured is blocked (41013).
  • API paths must be unique within the same environment; conflicts return 41006.

Edit page right panel​

The right panel usually contains:

PanelContent
Basic informationName, path, method, permission level, authentication method, protocol, group, category, timeout, transaction, version
Request parametersParameter name, type, location, required, example, description, validation, pagination
Response parametersField name, mapped field, source parameter name, type, description
Data pluginsFiltering, formatting, field merging, field renaming, result transformation (orchestration mode does not include this panel)
Mock / test casesSimulated responses and regression cases

Development recommendations​

  1. Validate SQL on a small data set before releasing to production.
  2. Enable transactions for write operations and define parameter validation explicitly.
  3. Prefer signature authentication for external APIs; avoid using no authentication.
  4. Configure test cases for APIs and run regression before release.
  5. Use groups + collaboration authorization to control visibility instead of sharing accounts.