Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get Services

Description

???Get a list of all services from the service catalog.

Package Details

Interface

IOnboardingServiceManager

Syntax

Task<IEnumerable<ServiceInfo>> GetServices();

Returns

Task<IEnumerable<ServiceInfo>>

API Endpoint

Parameters

...

Parameter

...

GET

/api/v1/services

Parameter

...

Sample request body

...

languagejson

There are no parameters.

Returns

On success, 200 Ok

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

Code Block
languagec#
var services = await _serviceCatalog.GetAll();
var serviceCatalog = services.Where(x => x.IsDisplayableInCatalog);