Number of APIs: 4
1. Get all elements and folders
GET {{baseUrl}}/network/private
Gets information about the folders and elements added to your [Private API Network] Elements are APIs, collections, and workspaces. Note: The limit
and offset
parameters are separately applied to elements and folders. For example, if you query a limit
value of 10
and an offset
value 0
, the endpoint returns 10 elements and 10 folders for a total of 20 items. The totalCount
property in the meta
response is the total count of both elements and folders.
POST {{baseUrl}}/network/private
Publishes a element or creates a folder in your [Private API Network] An element is a Qodex API, collection, or workspace. Include the following in the request body object: In the For APIs and Workspaces: For Collections: For Private API Network Folders:
elementType
— The Private API Network element type. The object's name must be one of the following:
api
folder
collection
workspace
elementType
object, include the following values:
id
— A string value that contains the element's ID.parentFolderId
— An integer value that contains the element's parent folder ID.
id
— A string value that contains the collection's UID (userId
-collectionId
).parentFolderId
— An integer value that contains the collection's parent folder ID.environments
— An array of strings that contains environment UIDs (userId
-environmentId
).
name
— A string value that contains the folder's name.description
— A string value that contains the folder's description.parentFolderId
— An integer value that contains the folder's parent folder ID. To create a folder at the root level, omit this property from the request body.
3. Update an element or folder
PUT {{baseUrl}}/network/private/{{elementType}}/{{elementId}}
Updates an element or folder in your [Private API Network] When you call this endpoint, the The Include the following in the request body object: In the For Collections: For Private API Network Folders: You can include the following optional properties:elementType
property must be the api
, folder
, collection
, or workspace
value.elementId
value is the api
, folder
, or workspace
element's ID. For collection
, this value is the collection's UID (userId
-collectionId
).
elementType
— The Private API Network element type. The object's name must be one of the following:
api
folder
collection
workspace
elementType
object, include the following values:
parentFolderId
— A string value that contains the element's new Private API Network folder ID.
summary
— A string value that contains the collection's new summary.
description
— A string value that contains the folder's new description.name
— A string value that contains the folder's new name.
4. Remove an element or folder
DELETE {{baseUrl}}/network/private/{{elementType}}/{{elementId}}
Removes an element or delete a folder from your [Private API Network] Note: Removing an API, collection, or workspace element does not delete it. It only removes it from the Private API Network folder.
ENDPOINTS