API Management APIs
API Management solution APIs allow you to do the following:
- API Management APIs: These APIs allow you to manage your APIs or to retrieve metadata related to the API Manager or your Developer Portal.
- Git operation APIs: Perform Git operations on the repository associated with your API version. Use authorized individual user accounts (and not SnapLogic service accounts) for these purposes.
API Management APIs | |
---|---|
POST
/apim/create_from_project
|
creates an API version with the assets of an existing project. |
DELETE
/apim/{path_to_api}
|
soft deletes the API. |
DELETE
/apim/{path_to_apiversion}
|
soft deletes the API version. |
POST
/apim/publish_versions
|
publishes the specified set of API versions. |
POST
/apim/unpublish_versions
|
unpublishes the specified set of API versions. |
POST
/apim/deprecate_versions
|
deprecates the specified set of API versions. |
POST
/apim/retire_versions
|
retires the specified set of API versions. |
POST
/apim/migrate_version/{version_path}
|
migrates an API version, including the selected asset types, to another version. |
POST
/apim/import_version/{import_path}
|
imports an API version from one control plane/Org to another using a public API. |
GET
/apim/export_version/{export_path}
|
exports either a published or unpublished API version using the GET method between control planes/Orgs. |
POST
/apim/migrate_proxy
|
migrates a proxy, including all its endpoints, policies, and files. |
GET
/apim/export_policies
|
exports the policies of an API or API version. |
POST
/apim/import_policies
|
imports a set of policies into an API or API version. |
POST
/apim/approve_users
|
approves the user ID or a list of user IDs |
POST
/apim/deny_users
|
denies access to the user ID or a list of user IDs |
GET
/apim/pending_user_requests
|
retrieves the user ID or the list of user IDs pending for approval. |
POST
/apim/invalidate_response_cache
|
invalidates the response cache for APIs. |
POST
/apim/get_api_log/{env_org}
|
retrieves the API Management log information. |
Git operation APIs | |
POST
/apim/git-branch/{path_to_apiversion}
|
duplicates the Git branch that is associated with the API version and uses the currently tracked commit as the head of the new branch. |
POST
/apim/create-version/{path_to_apiversion}
|
creates an API version using the files in the specified Git repository and branch. |
POST
/apim/checkout/{path_to_apiversion}
|
checks out the specified Git branch for the specified API version. |
POST
/apim/pull/{path_to_apiversion}
|
updates the API version with the latest files from the associated Git repository. |
POST
/apim/git-tag/{path_to_apiversion}
|
associates the specified Git tag with the commit that is currently tracked by the API version. |
GET
/apim/git-tag/{path_to_apiversion}
|
retrieves the list of Git tags associated with the commit that is currently tracked by the API version. |
GET
/apim/repo-status/{path_to_apiversion}
|
retrieves the status of the Git repository associated with the specified API version. |
POST
/apim/discard_changes/{path_to_apiversion}
|
Discard local changes to the listed assets in the API version. |
GET
/apim/untrack/{path_to_apiversion}
|
stops tracking API version with Git. |