IBM Cloud API Docs

Introduction

With the catalog management service, you can define the way users in your account can interact with the IBM Cloud® catalog and the private catalogs that you've created. You can use private catalogs to centrally manage access to products. For more information, see Customizing what's available in your private catalogs.

API endpoint

https://cm.globalcatalog.cloud.ibm.com/api/v1-beta

The code examples on this tab use the client library that is provided for Java.

Maven

<dependency>
	<groupId>com.ibm.cloud</groupId>
	<artifactId>platform-services</artifactId>
	<version>0.8.0</version>
</dependency>

Gradle

'com.ibm.cloud:platform-services:0.8.0'

GitHub

API endpoint

https://cm.globalcatalog.cloud.ibm.com/api/v1-beta

Creating an instance of the Catalog Management service using the Java SDK is shown below.

Authentication can be specified via environment variables.

export CATALOG_MANAGEMENT_AUTH_TYPE=iam
export CATALOG_MANAGEMENT_APIKEY={apikey}
import com.ibm.cloud.platform_services.catalog_management.v1.*;
import com.ibm.cloud.sdk.core.http.Response;
CatalogManagement service = CatalogManagement.newInstance();

The code examples on this tab use the client library that is provided for Node.js.

Installation

npm i @ibm-cloud/platform-services

GitHub

API endpoint

https://cm.globalcatalog.cloud.ibm.com/api/v1-beta

Creating an instance of the Catalog Management service using the Node.js SDK is shown below.

Authentication can be specified via environment variables.

export CATALOG_MANAGEMENT_AUTH_TYPE=iam
export CATALOG_MANAGEMENT_APIKEY={apikey}
const CatalogManagementV1 = require('@ibm-cloud/platform-services/catalog-management/v1');
service = CatalogManagementV1.newInstance({});

The code examples on this tab use the client library that is provided for Python.

Installation

To install, use pip or easy_install:

pip install --upgrade ibm-platform-services

or

easy_install --upgrade ibm-platform-services

GitHub

API endpoint

https://cm.globalcatalog.cloud.ibm.com/api/v1-beta

Creating an instance of the Catalog Management service using the Node.js SDK is shown below.

Authentication can be specified via environment variables.

export CATALOG_MANAGEMENT_AUTH_TYPE=iam
export CATALOG_MANAGEMENT_APIKEY={apikey}
from ibm_platform_services.catalog_management_v1 import *
service = CatalogManagementV1.new_instance()

There are a few different ways to download and install the Platform Services Go SDK project for use by your Go application:

  1. Go get command

Use this command to download and install the Platform Services Go SDK project to allow your Go application to use it:

go get -u github.ibm.com/ibmcloud/platform-services-go-sdk
  1. Go modules

If your application is using Go modules, you can add a suitable import to your Go application, like this:

import (
	"github.ibm.com/ibmcloud/platform-services-go-sdk/catalogmanagementv1"
)

Next, run go mod tidy to download and install the new dependency and update your Go application's go.mod file.

  1. Dep dependency manager

If your application is using the dep dependency management tool, you can add a dependency to your Gopkg.toml file. Here is an example:

[[constraint]]
   name = "github.ibm.com/ibmcloud/platform-services-go-sdk/catalogmanagementv1"
   version = "0.7.0"

then run

dep ensure

GitHub

API endpoint

https://cm.globalcatalog.cloud.ibm.com/api/v1-beta

Creating an instance of the Catalog Management service using the Go SDK is shown below.

Authentication can be specified via environment variables.

export CATALOG_MANAGEMENT_AUTH_TYPE=iam
export CATALOG_MANAGEMENT_APIKEY={apikey}
import (
    "github.com/IBM/go-sdk-core/v3/core"
    "github.com/IBM/platform-services-go-sdk/catalogmanagementv1"
)
service, _ := catalogmanagementv1.NewCatalogManagementV1UsingExternalConfig(
	&catalogmanagementv1.CatalogManagementV1Options{},
)

Endpoint URLs

The Catalog Management API uses the following global endpoint URL for all regions. When you call the API, add the path for each method to form the complete API endpoint for your requests.

https://cm.globalcatalog.cloud.ibm.com

If you enabled service endpoints in your account, you can send API requests over the IBM Cloud® private network at the following base endpoint URLs. For more information, see Enabling VRF and service endpoints.

  • Private endpoint URL for VPC infrastructure: https://cm.private.globalcatalog.cloud.ibm.com
  • Private endpoint URLs for classic infrastructure:
    • Dallas: https://cm.private.us-south.globalcatalog.cloud.ibm.com
    • Washington DC: https://cm.private.us-east.globalcatalog.cloud.ibm.com

Example API request

curl -X {request_method} "https://cm.globalcatalog.cloud.ibm.com/{method_endpoint}"

Replace {request_method} and {method_endpoint} in this example with the values for your particular API call.

Error handling

The Catalog Management API uses standard HTTP response codes to indicate whether a method completed successfully. A 200 type response always indicates success. A 400 type response is a failure, and a 500 type response is an internal system error.

Methods

Get catalog account settings

Get the account level settings for the account for private catalog

GET /catalogaccount

Auditing

Calling this method generates the following auditing event.

Request

No Request Parameters

This method does not accept any request parameters.

  • getOptions := service.NewGetCatalogAccountOptions()
    _, response, _ := service.GetCatalogAccount(getOptions)
    fmt.Println(response)
  • Response<Account> response = service.getCatalogAccount().execute();
    System.out.println(response.getResult());
  • response = self.service.get_catalog_account()
    print(response)
  • response = await service.getCatalogAccount();
    console.log(response);

Response

Account information

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Update account settings

Update the account level settings for the account for private catalog

PUT /catalogaccount

Auditing

Calling this method generates the following auditing event.

Request

Account information

  • curl -X "PUT" "https://cm.globalcatalog.cloud.ibm.com/api/v1-beta/catalogaccount" -H "accept: */*" -H "Authorization: {iam-bearer-token}" -d '{"id":"string","hide_IBM_cloud_catalog":true,"account_filters":{"include_all":true,"category_filters":{"additionalProp1":{"include":true,"filter":{"filter_terms":["string"]}},"additionalProp2":{"include":true,"filter":{"filter_terms":["string"]}},"additionalProp3":{"include":true,"filter":{"filter_terms":["string"]}}},"id_filters":{"include":{"filter_terms":["string"]},"exclude":{"filter_terms":["string"]}}}}'

Response

Account information

Status Code

  • Successful update. Your permissions determine if you an update or not

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get catalog account audit logs

Get the audit logs associated with a catalog account.

GET /catalogaccount/audits

Auditing

Calling this method generates the following auditing event.

Request

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get a catalog account audit log entry

Get the full audit log entry associated with a catalog account.

GET /catalogaccount/audits/{auditlog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Auditlog ID

Query Parameters

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

An audit log which describes a change made to a catalog or associated resource.

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get catalog account filters

Get the accumulated filters of the account and of the catalogs you have access to.

GET /catalogaccount/filters

Request

Query Parameters

  • catalog id. Narrow down filters to the account and just the one catalog.

  • getOptions := service.NewGetCatalogAccountFiltersOptions()
    _, response, _ := service.GetCatalogAccountFilters(getOptions)
    fmt.Println(response)
  • Response<AccumulatedFilters> response = service.getCatalogAccountFilters().execute();
    System.out.println(response.getResult());
  • response = self.service.get_catalog_account_filters()
    print(response)
  • response = await service.getCatalogAccountFilters();
    console.log(response);

Response

The accumulated filters for an account. This will return the account filters plus a filter for each catalog the user has access to.

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get catalog account audit log

Get the audit log associated with a catalog account.

GET /catalogaccount/audit

Auditing

Calling this method generates the following auditing event.

Request

Query Parameters

  • Log identification.

  • curl -X "GET" \ 
    "https://cm.globalcatalog.cloud.ibm.com/api/v1-beta/catalogs/{catalog-id}/audit" -H "accept: application/json" -H "Authorization: {iam-bearer-token}"

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get share approval access list

Get the share approval access list associated with the specified object type

GET /shareapproval/{object_type}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • The type for the object

    Allowable values: [offering,vpe,proxy_source,preset_configuration]

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

Response

Paginated search result for share approval requests

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Delete share approval access

Delete share approval accesses associated with the specified object type

DELETE /shareapproval/{object_type}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • The type for the object

    Allowable values: [offering,vpe,proxy_source,preset_configuration]

A list of accesses to delete. An entry with star["*"] will remove all accesses

Response

Access List Add/Remove result

Status Code

  • Successful response, still need to look for errors for specific accesses

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Add accesses to share approval access list

Add one or more accesses to the share approval access list for a specific object type.

POST /shareapproval/{object_type}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • The type for the object

    Allowable values: [offering,vpe,proxy_source,preset_configuration]

A list of accesses to add.

Response

Access List Add/Remove result

Status Code

  • Successful response, still need to look for errors for specific accesses

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get share approval access list for requesting accounts

Get the share approval access list associated with the specified object type in a certain approval state for requesting accounts

GET /shareapproval/{object_type}/access/source/{approval_state_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • The type for the object

    Allowable values: [offering,vpe,proxy_source,preset_configuration]

  • The different possible approval states for share requests or access request.

    Allowable values: [approved,pending,rejected]

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

  • Execute the request in the context of an enterprise or enterpise account group ID. Use '-ent-enterpriseid' for an enterprise and '-entgrp-enterprisegroupid for an enterprise group

Response

Paginated search result for share approval requests

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Update approval states for share approval access list for requesting accounts

Update one or more access approval states from the share approval access list for a specific object type for requesting accounts.

POST /shareapproval/{object_type}/access/source/{approval_state_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • The type for the object

    Allowable values: [offering,vpe,proxy_source,preset_configuration]

  • The different possible approval states for share requests or access request.

    Allowable values: [approved,pending,rejected]

Query Parameters

  • Execute the request in the context of an enterprise or enterpise account group ID. Use '-ent-enterpriseid' for an enterprise and '-entgrp-enterprisegroupid for an enterprise group

A list of accesses to update to the specified approval state.

Response

Access List Add/Remove result

Status Code

  • Successful response, still need to look for errors for specific accesses

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get list of catalogs

Retrieves the available catalogs for a given account. This can be used by an unauthenticated user to retrieve the public catalog.

GET /catalogs

Auditing

Calling this method generates the following auditing event.

Request

No Request Parameters

This method does not accept any request parameters.

  • listOptions := service.NewListCatalogsOptions()
    _, response, _ := service.ListCatalogs(listOptions)
    fmt.Println(response)
  • Response<CatalogSearchResult> response = service.listCatalogs().execute();
    System.out.println(response.getResult());
  • response = self.service.list_catalogs()
    print(response)
  • response = await service.listCatalogs();
    console.log(response);

Response

Paginated catalog search result

Status Code

  • Successful response. Your permissions determine what you can see

No Sample Response

This method does not specify any sample responses.

Create a catalog

Create a catalog for a given account

POST /catalogs

Auditing

Calling this method generates the following auditing event.

Request

Catalog information

  • label := "{label}"
    shortDesc := "{shortDesc}"
    createOptions := service.NewCreateCatalogOptions()
    createOptions.SetLabel(label)
    createOptions.SetShortDescription(shortDesc)
    _, response, _ := service.CreateCatalog(createOptions)
    fmt.Println(response)
  • String label = "{label}";
    String shortDesc = "{shortDesc}";
    CreateCatalogOptions createOptions = new CreateCatalogOptions.Builder().label(label).shortDescription(shortDesc).build();
    Response<Catalog> response = service.createCatalog(createOptions).execute();
    System.out.println(response.getResult());
  • label = "{label}"
    shortDesc = "{shortDesc}"
    response = self.service.create_catalog(label=label, short_description=shortDesc)
    print(response)
  • label = "{label}";
    shortDesc = "{shortDesc}";
    response = await service.createCatalog({ 'label': label, 'shortDescription': shortDesc });
    console.log(response);

Response

Catalog information

Status Code

  • New catalog created successfully

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get catalog

Get a catalog. This can also be used by an unauthenticated user to get the public catalog.

GET /catalogs/{catalog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • id := "{id}"
    getOptions := service.NewGetCatalogOptions(id)
    _, response, _ := service.GetCatalog(getOptions)
    fmt.Println(response)
  • String id = "{id}";
    GetCatalogOptions getOptions = new GetCatalogOptions.Builder().catalogIdentifier(id).build();
    Response<Catalog> response = service.getCatalog(getOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}"
    response = self.service.get_catalog(catalog_identifier=id)
    print(response)
  • id = "{id}";
    response = await service.getCatalog({ 'catalogIdentifier': id });
    console.log(response);

Response

Catalog information

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog id

No Sample Response

This method does not specify any sample responses.

Update catalog

Update a catalog

PUT /catalogs/{catalog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

Catalog information

  • curl -X "PUT" "https://cm.globalcatalog.cloud.ibm.com/api/v1-beta/catalogs/{catalog-id}" -H "accept: application/json" -H "Authorization: {iam-bearer-token}" -d '{"id":"string","_rev":"string","label":"string","short_description":"string","catalog_icon_url":"string","tags":["string"],"features":[{"title":"string","description":"string"}],"resource_group_id":"string","catalog_filters":{"include_all":true,"category_filters":{"additionalProp1":{"include":true,"filter":{"filter_terms":["string"]}},"additionalProp2":{"include":true,"filter":{"filter_terms":["string"]}},"additionalProp3":{"include":true,"filter":{"filter_terms":["string"]}}},"id_filters":{"include":{"filter_terms":["string"]},"exclude":{"filter_terms":["string"]}}},"kind":"string"}'

Response

Catalog information

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog id

No Sample Response

This method does not specify any sample responses.

Delete catalog

Delete a catalog

DELETE /catalogs/{catalog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • id := "{id}"
    deleteOptions := service.NewDeleteCatalogOptions(id)
    response, _ := service.DeleteCatalog(deleteOptions)
    fmt.Println(response)
  • String id = "{id}";
    DeleteCatalogOptions deleteOptions = new DeleteCatalogOptions.Builder().catalogIdentifier(id).build();
    Response<Void> response = service.deleteCatalog(deleteOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}"
    response = self.service.delete_catalog(catalog_identifier=id, id=id)
    print(response)
  • id = "{id}";
    response = await service.deleteCatalog({ 'catalogIdentifier': id, 'id': id });
    console.log(response);

Response

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get catalog audit logs

Get the audit logs associated with a catalog.

GET /catalogs/{catalog_identifier}/audits

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get a catalog audit log entry

Get the full audit log entry associated with a catalog.

GET /catalogs/{catalog_identifier}/audits/{auditlog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Auditlog ID

Query Parameters

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

An audit log which describes a change made to a catalog or associated resource.

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get catalog audit log

Get the audit log associated with a catalog.

GET /catalogs/{catalog_identifier}/audit

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

Query Parameters

  • Log identification.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get enterprise settings

Get the enterprise settings for the specified enterprise ID

GET /enterprises/{enterprise_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Enterprise ID

  • id := "{id}"
    getOptions := service.NewGetEnterpriseOptions(id)
    _, response, _ := service.GetEnterprise(getOptions)
    fmt.Println(response)
  • String id = "{id}";
    GetEnterpriseOptions getOptions = new GetEnterpriseOptions.Builder().enterpriseId(id).build();
    Response<Enterprise> response = service.getEnterprise(getOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}";
    response = await service.getEnterprise({ 'enterpriseId': id });
    console.log(response);
  • id = "{id}"
    response = self.service.get_enterprise(enterprise_id=id)
    print(response)

Response

Enterprise account information

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Update enterprise settings

Update the settings for an enterprise

PUT /enterprises/{enterprise_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Enterprise ID

Enterprise account information

  • id = "{id}"
    revision = "{revision}"
    accountFilters = "{accountFilters}"
    accountGroups = "{accountGroups}"
    response = self.service.replace_enterprise(enterprise_id=id, id=id, rev=revision, account_filters= accountFilters, account_groups=accountGroups)
    print(response)
  • id := "{id}"
    revision := "{revision}"
    accountFilters := {accountFilters}
    replaceOptions := {replaceOptions}
    replaceOptions := service.NewReplaceEnterpriseOptions(id)
    replaceOptions.SetID(id)
    replaceOptions.SetRev(revision)
    replaceOptions.SetAccountFilters(accountFilters)
    replaceOptions.SetAccountGroups(accountGroups)
    response, _ := service.ReplaceEnterprise(replaceOptions)
    fmt.Println(response)
  • String id = "{id}";
    String revision = "{revision}";
    String accountFilters = {accountFilters};
    String accountGroups = {accountGroups};
    ReplaceCatalogOptions replaceOptions = new ReplaceEnterpriseOptions.Builder().enterpriseId(id).id(id).rev(revision).accountFilters(accountFilters).accountGroups(accountGroups).build();
    Response<Catalog> response = service.replaceEnterprise(replaceOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}";
    revision = "{revision}";
    accountFilters = {accountFilters};
    accountGroups = {accountGroups};
    response = await service.replaceEnterprise({ 'enterpriseId': id, 'id': id, 'rev': revision, 'accountFilters': accountFilters, 'accountGroups': accountGroups });
    console.log(response);

Response

Status Code

  • Successful update. Your permissions determine if can update or not.

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get enterprise audit logs

Get the audit logs associated with an enterprise.

GET /enterprises/{enterprise_identifier}/audits

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Enterprise ID

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get an enterprise audit log entry

Get the full audit log entry associated with an enterprise.

GET /enterprises/{enterprise_identifier}/audits/{auditlog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Enterprise ID

  • Auditlog ID

Query Parameters

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

An audit log which describes a change made to a catalog or associated resource.

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get enterprise audit log

Get the audit log associated with an enterprise.

GET /enterprises/{enterprise_identifier}/audit

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Enterprise ID

Query Parameters

  • Log identification.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get consumption offerings

Retrieve the available offerings from both public and from the account that currently scoped for consumption. These copies cannot be used for updating. They are not complete and only return what is visible to the caller. This can be used by an unauthenticated user to retreive publicly available offerings.

GET /offerings

Auditing

Calling this method generates the following auditing event.

Request

Query Parameters

  • true - Strip down the content of what is returned. For example don't return the readme. Makes the result much smaller. Defaults to false.

  • catalog id. Narrow search down to just a particular catalog. It will apply the catalog's public filters to the public catalog offerings on the result.

  • What should be selected. Default is 'all' which will return both public and private offerings. 'public' returns only the public offerings and 'private' returns only the private offerings.

    Allowable values: [all,public,private]

  • true - include offerings which have been marked as hidden. The default is false and hidden offerings are not returned.

  • number or results to return

    Possible values: value ≤ 1000

    Default: 100

  • number of results to skip before returning values

    Default: 0

  • options := service.NewGetConsumptionOfferingsOptions()
    _, response, _ := service.GetConsumptionOfferings(options)
    fmt.Println(response)
  • Response<OfferingSearchResult> response = service.getConsumptionOfferings().execute();
    System.out.println(response.getResult());
  • response = self.service.get_consumption_offerings()
    print(response)
  • response = await service.getConsumptionOfferings();
    console.log(response);

Response

Paginated offering search result

Status Code

  • Successful response. Your permissions determine what you can see

No Sample Response

This method does not specify any sample responses.

Get list of offerings

Retrieve the available offerings in the specified catalog. This can also be used by an unauthenticated user to retreive publicly available offerings.

GET /catalogs/{catalog_identifier}/offerings

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

Query Parameters

  • true - Strip down the content of what is returned. For example don't return the readme. Makes the result much smaller. Defaults to false.

  • The maximum number of results to return

    Possible values: value ≤ 1000

    Default: 100

  • The number of results to skip before returning values

    Default: 0

  • Only return results that contain the specified string

  • The field on which the output is sorted. Sorts by default by label property. Available fields are name, label, created, and updated. By adding - (i.e. -label) in front of the query string, you can specify descending order. Default is ascending order.

  • true - include offerings which have been marked as hidden. The default is true. To not return hidden offerings false must be explicitly set

    Default: true

  • id := "{id}"
    listOptions := service.NewListOfferingsOptions(id)
    _, response, _ := service.ListOfferings(listOptions)
    fmt.Println(response)
  • String id = "{id}";
    ListOfferingsOptions listOptions = new ListOfferingsOptions.Builder().catalogIdentifier(id).build();
    Response<OfferingSearchResult> response = service.listOfferings(listOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}"
    response = self.service.list_offerings(catalog_identifier=id)
    print(response)
  • id = "{id}";
    name = "{name}";
    label = "{label}";
    response = await service.listOfferings({ 'catalogIdentifier': id, 'id': id, 'name': name, 'label': label });
    console.log(response);

Response

Paginated offering search result

Status Code

  • Successful response. Your permissions determine what you can see

No Sample Response

This method does not specify any sample responses.

Create offering

Create an offering

POST /catalogs/{catalog_identifier}/offerings

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

Offering information

  • id := "{id}"
    name := "{name}"
    label := "{label}"
    offeringOptions := service.NewCreateOfferingOptions(id)
    offeringOptions.SetName(name)
    offeringOptions.SetLabel(label)
    _, response, _ := service.CreateOffering(offeringOptions)
    fmt.Println(response)
  • String id = "{id}";
    String name = "{name}";
    String label = "{label}";
    CreateOfferingOptions offeringOptions = new CreateOfferingOptions.Builder().catalogIdentifier(id).name(name).label(label).build();
    Response<Offering> response = service.createOffering(offeringOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}"
    name = "{name}"
    label = "{label}"
    response = self.service.create_offering(catalog_identifier=id, name=name, label=label)
    print(response)
    
  • id = "{id}";
    name = "{name}";
    label = "{label}";
    response = await service.createOffering({ 'catalogIdentifier': id, 'id': id, 'name': name, 'label': label });
    console.log(response);

Response

Offering information

Status Code

  • New offering created successfully

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Import offering version

Import new version to an offering

POST /catalogs/{catalog_identifier}/offerings/{offering_id}/version

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • Authentication token used to access the specified zip file

Path Parameters

  • Catalog identifier

  • Offering identification

Query Parameters

  • URL path to zip location. If not specified, must provide content in the body of this call.

  • The semver value for this new version, if not found in the zip url package content

  • Add all possible configuration values to this version when importing

  • Indicates that the current terraform template is used to install a virtual server image

  • The type of repository containing this version. Valid values are 'public_git' or 'enterprise_git'

Additional data to be used when importing an offering or version

  • catalogID := "{catalogID}"
    offeringID := "{offeringID}"
    offeringURL := "{offeringURL}"
    importOptions := service.NewImportOfferingVersionOptions(catalogID, offeringID, offeringURL)
    _, response, _ := service.ImportOfferingVersion(importOptions)
    fmt.Println(response)
  • String catalogID = "{catalogID}";
    String offeringID = "{offeringID}";
    String offeringURL = "{offeringURL}";
    ImportOfferingVersionOptions newOfferingOptions = new ImportOfferingVersionOptions.Builder().catalogIdentifier(catalogID).offeringId(offeringID).zipurl(offeringURL).build();
    Response<Offering> response = service.importOfferingVersion(newOfferingOptions).execute();
    System.out.println(response.getResult());
  • catalogID = "{catalogID}"
    offeringID = "{offeringID}"
    offeringURL = "{offeringURL}"
    response = self.service.import_offering_version(catalog_identifier=catalogID, offering_id=offeringID, zipurl=offeringURL)
    print(response)
    
  • catalogID = "{catalogID}";
    offeringID = "{offeringID}";
    offeringURL = "{offeringURL}";
    response = await service.importOfferingVersion({ 'catalogIdentifier': catalogID, 'offeringId': offeringID, 'zipurl': offeringURL });
    console.log(response);

Response

Offering information

Status Code

  • New version created successfully

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Import offering

Import a new offering

POST /catalogs/{catalog_identifier}/import/offerings

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • Authentication token used to access the specified zip file

Path Parameters

  • Catalog identifier

Query Parameters

  • URL path to zip location. If not specified, must provide content in this post body.

  • Re-use the specified offeringID during import

  • The semver value for this new version

  • Add all possible configuration items when creating this version

  • Indicates that the current terraform template is used to install a virtual server image

  • The type of repository containing this version. Valid values are 'public_git' or 'enterprise_git'

Additional data to be used when importing an offering or version

  • id := "{id}"
    offeringURL := "{offeringURL}"
    offeringOptions := service.NewImportOfferingOptions(id, offeringURL)
    _, response, _ := service.ImportOffering(offeringOptions)
    fmt.Println(response)
  • id = "{id}";
    offeringURL = "{offeringURL}";
    ImportOfferingOptions offeringOptions = new ImportOfferingOptions.Builder().catalogIdentifier(id).zipurl(offeringURL).build();
    Response<Offering> response = service.importOffering(offeringOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}"
    offeringURL = "{offeringURL}"
    response = self.service.import_offering(catalog_identifier=id, zipurl=offeringURL)
    print(response)
    
  • id = "{id}";
    offeringURL = "{offeringURL}";
    response = await service.importOffering({ 'catalogIdentifier': id, 'zipurl': offeringURL });
    console.log(response);

Response

Offering information

Status Code

  • New offering created successfully

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Reload offering

Reload an existing version in offering from a tgz

PUT /catalogs/{catalog_identifier}/offerings/{offering_id}/reload

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Query Parameters

  • The semver value for this new version

  • URL path to zip location. If not specified, must provide content in this post body.

  • The type of repository containing this version. Valid values are 'public_git' or 'enterprise_git'

Additional data to be used when importing an offering or version

  • catalogID := "{catalogID}"
    offeringID := "{offeringID}"
    offeringURL := "{offeringURL}"
    offeringVersion := "{offeringVersion}"
    reloadOptions := service.NewReloadOfferingOptions(catalogID, offeringID, offeringURL, offeringVersion)
    _, response, _ := service.ReloadOffering(reloadOptions)
    fmt.Println(response)
  • String catalogID = "{catalogID}";
    String offeringID = "{offeringID}";
    String version = "{version}";
    ReloadOfferingOptions reloadOfferingOptions = new ReloadOfferingOptions.Builder().catalogIdentifier(catalogID).offeringId(offeringID).zipurl(offeringID).targetVersion(version).build();
    Response<Offering> response = service.reloadOffering(reloadOfferingOptions).execute();
    System.out.println(response.getResult());
  • catalogID = "{catalogID}"
    offeringID = "{offeringID}"
    offeringURL = "{offeringURL}"
    version = "{version}"
    response = self.service.reload_offering(catalog_identifier=catalogID, offering_id=offeringID, zipurl=offeringURL, target_version=version)
    print(response)
  • catalogID = "{catalogID}";
    offeringID = "{offeringID}";
    offeringURL = "{offeringURL}";
    version = "{version}";
    response = await service.reloadOffering({'catalogIdentifier': catalogID, 'offeringId': offeringID, 'zipurl': offeringURL, 'targetVersion': version});
    console.log(response);

Response

Offering information

Status Code

  • New version created successfully

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get offering

Get an offering. This can be used by an unauthenticated user for publicly available offerings.

GET /catalogs/{catalog_identifier}/offerings/{offering_id}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Query Parameters

  • Offering Parameter Type. Valid values are 'name' or 'id'. Default is 'id'.

  • Return the digest format of the specified offering. Default is false.

  • catalogID := "{catalogID}"
    offeringID := "{offeringID}"
    getOptions := service.NewGetOfferingOptions(catalogID, offeringID)
    _, response, _ := service.GetOffering(getOptions)
    fmt.Println(response)
  • String catalogID = "{catalogID}";
    String offeringID = "{offeringID}";
    GetOfferingOptions getOptions = new GetOfferingOptions.Builder().catalogIdentifier(catalogID).offeringId(offeringID).build();
    Response<Offering> response = service.getOffering(getOptions).execute();
    System.out.println(response.getResult());
  • catalogID = "{catalogID}"
    offeringID = "{offeringID}"
    response = self.service.get_offering(catalog_identifier=catalogID, offering_id=offeringID)
    print(response)
  • catalogID = "{catalogID}";
    offeringID = "{offeringID}";
    response = await service.getOffering({ 'catalogIdentifier': catalogID, 'offeringId': offeringID });
    console.print(response);

Response

Offering information

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Update offering

Update an offering

PUT /catalogs/{catalog_identifier}/offerings/{offering_id}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Offering information

  • catalogID := "{catalogID}"
    offeringID := "{offeringID}"
    label := "{label}"
    shortDesc := "{shortDesc}"
    revision := "{revision}"
    updateOptions := service.NewReplaceOfferingOptions(catalogID, offeringID)
    updateOptions.SetID(offeringID)
    updateOptions.SetLabel(label)
    updateOptions.SetShortDescription(shortDesc)
    updateOptions.SetRev(revision)
    _, response, _ := service.ReplaceOffering(updateOptions)
    fmt.Println(response)
  • String catalogID = "{catalogID}";
    String offeringID = "{offeringID}";
    String label = "{label}";
    String shortDesc = "{shortDesc}";
    ReplaceOfferingOptions replaceOptions = new ReplaceOfferingOptions.Builder().catalogIdentifier(catalogID).id(offeringID).offeringId(offeringID).label(label).shortDescription(shortDesc).rev(revision.rev()).build();
    Response<Catalog> response = service.replaceOffering(replaceOptions).execute();
    System.out.println(response.getResult());
  • catalogID = "{catalogID}"
    offeringID = "{offeringID}"
    revision = "{revision}"
    shortDesc = "{shortDesc}"
    response = self.service.replace_offering(catalog_identifier=catalogID, offering_id=offeringID, id=offeringID, rev=revision, label=label, short_description=shortDesc)
    print(response)
  • catalogID = "{catalogID}";
    offeringID = "{offeringID}";
    revision = "{revision}";
    label = "{label}";
    shortDesc = "{shortDesc}";
    response = await service.replaceOffering({'catalogIdentifier': catalogID, 'offeringId': offeringID, 'id': offeringID, 'rev': revision, 'label': label, 'shortDescription': shortDesc});
    console.log(response);

Response

Offering information

Status Code

  • Offering was updated successfully

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Update offering

Update an offering using a JSONPatch document as defined by RFC 6902.

PATCH /catalogs/{catalog_identifier}/offerings/{offering_id}

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • Offering etag contained in quotes.

Path Parameters

  • Catalog identifier

  • Offering identification

A JSONPatch document as defined by RFC 6902.

Response

Offering information

Status Code

  • Offering was updated successfully

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Delete offering

Delete an offering

DELETE /catalogs/{catalog_identifier}/offerings/{offering_id}

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM token of partner center. Only needed when Partner Center accessing the private catalog offering. When accessing the public offering Partner Center only needs to use their token in the authorization header.

  • IAM token (Bearer <token>) for authorization. For private offerings must be token for offering owner to approve access by Partner Center. Partner Center would put its token in X-Approver-Token. For access to public offering Partner Center or authorized approvers would use their token here.

Path Parameters

  • Catalog identifier

  • Offering identification

  • catalogID := "{catalogID}"
    offeringID := "{offeringID}"
    deleteOptions := service.NewDeleteOfferingOptions(catalogID, offeringID)
    response, _ := service.DeleteOffering(deleteOptions)
    fmt.Println(response)
  • String catalogID = "{catalogID}";
    String offeringID = "{offeringID}";
    DeleteOfferingOptions deleteOfferingOptions = new DeleteOfferingOptions.Builder().catalogIdentifier(catalogID).offeringId(offeringID).build();
    Response<Void> response = service.deleteOffering(deleteOfferingOptions).execute();
    System.out.println(response.getResult());
  • catalogID = "{catalogID}"
    offeringID = "{offeringID}"
    response = self.service.delete_offering(catalog_identifier=catalogID, offering_id=offeringID)
    print(response)
  • catalogID = "{catalogID}";
    offeringID = "{offeringID}";
    response = await service.deleteOffering({ 'catalogIdentifier': catalogID, 'offeringId': offeringID });
    console.log(response);

Response

Status Code

  • Offering was deleted successfully

  • Unauthorized

  • No Permissions

  • No such catalogg

No Sample Response

This method does not specify any sample responses.

Get offering statistics

Get the usage statistics for the specified offering.

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/stats

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Response

Accumulated statistics for the specified target. Statistics are accumulated on a weekly basis for at most a year.

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get offering audit logs

Get the audit logs associated with an offering.

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/audits

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get an offering audit log entry

Get the full audit log entry associated with an offering.

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/audits/{auditlog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

  • Auditlog ID

Query Parameters

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

An audit log which describes a change made to a catalog or associated resource.

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Set offering publish approval settings

Approve or disapprove the offering to be allowed to publish to a particular public catalog based on the approval type. Approvers should use the catalog and offering id from the public catalog since they wouldn't have access to the private offering.

POST /catalogs/{catalog_identifier}/offerings/{offering_id}/publish/{approval_type}/{approved}

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM token of partner center. Only needed when Partner Center accessing the private catalog offering. When accessing the public offering Partner Center only needs to use their token in the authorization header.

  • Authentication token used to verify if user is a collaborator of a repository as part of the checks to set the approval type as ibm_module_repo or ibm_community

  • IAM token (Bearer <token>) for authorization. For private offerings must be token for offering owner to approve access by Partner Center. Partner Center would put its token in X-Approver-Token. For access to public offering Partner Center or authorized approvers would use their token here.

Path Parameters

  • Catalog identifier

  • Offering identification

  • Type of approval.

    • pc_managed - Partner Center is managing this offering
    • ibm_module_repo - Offering is from an approved repository can be published into the module registry.
    • ibm_community - Offering is from an approved repository can be published into the Community registry.
    • publish_approved - Publishing approved, offering owners can now set who sees the offering in public catalog
    • approval_required - Offering will be removed from public catalog when this flag is set to true, regardless of the approval and visibility settings.

    Allowable values: [pc_managed,publish_approved,ibm_module_repo,ibm_community,approval_required]

  • Approve (true) or disapprove (false)

    Allowable values: [true,false]

Query Parameters

  • Partner Center identifier for this offering

  • Partner Center url for this offering

  • catalogID := "{catalogID}"
    offeringID := "{offeringID}"
    approvalType := "{approvalType}"
    approved := "{approved}"
    updateOptions := service.NewUpdateOfferingIbmOptions(catalogID, offeringID, approvalType, approved)
    _, response, _ := service.UpdateOfferingIbm(updateOptions)
    fmt.Println(response)
  • String catalogID = "{catalogID}";
    String offeringID = "{offeringID}";
    String approvalType = "{approvalType}";
    String approved = "{approved}";
    UpdateOfferingIbmOptions updateOptions = new UpdateOfferingIbmOptions.Builder().catalogIdentifier(catalogID).offeringId(offeringID).approvalType(approvalType).approved(approved).build();
    Response<ApprovalResult> response = service.updateOfferingIbm(updateOptions).execute();
    System.out.println(response.getResult());
  • catalogID = "{catalogID}";
    offeringID = "{offeringID}";
    approvalType = "{approvalType}";
    approved = "{approved}";
    response = await service.updateOfferingIbm({ 'catalogIdentifier': catalogID, 'offeringId': offeringID, 'approvalType': approvalType, 'approved': approved });
    console.log(response);
  • catalogID = "{catalogID}"
    offeringID = "{offeringID}"
    approvalType = "{approvalType}"
    approved = "{approved}"
    response = self.service.update_offering_ibm(catalog_identifier=catalogID, offering_id=offeringID, approval_type=approvalType, approved=approved)
    print(response)

Response

Result of approval

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Allows offering to be deprecated

Approve or disapprove the offering to be deprecated.

POST /catalogs/{catalog_identifier}/offerings/{offering_id}/deprecate/{setting}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

  • Set deprecation (true) or cancel deprecation (false)

    Allowable values: [true,false]

Information for deprecation request

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Allows offering to be shared

Set the share options on an offering.

POST /catalogs/{catalog_identifier}/offerings/{offering_id}/share

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Share setting information

Response

Share setting information

Status Code

  • Successful response. Your permissions determine what you can see

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Check for account ID in offering access list

Determine if an account ID is in an offering's access list

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/access/{access_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

  • Identifier for access. Use 'accountId' or '-acct-accountId' for an account, '-ent-enterpriseid' for an enterprise, and '-entgrp-enterprisegroupid' for an enterprise group.

Response

access

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

  • The specified account ID was not found in the offering's access list.

No Sample Response

This method does not specify any sample responses.

Get offering access list

Get the access list associated with the specified offering

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

Response

Paginated Offering search result

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Delete accesses from offering access list

Delete all or a set of accesses from an offering's access list.

DELETE /catalogs/{catalog_identifier}/offerings/{offering_id}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

A list of accesses to delete. An entry with star["*"] will remove all accesses

Response

Access List Add/Remove result

Status Code

  • Successful response, still need to look for errors for specific accesses

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Add accesses to offering access list

Add one or more accesses to the specified offering's access list.

POST /catalogs/{catalog_identifier}/offerings/{offering_id}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

A list of accesses to add.

Response

Paginated Offering search result

Status Code

  • Successful response, still need to look for errors for specific accesses

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get version updates

Get available updates for the specified version

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/updates

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • Catalog identifier

  • Offering identification

Query Parameters

  • The kind of offering (e.g, helm, ova, terraform ...)

  • The target kind of the currently installed version (e.g. iks, roks, etc)

  • optionaly provide an existing version to check updates for if one is not given, all version will be returned.

  • The id of the cluster where this version was installed

  • The region of the cluster where this version was installed

  • The resource group id of the cluster where this version was installed

  • The namespace of the cluster where this version was installed

  • The sha value of the currently installed version

  • Optionally provide the channel value of the currently installed version

  • Optionally provide a list of namespaces used for the currently installed version

  • Optionally indicate that the current version was installed in all namespaces

  • The programmatic flavor name of the version that was installed

  • The install type of the version that was installed

  • versionLocator := "{versionLocator}"
    getOptions := service.NewGetVersionUpdatesOptions(versionLocator)
    _, response, _ := service.GetVersionUpdates(getOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    GetVersionUpdatesOptions getOptions = new GetVersionUpdatesOptions.Builder().versionLocId(versionLocator).build();
    Response<List<VersionUpdateDescriptor>> response = service.getVersionUpdates(getOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}"
    response = self.service.get_offering_updates(version_loc_id=versionLocator)
    print(response)
    
  • versionLocator = "{versionLocator}";
    response = await service.getVersionUpdates({ 'versionLocId': versionLocator});
    console.log(response);

Response

Indicates if the current version can be upgraded to the version identified by the descriptor

Status Code

  • Version Descriptors, sorted newest first

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get version change notices

Get change notices for the specified version

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/changeNotices

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Query Parameters

  • The kind of offering (e.g, helm, ova, terraform ...)

  • The target kind of the currently installed version (e.g. iks, roks, etc)

  • optionaly provide an existing version to check updates for if one is not given, all version will be returned.

  • The programmatic flavor name of the version that was installed

  • optionaly specify if change notices should be returned for all versions of this kind and flavor, or for all versions that are newer than the specified version, including the specified version

    Allowable values: [latest,all]

Response

Change notices response

Status Code

  • Change notices, sorted newest first

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get offering source

Get an offering's source. This request requires authorization for private offerings.

GET /offering/source

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • Allowable values: [application/yaml,application/json,application/x-gzip]

Query Parameters

  • The version being requested

  • Catalog ID. If not specified, this value will default to the public catalog.

  • Offering name. An offering name or ID must be specified.

  • Offering id. An offering name or ID must be specified.

  • The kind of offering (e.g. helm, ova, terraform...)

  • The channel value of the specified version

  • The programmatic flavor name of the specified version

  • If false (the default), the root folder from the original onboarded tgz file is removed. If true, the root folder is returned.

  • The install type of the specified version.

Response

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such offering

No Sample Response

This method does not specify any sample responses.

Get offering source

Get an offering's source. This request requires authorization for private offerings. Note that the URL can include an additional 'working directory' value (i.e. /offering/source/archive//solutions/standard), which allows this single URL to be used in a Terraform module statement as well.

GET /offering/source/archive

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • Allowable values: [application/yaml,application/json,application/x-gzip]

Query Parameters

  • The version being requested

  • Catalog ID. If not specified, this value will default to the public catalog.

  • Offering name. An offering name or ID must be specified.

  • Offering id. An offering name or ID must be specified.

  • The kind of offering (e.g. helm, ova, terraform...)

  • The channel value of the specified version

  • The programmatic flavor name of the specified version

  • If false (the default), the root folder from the original onboarded tgz file is removed. If true, the root folder is returned.

  • The install type of the specified version.

Response

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such offering

No Sample Response

This method does not specify any sample responses.

Get offering source URL

Get an offering's private source image.

GET /offering/source/url/{key_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • Allowable values: [application/yaml,application/json,application/x-gzip]

Path Parameters

  • Unique key identifying an image

Query Parameters

  • Catalog ID. If not specified, this value will default to the public catalog.

  • Offering name. An offering name or ID must be specified.

  • Offering id. An offering name or ID must be specified.

Response

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such offering

No Sample Response

This method does not specify any sample responses.

Get offering audit log

Get the audit log associated with an offering.

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/audit

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

Query Parameters

  • Log identification.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get versions

Get the versions of the specified kind in the specified offering. This can be used by an unauthenticated user for publicly available offerings.

GET /catalogs/{catalog_identifier}/offerings/{offering_id}/kinds/{kind_id}/versions

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Offering identification

  • Kind identification

Query Parameters

  • Return the digest format of the specified offering. Default is false.

  • Return consumable versions. Default is false.

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 150

    Default: 150

Response

Paginated search result for Versions

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Get version about information

Get the about information, in markdown, for the current version

GET /versions/{version_loc_id}/about

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    getOptions := service.NewGetVersionAboutOptions(versionLocator)
    _, response, _ := service.GetVersionAbout(getOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    GetVersionAboutOptions getOptions = new GetVersionAboutOptions.Builder().versionLocId(versionLocator).build();
    Response<String> response = service.getVersionAbout(getOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}"
    response = self.service.get_offering_about(version_loc_id=versionLocator)
    print(response)
  • versionLocator  = "{versionLocator}";
    response = await service.getVersionAbout({ 'versionLocId': versionLocator });
    console.log(response);

Response

Status Code

  • Successful response. Your permissions determine what you can see

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get the required IAM permissions for this version with the specified user context

Get the required IAM permissions for this version with the specified user context

GET /versions/{version_loc_id}/iamPermissions

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

Response

Checked IAM Permission for the current user context

Status Code

  • Successful response. Your permissions determine what you can see

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get version license content

Get the license content for the specified license ID in the specified version

GET /versions/{version_loc_id}/licenses/{license_id}

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • The ID of the license, which maps to the file name in the 'licenses' directory of this verions tgz file

  • versionLocator := "{versionLocator}"
    id := "{id}"
    getOptions := service.NewGetVersionLicenseOptions(versionLocator, id)
    response, _ := service.GetVersionLicense(getOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    GetVersionLicenseOptions getOption = new GetVersionLicenseOptions.Builder().versionLocId(versionLocator).build();
    Response<Void> response = service.getVersionLicense(getOption).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    id = "{id}";
    response = await service.getVersionLicense({ 'versionLocId': versionLocator, 'licenseId': id });
    console.log(response);
  • versionLocator = "{versionLocator}"
    id = "{id}"
    response = self.service.get_offering_license(version_loc_id=versionLocator, license_id=id)
    print(response)

Response

Status Code

  • Successful response. Your permissions determine what you can see

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get version's container images

Get the list of container images associated with the specified version. The "image_manifest_url" property of the version should be the URL for the image manifest, and the operation will return that content

GET /versions/{version_loc_id}/containerImages

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    getOptions := service.NewGetVersionContainerImagesOptions(versionLocator)
    _, response, _ := service.GetVersionContainerImages(getOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    GetVersionContainerImagesOptions getOption = new GetVersionContainerImagesOptions.Builder().versionLocId(versionLocator).build();
    Response<ImageManifest> response = service.getVersionContainerImages(getOption).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    response = await service.getVersionContainerImages({ 'versionLocId': versionLocator});
    console.log(response);
  • versionLocator = "{versionLocator}"
    response = self.service.get_offering_container_images(version_loc_id=versionLocator)
    print(response)

Response

Image Manifest

Status Code

  • Successful response. A list of images

No Sample Response

This method does not specify any sample responses.

Archive version immediately

Archive the specified version

POST /versions/{version_loc_id}/archive

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    arcOptions := service.NewArchiveVersionOptions(versionLocator)
    response, _ := service.ArchiveVersion(arcOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    ArchiveVersionOptions arcOptions = new ArchiveVersionOptions.Builder().versionLocId(versionLocator).build();
    Response<Void> response = service.archiveVersion(arcOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    response = await service.archiveVersion({ 'versionLocId': versionLocator});
    console.log(response);
  • versionLocator = "{versionLocator}"
    response = self.service.archive_version(version_loc_id=versionLocator)
    print(response)

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Sets version to be deprecated in a certain time period

Set or cancel the version to be deprecated.

POST /versions/{version_loc_id}/deprecate/{setting}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • Set deprecation (true) or cancel deprecation (false)

    Allowable values: [true,false]

Information for deprecation request

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Make version consumable for sharing

Set the version as consumable in order to inherit the offering sharing permissions

POST /versions/{version_loc_id}/consume-publish

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Make version prerelease

Set the version as prerelease

POST /versions/{version_loc_id}/prerelease-publish

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Suspend a version

Limits the visibility of a version by moving a version state from consumable back to validated

POST /versions/{version_loc_id}/suspend

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Commit version

Commit a working copy of the specified version

POST /versions/{version_loc_id}/commit

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    commitOptions := service.NewCommitVersionOptions(versionLocator)
    response, _ := service.commitOptions(publishOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    CommitVersionOptions commitOptions = new CommitVersionOptions.Builder().versionLocId(versionLocator).build();
    Response<Void> response = service.commitVersion(commitOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    response = await service.commitVersion({ 'versionLocId': versionLocator});
    console.log(response);
  • versionLocator = "{versionLocator}"
    response = self.service.commit_version(version_loc_id=versionLocator)
    print(response)

Response

Status Code

  • Working copy was committed successfully

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Copy version to new target kind

Copy the specified version to a new target kind within the same offering

POST /versions/{version_loc_id}/copy

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

Additional data to be used when importing an offering or version

Response

Status Code

  • Version was copied successfully

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Create working copy of version

Create a working copy of the specified version

POST /versions/{version_loc_id}/workingcopy

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    getOptions := service.NewGetVersionWorkingCopyOptions(versionLocator)
    _, response, _ := service.GetVersionWorkingCopy(getOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    GetVersionWorkingCopyOptions getVersion = new GetVersionWorkingCopyOptions.Builder().versionLocId(versionLocator).build();
    Response<Void> response = service.getVersionWorkingCopy(getVersion).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    response = await service.getVersionWorkingCopy({ 'versionLocId': versionLocator});
    console.log(response);
  • versionLocator = "{versionLocator}"
    response = self.service.get_offering_working_copy(version_loc_id=versionLocator)
    print(response)

Response

Offering version information

Status Code

  • Working copy created successfully

  • Bad request

  • Unauthorized

  • No Permissions

  • Working Copy already exists

No Sample Response

This method does not specify any sample responses.

Copy values from a previous version

Copy values from a specified previous version

POST /versions/{version_loc_id}/copy/{type}/{version_loc_id_to_copy_from}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • The type of data you would like to copy from a previous version. Valid values are 'configuration' or 'licenses'.

  • The version locator id of the version you wish to copy data from.

  • versionLocator := "{versionLocator}"
    type := "{type}"
    versionLocatorToCopyFrom := "{versionLocatorToCopyFrom}"
    copyOptions := service.NewCopyOptions(versionLocator, type, versionLocatorToCopyFrom)
    _, response, _ := service.Copy(copyOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    String type = "{type}";
    String versionLocatorToCopyFrom = "{versionLocatorToCopyFrom}";
    GetCopyOptions copyOptions = new GetCopyOptions.Builder().versionLocId(versionLocator).type(type).versionLocIdToCopyFrom(versionLocatorToCopyFrom).build();
    Response<Void> response = service.copy(copyOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    type = "{type}";
    versionLocatorToCopyFrom = "{versionLocatorToCopyFrom}";
    response = await service.copy({ 'versionLocId': versionLocator, 'type': type, 'versionLocatorToCopyFrom': versionLocatorToCopyFrom });
    console.log(response);
  • versionLocator = "{versionLocator}"
    type = "{type}"
    versionLocatorToCopyFrom = "{versionLocatorToCopyFrom}"
    response = self.service.copy(version_loc_id=versionLocator, type=type, version_loc_id_to_copy_from=versionLocatorToCopyFrom)
    print(response)

Response

Status Code

  • Values copied successfully

  • Bad request

  • Unauthorized

  • No Permissions

  • Catalog not found from specified version locator.

No Sample Response

This method does not specify any sample responses.

Validates deployment input variables

Validates deployment input variables

POST /versions/{version_loc_id}/validateInputs

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

Share setting information

Response

Validate deployment variables

Status Code

  • Input validation preformed successfully

  • Bad request

  • Unauthorized

  • No Permissions

  • Catalog not found from specified version locator.

No Sample Response

This method does not specify any sample responses.

Get offering/kind/version 'branch'

Get the Offering/Kind/Version 'branch' for the specified locator ID

GET /versions/{version_loc_id}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    versionOptions := service.NewGetVersionOptions(versionLocator)
    _, response, _ := service.GetVersion(versionOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    GetVersionOptions getOptions = new GetVersionOptions.Builder().versionLocId(versionLocator).build();
    Response<Offering> response = service.getVersion(getOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}"
    response = self.service.get_version(version_loc_id=versionLocator)
    print(response)
  • versionLocator = "{versionLocator}";
    response = await service.getVersion({ 'versionLocId': versionLocator });
    console.log(response);

Response

Offering information

Status Code

  • Successful response. Your permissions determine what you can see

No Sample Response

This method does not specify any sample responses.

Update a version

Update the version for the specified locator ID using an offering 'branch'. Note that any changes to the Offering and Kind in the provided Offering 'branch' are discarded.

PUT /versions/{version_loc_id}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

Offering information

Response

Offering information

Status Code

  • Successful response. Your permissions determine what you can update

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Update a version

Update a version using a JSONPatch document as defined by RFC 6902. Note that the path must always reference '/kinds/0/versions/0/...'

PATCH /versions/{version_loc_id}

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • Offering etag contained in quotes.

Path Parameters

  • A dotted value of catalogID.versionID

A JSONPatch document as defined by RFC 6902.

Response

Offering information

Status Code

  • Version was updated successfully

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Delete version

Delete the specified version. If the version is an active version with a working copy, the working copy will be deleted as well.

DELETE /versions/{version_loc_id}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    deleteOptions := service.NewDeleteVersionOptions(versionLocator)
    response, _ := service.DeleteVersion(deleteOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    deleteOption = new DeleteVersionOptions.Builder().versionLocId(versionLocator).build();
    Response<Void> response = service.deleteVersion(deleteOption).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}"
    response = self.service.delete_version(version_loc_id=versionLocator)
    print(response)
  • versionLocator = "{versionLocator}";
    response = await service.deleteVersion({ 'versionLocId': versionLocator });
    console.log(response);

Response

Status Code

  • Version deleted successfully

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get offering/kind/version 'dependencies'

Get the latest version of all offerings/variations that depends on this version locator

GET /versions/{version_loc_id}/dependencies

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    versionOptions := service.NewGetVersionOptions(versionLocator)
    _, response, _ := service.GetVersionDependencies(versionOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    GetVersionOptions getOptions = new GetVersionOptions.Builder().versionLocId(versionLocator).build();
    Response<Offering> response = service.getVersionDependencies(getOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}"
    response = self.service.get_version_dependencies(version_loc_id=versionLocator)
    print(response)
  • versionLocator = "{versionLocator}";
    response = await service.getVersionDependencies({ 'versionLocId': versionLocator });
    console.log(response);

Response

Version dependency on a VersionLocator

Status Code

  • Successful response. Your permissions determine what you can see

No Sample Response

This method does not specify any sample responses.

List versions

[deprecated] use 'search_license_versions' operation instead. Search across all accounts for versions, requires global admin permission.

GET /versions

Request

Query Parameters

  • query, for now only "q=entitlement_key:" is supported

  • id := "{id}"
    getOptions := service.NewListVersionsOptions(id)
    response, _ := service.ListVersions(getOptions)
    fmt.Println(response)
  • String id = "{id}";
    ListVersionsOptions getVersion = new ListVersionsOptions.Builder().q(id).build();
    Response<Void> response = service.listVersions(getVersion).execute();
    System.out.println(response.getResult());
  • id = "{id}";
    response = await service.listVersions({ 'q': id });
    console.log(response);
  • id = "{id}"
    response = self.service.list_versions(q=id)
    print(response)

Response

Status Code

  • Successful response with a search result of version locators, a dotted value of catalogID.versionID

No Sample Response

This method does not specify any sample responses.

Deprecate version immediately - use /archive instead

Deprecate the specified version

POST /versions/{version_loc_id}/deprecate

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

  • versionLocator := "{versionLocator}"
    depOptions := service.NewDeprecateVersionOptions(versionLocator)
    response, _ := service.DeprecateVersion(depOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    DeprecateVersionOptions depOptions = new DeprecateVersionOptions.Builder().versionLocId(versionLocator).build();
    Response<Void> response = service.deprecateVersion(depOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    response = await service.deprecateVersion({ 'versionLocId': versionLocator});
    console.log(response);
  • versionLocator = "{versionLocator}"
    response = self.service.deprecate_version(version_loc_id=versionLocator)
    print(response)

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

List a repository's entries

List the available entries from a given repository

GET /repo/{type}/entries

Request

Path Parameters

  • The type of repository (valid repository types: helm)

Query Parameters

  • The URL for the repository's root (e.g https://kubernetes-charts-incubator.storage.googleapis.com)

  • repoType := "{repoType}"
    repoURL := "{repoURL}"
    getOptions := service.NewGetReposOptions(repoType, repoURL)
    _, response, _ := service.GetRepos(getOptions)
    fmt.Println(response)
  • String repoType = "{repoType}";
    String repoURL = "{repoURL}";
    GetReposOptions getOptions = new GetReposOptions.Builder().type(repoType).repourl(repoURL).build();
    Response<HelmPackage> response = service.getRepos(getOptions).execute();
    System.out.println(response.getResult());
  • repoType = "{repoType}";
    repoURL = "{repoURL}";
    response = await service.getRepos({ 'repoType': repoType, 'repourl':  repoURL} );
    console.log(response);
  • repoType = "{repoType}"
    repoURL = "{repoURL}"
    response = self.service.get_repos(type=repoType, repourl=repoURL)
    print(response)

Response

Helm repository metadata

Status Code

  • Successful response.

No Sample Response

This method does not specify any sample responses.

Get repository contents

Get the contents of a given repo

GET /repo/{type}

Request

Path Parameters

  • The type of repository (valid repository types: helm)

Query Parameters

  • The URL for the repository's chart zip file (e.g https://registry.bluemix.net/helm/ibm-charts/charts/ibm-redis-ha-dev-1.0.0.tgz)

  • repoType := "{repoType}"
    chartURL := "{chartURL}"
    getOptions := service.NewGetRepoOptions(repoType, chartURL)
    _, response, _ := service.GetRepo(getOptions)
    fmt.Println(response)
  • String repoType = "{repoType}";
    String chartURL = "{chartURL}";
    GetRepoOptions getOptions = new GetRepoOptions.Builder().type(repoType).charturl(chartURL).build();
    Response<HelmPackage> response = service.getRepo(getOptions).execute();
    System.out.println(response.getResult());
  • repoType = "{repoType}";
    chartURL = "{chartURL}";
    response = await service.getRepo({ 'repoType': repoType, 'charturl':  chartURL } );
    console.log(response);
  • repoType = "{repoType}"
    chartUrl = "{chartUrl}"
    response = self.service.get_repo(type=repoType, charturl=chartUrl)
    print(response)

Response

Helm package

Status Code

  • Successful response.

No Sample Response

This method does not specify any sample responses.

List Kubernetes clusters

List Kubernetes clusters

GET /deploy/kubernetes/clusters

Request

Query Parameters

  • The maximum number of results to return

    Possible values: value ≤ 1000

    Default: 100

  • The number of results to skip before returning values

  • Kubernetes or OpenShift. Default is kubernetes.

  • listOptions := service.NewListClustersOptions()
    _, response, _ := service.ListClusters(listOptions)
    fmt.Println(response)
  • ListClustersOptions getOptions = new ListClustersOptions.Builder().build();
    Response<ClusterSearchResult> response = service.listClusters(getOptions).execute();
    System.out.println(response.getResult());
  • response = await service.listClusters();
    console.log(response);
  • response = self.service.list_clusters()
    print(response)

Response

Paginated cluster search result

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get kubernetes cluster

Get the contents of the specified kubernetes cluster

GET /deploy/kubernetes/clusters/{cluster_id}

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • ID of the cluster

Query Parameters

  • Region of the cluster

  • clusterID := "{clusterID}"
    region := "{region}"
    authRefreshToken := "{authRefreshToken}"
    getOptions := service.NewGetClusterOptions(clusterID, region, authRefreshToken)
    _, response, _ := service.GetCluster(getOptions)
    fmt.Println(response)
  • String clusterID = "{clusterID}";
    String region = "{region}";
    String authRefreshToken = "{authRefreshToken}";
    GetClusterOptions getOptions = new GetClusterOptions.Builder().clusterId(clusterID).region(region).xAuthRefreshToken(authRefreshToken).build();
    Response<ClusterInfo> response = service.getCluster(getOptions).execute();
    System.out.println(response.getResult());
  • clusterID = "{clusterID}";
    region = "{region}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.getCluster({ 'clusterId': clusterID, 'region': region, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • clusterID = "{clusterID}"
    region = "{region}"
    authRefreshToken="{authRefreshToken}"
    response = self.service.get_cluster(cluster_id=clusterID, region=region, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Cluster information

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such cluster

No Sample Response

This method does not specify any sample responses.

Get cluster namespaces

Get the namespaces associated with the specified kubernetes cluster

GET /deploy/kubernetes/clusters/{cluster_id}/namespaces

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • ID of the cluster

Query Parameters

  • Cluster region

  • The maximum number of results to return

    Possible values: value ≤ 1000

    Default: 100

  • The number of results to skip before returning values

    Default: 0

  • clusterID := "{clusterID}"
    region := "{region}"
    authRefreshToken := "{authRefreshToken}"
    getOptions := service.NewGetNamespacesOptions(clusterID, region, authRefreshToken)
    _, response, _ := service.GetNamespaces(getOptions)
    fmt.Println(response)
  • String clusterID = "{clusterID}";
    String region = "{region}";
    String authRefreshToken = "{authRefreshToken}";
    GetNamespacesOptions getOptions = new GetNamespacesOptions.Builder().clusterId(clusterID).region(region).xAuthRefreshToken(authRefreshToken).build();
    Response<NamespaceSearchResult> response = service.getNamespaces(getOptions).execute();
    System.out.println(response.getResult());
  • clusterID = "{clusterID}";
    region = "{region}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.getNamespaces({ 'clusterId': clusterID, 'region': region, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • clusterID = "{clusterID}"
    region = "{region}"
    authRefreshToken="{authRefreshToken}"
    response = self.service.get_namespaces(cluster_id=clusterID, region=region, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Paginated list of namespace search results

Status Code

  • List of namespaces on the cluster that are visible by the current user

  • Unauthorized

  • No Permissions

  • No such cluster

No Sample Response

This method does not specify any sample responses.

Deploy operators

Deploy operators on a kubernetes cluster

POST /deploy/kubernetes/olm/operator

Request

Custom Headers

  • IAM Refresh token

Cluster request data

  • createOption := service.NewCreateOperatorOptions(authRefreshToken)
    createOption.SetNamespaces({namespaces}}
    createOption.SetClusterID("{clusterID}")
    createOption.SetRegion("{region}")
    createOption.SetVersionLocatorID("{versionLocator}")
    _, response, _ := service.CreateOperator(createOption)
    fmt.Println(response)
  • String namespaces = {namespaces};
    String clusterID = "{clusterID}";
    String region = "{region}";
    String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    CreateOperatorOptions createOptions = new CreateOperatorOptions.Builder().namespaces(namespaces).clusterId(clusterID).region(region).xAuthRefreshToken(authRefreshToken).versionLocatorId(versionLocator).build();
    Response<List<OperatorDeployResult>> response = service.createOperator(createOptions).execute();
    System.out.println(response.getResult());
  • clusterID = "{clusterID}";
    region = "{region}";
    namespaces = "{namespaces}";
    versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.createOperator({ 'clusterId': clusterID, 'region': region, 'namespaces': namespaces, 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • clusterID = "{clusterID}"
    region = "{region}"
    namespaces = {namespaces}
    authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.create_operator(version_locator_id=versionLocator, cluster_id=clusterID, region=region, namespaces=namespaces, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Operator deploy result

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

List operators

List the operators from a kubernetes cluster

GET /deploy/kubernetes/olm/operator

Request

Custom Headers

  • IAM Refresh token

Query Parameters

  • Cluster identification

  • Cluster region

  • A dotted value of catalogID.versionID

  • clusterID := "{clusterID}"
    region := "{region}"
    versionLocator := "{versionLocator}"
    authRefreshToken := "{authRefreshToken}"
    listOptions := service.NewListOperatorsOptions(authRefreshToken, clusterID, region, versionLocator)
    _, response, _ := service.ListOperators(listOptions)
    fmt.Println(response)
  • String clusterID = "{clusterID}";
    String region = "{region}";
    String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    ListOperatorsOptions listOptions = new ListOperatorsOptions.Builder().clusterId(clusterID).region(region).xAuthRefreshToken(authRefreshToken).versionLocatorId(versionLocator).build();
    Response<List<OperatorDeployResult>> response = service.listOperators(listOptions).execute();
    System.out.println(response.getResult());
  • clusterID = "{clusterID}";
    region = "{region}";
    versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.listOperators({ 'clusterId': clusterID, 'region': region, 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • clusterID = "{clusterID}"
    region = "{region}"
    authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.list_operators(version_locator_id=versionLocator, cluster_id=clusterID, region=region, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Operator deploy result

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Update operators

Update the operators on a kubernetes cluster

PUT /deploy/kubernetes/olm/operator

Request

Custom Headers

  • IAM Refresh token

Cluster request data

  • replaceOptions := service.NewReplaceOperatorOptions(authRefreshToken)
    replaceOptions.SetNamespaces({namespaces}}
    replaceOptions.SetClusterID("{clusterID}")
    replaceOptions.SetRegion("{region}")
    replaceOptions.SetVersionLocatorID("{versionLocator}")
    _, response, _ := service.ReplaceOperator(replaceOptions)
    fmt.Println(response)
  • String namespaces = {namespaces};
    String clusterID = "{clusterID}";
    String region = "{region}";
    String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    ReplaceOperatorOptions replaceOptions = new ReplaceOperatorOptions.Builder().namespaces(namespaces).clusterId(clusterID).region(region).xAuthRefreshToken(authRefreshToken).versionLocatorId(versionLocator).build();
    Response<List<OperatorDeployResult>> response = service.replaceOperator(replaceOptions).execute();
    System.out.println(response.getResult());
  • clusterID = "{clusterID}";
    region = "{region}";
    namespaces = "{namespaces}";
    versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.replaceOperator({ 'clusterId': clusterID, 'region': region, 'namespaces': namespaces, 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • clusterID = "{clusterID}"
    region = "{region}"
    namespaces = {namespaces}
    authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.replace_operator(version_locator_id=versionLocator, cluster_id=clusterID, region=region, namespaces=namespaces, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Operator deploy result

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Delete operators

Delete operators from a kubernetes cluster

DELETE /deploy/kubernetes/olm/operator

Request

Custom Headers

  • IAM Refresh token

Query Parameters

  • Cluster identification

  • Cluster region

  • A dotted value of catalogID.versionID

  • deleteOptions := service.NewDeleteOperatorOptions(authRefreshToken, clusterID, region, versionLocator)
    deleteOptions.SetNamespaces({namespaces}}
    deleteOptions.SetClusterID("{clusterID}")
    deleteOptions.SetRegion("{region}")
    deleteOptions.SetVersionLocatorID("{versionLocator}")
    _, response, _ := service.ReplaceOperator(deleteOptions)
    fmt.Println(response)
  • String clusterID = "{clusterID}";
    String region = "{region}";
    String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    DeleteOperatorOptions deleteOptions = new DeleteOperatorOptions.Builder().clusterId(clusterID).region(region).xAuthRefreshToken(authRefreshToken).versionLocatorId(versionLocator).build();
    Response<Void> response = service.deleteOperator(deleteOptions).execute();
    System.out.println(response.getResult());
  • clusterID = "{clusterID}";
    region = "{region}";
    versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.deleteOperator({ 'clusterId': clusterID, 'region': region, 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • clusterID = "{clusterID}"
    region = "{region}"
    authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.delete_operator(version_locator_id=versionLocator, cluster_id=clusterID, region=region, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Install version

Create an install for the specified version

POST /versions/{version_loc_id}/install

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • A dotted value of catalogID.versionID

Cluster request data

  • versionLocator := "{versionLocator}"
    authRefreshToken := "{authRefreshToken}"
    installOptions := service.NewInstallVersionOptions(versionLocator, authRefreshToken)
    response, _ := service.InstallVersion(installOptions)
    fmt.Println(response)
  • String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    InstallVersionOptions installOptions = new InstallVersionOptions.Builder().xAuthRefreshToken(authRefreshToken).versionLocatorId(versionLocator).build();
    Response<Void> response = service.installVersion(installOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.installVersion({ 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.install_version(version_locator_id=versionLocator, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Status Code

  • Request accepted

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Pre-install version

Create a pre-install for the specified version

POST /versions/{version_loc_id}/preinstall

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • A dotted value of catalogID.versionID

Cluster request data

  • versionLocator := "{versionLocator}"
    authRefreshToken := "{authRefreshToken}"
    installOptions := service.NewPreinstallVersionOptions(versionLocator, authRefreshToken)
    response, _ := service.PreinstallVersion(installOptions)
    fmt.Println(response)
  • String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    PreinstallVersionOptions installOptions = new PreinstallVersionOptions.Builder().xAuthRefreshToken(authRefreshToken).versionLocatorId(versionLocator).build();
    Response<Void> response = service.preinstallVersion(installOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.preinstallVersion({ 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.preinstall_version(version_locator_id=versionLocator, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Status Code

  • Request accepted

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Get version pre-install status

Get the pre-install status for the specified version

GET /versions/{version_loc_id}/preinstall

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • A dotted value of catalogID.versionID

Query Parameters

  • ID of the cluster

  • Cluster region

  • Required if the version's pre-install scope is namespace

  • versionLocator := "{versionLocator}"
    authRefreshToken := "{authRefreshToken}"
    getOptions := service.NewGetPreinstallOptions(versionLocator, authRefreshToken)
    _, response, _ := service.GetPreinstall(getOptions)
    fmt.Println(response)
  • String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    GetPreinstallOptions installOptions = new GetPreinstallOptions.Builder().xAuthRefreshToken(authRefreshToken).versionLocId(versionLocator).build();
    Response<Void> response = service.getPreinstall(installOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.getPreinstall({ 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.get_preinstall(version_locator_id=versionLocator, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Installation status

Status Code

  • Preinstall status

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Validate offering

Validate the offering associated with the specified version

POST /versions/{version_loc_id}/validation/install

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • A dotted value of catalogID.versionID

Query Parameters

  • The name of a target account context on a catalog

Cluster request data

  • versionLocator := "{versionLocator}"
    authRefreshToken := "{authRefreshToken}"
    installOptions := service.NewValidationInstallOptions(versionLocator, authRefreshToken)
    response, _ := service.ValidationInstall(installOptions)
    fmt.Println(response)
  • String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    ValidationInstallOptions installOptions = new ValidationInstallOptions.Builder().xAuthRefreshToken(authRefreshToken).versionLocId(versionLocator).build();
    Response<Void> response = service.validationInstall(installOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.validationInstall({ 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.validation_install(version_locator_id=versionLocator, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Status Code

  • Request accepted

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Get offering install status

Returns the install status for the specified offering version

GET /versions/{version_loc_id}/validation/install

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • A dotted value of catalogID.versionID

Query Parameters

  • The name of a target account context on a catalog

  • versionLocator := "{versionLocator}"
    authRefreshToken := "{authRefreshToken}"
    getOptions := service.NewGetValidationStatusOptions(versionLocator, authRefreshToken)
    _, response, _ := service.GetValidationStatus(getOptions)
    fmt.Println(response)
  • String authRefreshToken = "{authRefreshToken}";
    String versionLocator = "{versionLocator}";
    GetValidationStatusOptions getOptions = new GetValidationStatusOptions.Builder().xAuthRefreshToken(authRefreshToken).versionLocId(versionLocator).build();
    Response<Void> response = service.getValidationStatus(getOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.getValidationStatus({ 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.get_validation_status(version_locator_id=versionLocator, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Validation response

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog/offering

No Sample Response

This method does not specify any sample responses.

Get schematics workspaces

Returns the schematics workspaces for the specified offering version

GET /versions/{version_loc_id}/workspaces

Request

Path Parameters

  • A dotted value of catalogID.versionID

Query Parameters

  • The name of a target account context on a catalog

  • versionLocator := "{versionLocator}"
    authRefreshToken := "{authRefreshToken}"
    getOptions := service.NewGetSchematicsWorkspacesOptions(versionLocator, authRefreshToken)
    _, response, _ := service.GetSchematicsWorkspaces(getOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    GetSchematicsWorkspacesOptions getOptions = new GetSchematicsWorkspacesOptions.Builder().versionLocId(versionLocator).build();
    Response<SchematicsWorkspaceSearchResult> response = service.getSchematicsWorkspaces(getOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    authRefreshToken = "{authRefreshToken}";
    response = await service.getSchematicsWorkspaces({ 'versionLocatorId': versionLocator, 'xAuthRefreshToken': authRefreshToken });
    console.log(response);
  • authRefreshToken="{authRefreshToken}"
    versionLocator = "{versionLocator}"
    response = self.service.get_schematics_workspaces(version_locator_id=versionLocator, x_auth_refresh_token=authRefreshToken)
    print(response)

Response

Result of schematics workspace search

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog/offering/kind/version

No Sample Response

This method does not specify any sample responses.

Get schematics permissions

Returns the schematics permissions for the specified user

GET /versions/{version_loc_id}/candeploy

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of catalogID.versionID

Query Parameters

  • ID of the cluster

  • Cluster region

  • Required if the version's pre-install scope is namespace

  • Resource group identification

  • versionLocator := "{versionLocator}"
    clusterID := "{clusterID}"
    region := "{region}"
    deployOptions := service.NewCanDeploySchematicsOptions(versionLocator, clusterID, region)
    _, response, _ := service.CanDeploySchematics(deployOptions)
    fmt.Println(response)
  • String versionLocator = "{versionLocator}";
    CanDeploySchematicsOptions deployOptions = new CanDeploySchematicsOptions.Builder().versionLocId(versionLocator).build();
    Response<DeployRequirementsCheck> response = service.canDeploySchematics(deployOptions).execute();
    System.out.println(response.getResult());
  • versionLocator = "{versionLocator}";
    clusterID = "{clusterID}";
    region = "{region}";
    response = await service.canDeploySchematics({ 'versionLocatorId': versionLocator, 'clusterId': clusterID, 'region': region });
    console.log(response);
  • versionLocator = "{versionLocator}"
    response = self.service.can_deploy_schematics(version_locator_id=versionLocator)
    print(response)

Response

Failed deployment requirements

Status Code

  • Failed requirement checks, by pre_install and install

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get resource groups

Returns all active resource groups in the current account, where the current user has permission to create schematics workspaces.

GET /deploy/schematics/resourcegroups

Request

No Request Parameters

This method does not accept any request parameters.

  • getOptions := service.NewGetResourceGroupsOptions()
    _, response, _ := service.GetResourceGroups(getOptions)
    fmt.Println(response)
  • Response<ResourceGroups> response = service.getResourceGroups().execute();
    System.out.println(response.getResult());
  • response = await service.getResourceGroups();
    console.log(response);
  • response = self.service.get_resource_groups()
    print(response)

Response

Resource groups details

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get license providers

Get license providers

GET /license/license_providers

Request

No Request Parameters

This method does not accept any request parameters.

  • getOptions := service.NewGetLicenseProvidersOptions()
    _, response, _ := service.GetLicenseProviders(getOptions)
    fmt.Println(response)
  • Response<LicenseProviders> response = service.getLicenseProviders().execute();
    System.out.println(response.getResult());
  • response = self.service.get_license_providers()
    print(response)
  • response = await service.getLicenseProviders();
    console.log(response);

Response

Paginated list of license providers

Status Code

  • Successful response.

No Sample Response

This method does not specify any sample responses.

List license entitlements

Returns the license entitlements bound to an account

GET /license/entitlements

Request

Query Parameters

  • The account ID to query for the entitlement. Default is the account from the user's token.

  • The license product ID. If from PPA (Passport Advantage) this is the product Part number(s) which can be one or more IDs, eg. D1YGZLL,5737L09

  • The GC ID of the specific offering version.

  • The state of the license entitlement. eg. usually 'active', or if it's been deleted will show as 'removed'.

  • listOptions := service.NewListLicenseEntitlementsOptions()
    _, response, _ := service.ListLicenseEntitlements(listOptions)
    fmt.Println(response)
  • String id = "{id}";
    ListLicenseEntitlementsOptions getOptions = new ListLicenseEntitlementsOptions.Builder().licenseProductId(id).build();
    Response<LicenseEntitlements> response = service.listLicenseEntitlements(getOptions).execute();
    System.out.println(response.getResult());
  • response = self.service.list_license_entitlements()
    print(response)
  • response = await service.listLicenseEntitlements();
    console.log(response);

Response

Paginated list of license entitlements

Status Code

  • Successful response.

No Sample Response

This method does not specify any sample responses.

Create license entitlement

Create an entitlement for a Cloud account. This is used to give an account an entitlement to a license.

POST /license/entitlements

Request

Query Parameters

  • if not specified the token's account will be used

License entitlement information

  • createOptions := service.NewCreateLicenseEntitlementOptions()
    createOptions.SetName("{name}")
    _, response, _ := service.CreateLicenseEntitlement(createOptions)
    fmt.Println(response)
  • String name = "{name}";
    CreateLicenseEntitlementOptions createOptions = new CreateLicenseEntitlementOptions.Builder().name(name).build();
    Response<LicenseEntitlement> response = service.createLicenseEntitlement(createOptions).execute();
    System.out.println(response.getResult());
  • name = "{name}";
    response = await service.createLicenseEntitlement({ 'name': name } );
    console.log(response);
  • name = "{name}"
    response = self.service.create_license_entitlement(name=name)
    print(response)

Response

License entitlement

Status Code

  • Successful creation

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get license entitlements for license product ID

Get the license entitlements for a specific license product ID bound to an account

GET /license/entitlements/productID/{license_product_id}

Request

Path Parameters

  • The license product ID. If from PPA (Passport Advantage) this is a specific product Part number, eg. D1YGZLL

Query Parameters

  • The account ID to query for the entitlement. Default is the account from the user's token.

  • The GC ID of the specific offering version.

  • getOptions := service.NewGetLicenseEntitlementsOptions()
    _, response, _ := service.GetLicenseEntitlements(getOptions)
    fmt.Println(response)
  • GetLicenseEntitlementsOptions getOptions = new GetLicenseEntitlementsOptions.Builder().build();
    Response<LicenseEntitlements> response = service.getLicenseEntitlements(getOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}";
    response = await service.getLicenseEntitlements({ 'licenseProductId': id } );
    console.log(response);
  • id = "{id}"
    response = self.service.get_license_entitlements(license_product_id=id)
    print(response)

Response

Paginated list of license entitlements

Status Code

  • Successful response.

No Sample Response

This method does not specify any sample responses.

Delete license entitlement

Delete a license entitlement that is bound to an account. Note that BSS will mark the entitlement field "state": "removed".

DELETE /license/entitlements/{entitlement_id}

Request

Path Parameters

  • The specific entitlement ID (can be obtained from one of the license entitlement queries)

Query Parameters

  • The account ID to query for the entitlement. Default is the account from the user's token.

  • id := "{id}"
    deleteOptions := service.NewDeleteLicenseEntitlementOptions(id)
    _, response, _ := service.GetLicenseEntitlements(deleteOptions)
    fmt.Println(response)
  • String id = "{id}";
    DeleteLicenseEntitlementOptions deleteOptions = new DeleteLicenseEntitlementOptions.Builder().entitlementId(id).build();
    Response<Void> response = service.deleteLicenseEntitlement(deleteOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}";
    response = await service.deleteLicenseEntitlement({ 'entitlementId': id } );
    console.log(response);
  • id = "{id}"
    response = self.service.delete_license_entitlement(entitlement_id=id)
    print(response)

Response

Status Code

  • Successful response.

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get licenses

Retrieve available licenses from supported license subsystems. This is used to get the list of available licenses that the user has

GET /license/licenses

Request

Query Parameters

  • ID of the license provider, ie. retrieved from GET license_providers

  • If not specified the token's account will be used

  • License name

  • Type of license, if not specified, default is ibm-ppa

  • The license product ID. If from PPA (Passport Advantage) this is the product Part number, eg. D1YGZLL

  • getOptions := service.NewGetLicensesOptions(id)
    _, response, _ := service.GetLicenseEntitlements(getOptions)
    fmt.Println(response)
  • GetLicensesOptions getOptions = new GetLicensesOptions.Builder().build();
    Response<Licenses> response = service.getLicenses(getOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}";
    response = await service.getLicenses({ 'licenseProviderId': id } );
    console.log(response);
  • id = "{id}"
    response = self.service.get_(license_provider_id=id)
    print(response)

Response

Paginated list of licenses

Status Code

  • Successful response.

No Sample Response

This method does not specify any sample responses.

Search for versions

Search across accounts for all versions usig a particular license, requires global admin permission.

GET /search/license/versions

Request

Query Parameters

  • query, for now only "q=entitlement_key:" is supported

  • name := "{name}"
    searchOptions := service.NewSearchLicenseVersionsOptions(name)
    response, _ := service.SearchLicenseVersions(searchOptions)
  • String name = "{name}";
    SearchLicenseVersionsOptions getOptions = new SearchLicenseVersionsOptions.Builder().q(name).build();
    service.searchLicenseVersions(getOptions).execute();
    System.out.println(response.getResult());
  • name="{name}"
    response = self.service.search_license_versions(q=name)
    print(response)
  • name = "{name}";
    response = await service.searchLicenseVersions({ 'q': name });
    console.log(response);

Response

Status Code

  • Successful response with a search result of version locators, a dotted value of catalogID.versionID

No Sample Response

This method does not specify any sample responses.

Search for offerings

Search across accounts for all offerings using a particular license, requires global admin permission.

GET /search/license/offerings

Request

Query Parameters

  • query, for now only "q=entitlement_key:" is supported

  • name := "{name}"
    searchOptions := service.NewSearchLicenseOfferingsOptions(name)
    response, _ := service.SearchLicenseOfferings(searchOptions)
  • String name = "{name}";
    SearchLicenseOfferingsOptions getOptions = new SearchLicenseOfferingsOptions.Builder().q(name).build();
    Response<Void> response = service.searchLicenseOfferings(getOptions).execute();
    System.out.println(response.getResult());
  • name = "{name}"
    response = self.service.search_license_offerings(q=name)
    print(response)
  • name = "{name}";
    response = await service.searchLicenseOfferings({ 'q': name });
    console.log(response);

Response

Status Code

  • Successful response with a search result of version locators, a dotted value of catalogID.versionID

No Sample Response

This method does not specify any sample responses.

List objects across catalogs

List the available objects from both public and private catalogs. These copies cannot be used for updating. They are not complete and only return what is visible to the caller.

GET /objects

Auditing

Calling this method generates the following auditing event.

Request

Query Parameters

  • Lucene query string

  • The kind of the object. It will default to "vpe"

    Allowable values: [vpe]

  • The maximum number of results to return

    Possible values: value ≤ 1000

    Default: 100

  • The number of results to skip before returning values

    Default: 0

  • When true, hide private objects that correspond to public or IBM published objects

  • Display a digests of search results, has default value of true

Response

Paginated object search result

Status Code

  • Successful response. Your permissions determine what you can see

No Sample Response

This method does not specify any sample responses.

List objects within a catalog

List the available objects within the specified catalog.

GET /catalogs/{catalog_identifier}/objects

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

Query Parameters

  • The number of results to return

    Possible values: value ≤ 1000

    Default: 100

  • The number of results to skip before returning values

    Default: 0

  • Only return results that contain the specified string

  • The field on which the output is sorted. Sorts by default by label property. Available fields are name, label, created, and updated. By adding - (i.e. -label) in front of the query string, you can specify descending order. Default is ascending order.

Response

Paginated object search result

Status Code

  • Successful response. Your permissions determine what you can see

No Sample Response

This method does not specify any sample responses.

Create catalog object

Create an object with a specific catalog

POST /catalogs/{catalog_identifier}/objects

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

object information

Response

object information

Status Code

  • Catalog object created successfully

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get catalog object

Get the specified object from within the specified catalog

GET /catalogs/{catalog_identifier}/objects/{object_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

Response

object information

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog/object

No Sample Response

This method does not specify any sample responses.

Update catalog object

Update an object within a specific catalog

PUT /catalogs/{catalog_identifier}/objects/{object_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

object information

Response

object information

Status Code

  • Catalog object was updated successfully

  • Unauthorized

  • No Permissions

  • No such catalog/object

No Sample Response

This method does not specify any sample responses.

Delete catalog object

Delete a specific object within a specific catalog

DELETE /catalogs/{catalog_identifier}/objects/{object_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

Response

Status Code

  • Catalog object was deleted successfully

  • Unauthorized

  • No Permissions

  • No such catalog

No Sample Response

This method does not specify any sample responses.

Get object audit logs

Get the audit logs associated with an object.

GET /catalogs/{catalog_identifier}/objects/{object_identifier}/audits

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get an object audit log entry

Get the full audit log entry associated with an object.

GET /catalogs/{catalog_identifier}/objects/{object_identifier}/audits/{auditlog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

  • Auditlog ID

Query Parameters

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

An audit log which describes a change made to a catalog or associated resource.

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Make object consumable for sharing

Set the object as consumable in order to use the object sharing permissions.

POST /catalogs/{catalog_identifier}/objects/{object_identifier}/consume-publish

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Allows object to be shared

Set the share options on an object.

POST /catalogs/{catalog_identifier}/objects/{object_identifier}/share

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

Share setting information

Response

Share setting information

Status Code

  • Successful response. Your permissions determine what you can see

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get object access list

Get the access list associated with the specified object

GET /catalogs/{catalog_identifier}/objects/{object_identifier}/accessv1

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

Response

Paginated Offering search result

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Check for account ID in object access list

Determine if an account ID is in an object's access list

GET /catalogs/{catalog_identifier}/objects/{object_identifier}/access/{access_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

  • Identifier for access. Use 'accountId' or '-acct-accountId' for an account, '-ent-enterpriseid' for an enterprise, and '-entgrp-enterprisegroupid' for an enterprise group.

Response

access

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

  • The specified account ID was not found in the object's access list.

No Sample Response

This method does not specify any sample responses.

Add account ID to object access list

Add an account ID to an object's access list.

POST /catalogs/{catalog_identifier}/objects/{object_identifier}/access/{access_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

  • Identifier for access. Use 'accountId' or '-acct-accountId' for an account, '-ent-enterpriseid' for an enterprise, and '-entgrp-enterprisegroupid' for an enterprise group.

Response

Status Code

  • Created.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Remove account ID from object access list

Delete the specified account ID from the specified object's access list

DELETE /catalogs/{catalog_identifier}/objects/{object_identifier}/access/{access_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

  • Identifier for access. Use 'accountId' or '-acct-accountId' for an account, '-ent-enterpriseid' for an enterprise, and '-entgrp-enterprisegroupid' for an enterprise group.

Response

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get object access list

Deprecated - use /accessv1 instead

GET /catalogs/{catalog_identifier}/objects/{object_identifier}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

Query Parameters

  • The maximum number of results to return

    Possible values: value ≤ 1000

    Default: 100

  • The number of results to skip before returning values

    Default: 0

Response

Paginated object search result

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Delete accesses from object access list

Delete all or a set of accesses from an object's access list.

DELETE /catalogs/{catalog_identifier}/objects/{object_identifier}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

A list of accesses to delete. An entry with star["*"] will remove all accesses

Response

Access List Add/Remove result

Status Code

  • Successful response, still need to look for errors for specific accesses

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Add accesses to object access list

Add one or more accesses to the specified object's access list.

POST /catalogs/{catalog_identifier}/objects/{object_identifier}/access

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

A list of accesses to add.

Response

Access List Add/Remove result

Status Code

  • Successful response, still need to look for errors for specific accesses

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get catalog object audit log

Get the audit log associated with a specific catalog object.

GET /catalogs/{catalog_identifier}/objects/{object_identifier}/audit

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Catalog identifier

  • Object identifier

Query Parameters

  • Log identification.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Create an offering resource instance

Provision a new offering in a given account, and return its resource instance

POST /instances/offerings

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

A offering instance resource (provision instance of a catalog offering)

  • label := "{label}"
    shortDesc := "{shortDesc}"
    createOptions := service.NewCreateCatalogOptions()
    createOptions.SetLabel(label)
    createOptions.SetShortDescription(shortDesc)
    _, response, _ := service.CreateCatalog(createOptions)
    fmt.Println(response)
  • String label = "{label}";
    String shortDesc = "{shortDesc}";
    CreateCatalogOptions createOptions = new CreateCatalogOptions.Builder().label(label).shortDescription(shortDesc).build();
    Response<Catalog> response = service.createCatalog(createOptions).execute();
    System.out.println(response.getResult());
  • label = "{label}"
    shortDesc = "{shortDesc}"
    response = self.service.create_catalog(label=label, short_description=shortDesc)
    print(response)
  • label = "{label}";
    shortDesc = "{shortDesc}";
    response = await service.createCatalog({ 'label': label, 'shortDescription': shortDesc });
    console.log(response);

Response

A offering instance resource (provision instance of a catalog offering)

Status Code

  • New instance created successfully

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get Offering Instance

Get the resource associated with an installed offering instance.

GET /instances/offerings/{instance_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Version Instance identifier

  • id := "{id}"
    getOptions := service.NewGetCatalogOptions(id)
    _, response, _ := service.GetCatalog(getOptions)
    fmt.Println(response)
  • String id = "{id}";
    GetCatalogOptions getOptions = new GetCatalogOptions.Builder().catalogIdentifier(id).build();
    Response<Catalog> response = service.getCatalog(getOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}"
    response = self.service.get_catalog(catalog_identifier=id)
    print(response)
  • id = "{id}";
    response = await service.getCatalog({ 'catalogIdentifier': id });
    console.log(response);

Response

A offering instance resource (provision instance of a catalog offering)

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog id

No Sample Response

This method does not specify any sample responses.

Update Offering Instance

Update an installed offering instance.

PUT /instances/offerings/{instance_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • Version Instance identifier

A offering instance resource (provision instance of a catalog offering)

  • id := "{id}"
    getOptions := service.NewGetCatalogOptions(id)
    _, response, _ := service.GetCatalog(getOptions)
    fmt.Println(response)
  • String id = "{id}";
    GetCatalogOptions getOptions = new GetCatalogOptions.Builder().catalogIdentifier(id).build();
    Response<Catalog> response = service.getCatalog(getOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}"
    response = self.service.get_catalog(catalog_identifier=id)
    print(response)
  • id = "{id}";
    response = await service.getCatalog({ 'catalogIdentifier': id });
    console.log(response);

Response

A offering instance resource (provision instance of a catalog offering)

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog id

No Sample Response

This method does not specify any sample responses.

Delete a version instance

Delete and instance deployed out of a product version

DELETE /instances/offerings/{instance_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Custom Headers

  • IAM Refresh token

Path Parameters

  • Version Instance identifier

  • id := "{id}"
    deleteOptions := service.NewDeleteCatalogOptions(id)
    response, _ := service.DeleteCatalog(deleteOptions)
    fmt.Println(response)
  • String id = "{id}";
    DeleteCatalogOptions deleteOptions = new DeleteCatalogOptions.Builder().catalogIdentifier(id).build();
    Response<Void> response = service.deleteCatalog(deleteOptions).execute();
    System.out.println(response.getResult());
  • id = "{id}"
    response = self.service.delete_catalog(catalog_identifier=id, id=id)
    print(response)
  • id = "{id}";
    response = await service.deleteCatalog({ 'catalogIdentifier': id, 'id': id });
    console.log(response);

Response

Status Code

  • Successful Result

  • Unauthorized

  • No Permissions

  • No such catalog

No Sample Response

This method does not specify any sample responses.

Get offering instance audit logs

Get the audit logs associated with an offering instance.

GET /instances/offerings/{instance_identifier}/audits

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Version Instance identifier

Query Parameters

  • Start token for a query

  • number or results to return in the query

    Possible values: value ≤ 1000

    Default: 100

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

A collection of audit records

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get an offering instance audit log entry

Get the full audit log entry associated with an offering instance.

GET /instances/offerings/{instance_identifier}/audits/{auditlog_identifier}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • Version Instance identifier

  • Auditlog ID

Query Parameters

  • Auditlog Lookup Names - by default names are not returned in auditlog.

Response

An audit log which describes a change made to a catalog or associated resource.

Status Code

  • Successful response. Your permissions determine what you can see

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Get offering/plan 'branch'

Get the Offering/Plan 'branch' for the specified locator ID

GET /plans/{plan_loc_id}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of sw.catalogID.resourceID

  • planLocator := "{planLocator}"
    planOptions := service.NewGetVersionOptions(planLocator)
    _, response, _ := service.GetPlan(planOptions)
    fmt.Println(response)
  • String planLocator = "{planLocator}";
    GetPlanOptions getOptions = new GetPlanOptions.Builder().planLocId(planLocator).build();
    Response<Offering> response = service.getPlan(getOptions).execute();
    System.out.println(response.getResult());
  • planLocator = "{planLocator}"
    response = self.service.get_plan(plan_loc_id=planLocator)
    print(response)
  • planLocator = "{planLocator}";
    response = await service.getPlan({ 'planLocId': planLocator });
    console.log(response);

Response

Offering information

Status Code

  • Successful response. Your permissions determine what you can see

No Sample Response

This method does not specify any sample responses.

Delete plan

Delete the specified plan. A plan cannot be deleted if it published.

DELETE /plans/{plan_loc_id}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of sw.catalogID.resourceID

  • planLocator := "{planLocator}"
    deleteOptions := service.NewDeletePlanOptions(planLocator)
    response, _ := service.DeletePlan(deleteOptions)
    fmt.Println(response)
  • String planLocator = "{planLocator}";
    deleteOption = new DeletePlanOptions.Builder().planLocId(planLocator).build();
    Response<Void> response = service.deletePlan(deleteOption).execute();
    System.out.println(response.getResult());
  • planLocator = "{planLocator}"
    response = self.service.delete_plan(plan_loc_id=planLocator)
    print(response)
  • planLocator = "{planLocator}";
    response = await service.deletePlan({ 'planLocId': planLocator });
    console.log(response);

Response

Status Code

  • Plan deleted successfully

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Make plan consumable for sharing

Set the plan as consumable in order to inherit the offering sharing permissions

POST /plans/{plan_loc_id}/consume-publish

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of sw.catalogID.resourceID

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Sets plan to be deprecated in a certain time period

Set or cancel the plan to be deprecated.

POST /plans/{plan_loc_id}/deprecate/{setting}

Auditing

Calling this method generates the following auditing event.

Request

Path Parameters

  • A dotted value of sw.catalogID.resourceID

  • Set deprecation (true) or cancel deprecation (false)

    Allowable values: [true,false]

Information for deprecation request

Response

Status Code

  • Request accepted.

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Returns available locations based on supplied filter

Returns available locations based on supplied filter

POST /regions

Request

Query Parameters

  • Filter to apply for search

  • Returns inactive locations when true

  • The maximum number of results to return

    Possible values: value ≤ 1000

    Default: 100

  • The number of results to skip before returning values

    Default: 0

Response

Paginated location search result

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

Returns available locations based on filter set on the account and supplied filter

Returns available locations based on filter set on the account and supplied filter

GET /regions

Request

Query Parameters

  • Filter to apply for search

  • Returns inactive locations when true

  • The maximum number of results to return

    Possible values: value ≤ 1000

    Default: 100

  • The number of results to skip before returning values

    Default: 0

Response

Paginated location search result

Status Code

  • Successful response

  • Bad request

  • Unauthorized

  • No Permissions

No Sample Response

This method does not specify any sample responses.

id=pythonclassName=tab-item-selected