Discover Service AP Is

Discover Service AP Is

Discover published service APIs and retrieve a collection of APIs according to certain filter criteria.

Request
URI
GET
https://{api_host}/dms/service-apis/v1/allServiceAPIs
COPY
Query Parameters
string
api-invoker-id
Required

String identifying the API invoker assigned by the CAPIF core function. It also represents the CCF identifier in the CAPIF-6/6e interface.

string
api-name
Optional

API name, it is set as {apiName} part of the URI structure as defined in clause 5.2.4 of 3GPP TS 29.122.

string
api-version
Optional

API major version the URI (e.g. v1).

comm-type
Optional

Communication type used by the API (e.g. REQUEST_RESPONSE).

protocol
Optional

Protocol used by the API.

string
aef-id
Optional

AEF identifer.

data-format
Optional

Data formats used by the API (e.g. serialization protocol JSON used).

string
api-cat
Optional

The service API category to which the service API belongs to.

supported-features
Optional

Features supported by the NF consumer for the CAPIF Discover Service API. Unavailable in R1.

api-supported-features
Optional

Features supported by the discovered service API indicated by api-name parameter. This may only be present if api-name query parameter is present. Unavailable in R1.

Header Parameters
string
Version
Optional

If provided in a request, the value of the header is a string signalling the desired version of the API to be used in handling the request. If the provided version is not available, a 406 Not Acceptable response will be sent. If no Version header is provided, the latest available version will be used. This mechanism allows a user-agent to request a specfic version of the API when multiple versions are available.


Responses
200

The response body contains the result of the search over the list of registered APIs.

Returns DiscoveredAPIs of type(s) application/json
{
    "serviceAPIDescriptions": [
        {
            "apiName": "string",
            "apiId": "string",
            "aefProfiles": [
                {
                    "aefId": "string",
                    "versions": [
                        {
                            "apiVersion": "string",
                            "expiry": "string",
                            "resources": [
                                {
                                    "resourceName": "string",
                                    "uri": "string",
                                    "custOpName": "string",
                                    "operations": [
                                        {}
                                    ],
                                    "description": "string"
                                }
                            ],
                            "custOperations": [
                                {
                                    "custOpName": "string",
                                    "operations": [
                                        {}
                                    ],
                                    "description": "string"
                                }
                            ]
                        }
                    ],
                    "securityMethods": [
                        {}
                    ],
                    "domainName": "string",
                    "interfaceDescriptions": [
                        {
                            "ipv4Addr": "string",
                            "ipv6Addr": "string",
                            "fqdn": "string",
                            "port": 0,
                            "apiPrefix": "string",
                            "securityMethods": [
                                {}
                            ]
                        }
                    ]
                }
            ],
            "description": "string",
            "supportedFeatures": "string",
            "shareableInfo": {
                "isShareable": false,
                "capifProvDoms": [
                    "string"
                ]
            },
            "serviceAPICategory": "string",
            "apiSuppFeats": "string",
            "pubApiPath": {
                "ccfIds": [
                    "string"
                ]
            },
            "ccfId": "string"
        }
    ]
}
serviceAPIDescriptions
Required

Description of the service API as published by the service. Each service API description shall include AEF profiles matching the filter criteria.

Response Headers

string
Version

The Version header in a response indicates the version of the API used to handle this request-response pair, in an API which has the potential to support multiple versions. Different versions may be requested using a Version header in a request.


400
Returns BadRequest of type(s) application/problem+json
{
    "type": "string",
    "title": "string",
    "status": 400,
    "detail": "Required field 'counter_names' missing.",
    "instance": "string"
}
string
type
Optional

A URI representing the type of the problem.

string
title
Required

A short summary of the error.

number
status
Required

The HTTP Response code associated with this error.

string
detail
Required

A detailed description of the error.

string
instance
Optional

An optional URI of the instance involved in the problem.


401
Returns Unauthorized of type(s) application/problem+json
{
    "type": "string",
    "title": "string",
    "status": 400,
    "detail": "Required field 'counter_names' missing.",
    "instance": "string"
}
string
type
Optional

A URI representing the type of the problem.

string
title
Required

A short summary of the error.

number
status
Required

The HTTP Response code associated with this error.

string
detail
Required

A detailed description of the error.

string
instance
Optional

An optional URI of the instance involved in the problem.


403
Returns Forbidden of type(s) application/problem+json
{
    "type": "string",
    "title": "string",
    "status": 400,
    "detail": "Required field 'counter_names' missing.",
    "instance": "string"
}
string
type
Optional

A URI representing the type of the problem.

string
title
Required

A short summary of the error.

number
status
Required

The HTTP Response code associated with this error.

string
detail
Required

A detailed description of the error.

string
instance
Optional

An optional URI of the instance involved in the problem.


404
Returns NotFound of type(s) application/problem+json
{
    "type": "string",
    "title": "string",
    "status": 400,
    "detail": "Required field 'counter_names' missing.",
    "instance": "string"
}
string
type
Optional

A URI representing the type of the problem.

string
title
Required

A short summary of the error.

number
status
Required

The HTTP Response code associated with this error.

string
detail
Required

A detailed description of the error.

string
instance
Optional

An optional URI of the instance involved in the problem.


406
Returns Unacceptable of type(s) application/problem+json
{
    "type": "string",
    "title": "string",
    "status": 400,
    "detail": "Required field 'counter_names' missing.",
    "instance": "string"
}
string
type
Optional

A URI representing the type of the problem.

string
title
Required

A short summary of the error.

number
status
Required

The HTTP Response code associated with this error.

string
detail
Required

A detailed description of the error.

string
instance
Optional

An optional URI of the instance involved in the problem.


409
Returns Conflict of type(s) application/problem+json
{
    "type": "string",
    "title": "string",
    "status": 400,
    "detail": "Required field 'counter_names' missing.",
    "instance": "string"
}
string
type
Optional

A URI representing the type of the problem.

string
title
Required

A short summary of the error.

number
status
Required

The HTTP Response code associated with this error.

string
detail
Required

A detailed description of the error.

string
instance
Optional

An optional URI of the instance involved in the problem.


500
Returns ServerError of type(s) application/problem+json
{
    "type": "string",
    "title": "string",
    "status": 400,
    "detail": "Required field 'counter_names' missing.",
    "instance": "string"
}
string
type
Optional

A URI representing the type of the problem.

string
title
Required

A short summary of the error.

number
status
Required

The HTTP Response code associated with this error.

string
detail
Required

A detailed description of the error.

string
instance
Optional

An optional URI of the instance involved in the problem.


503
Returns ServiceUnavailable of type(s) application/problem+json
{
    "type": "string",
    "title": "string",
    "status": 400,
    "detail": "Required field 'counter_names' missing.",
    "instance": "string"
}
string
type
Optional

A URI representing the type of the problem.

string
title
Required

A short summary of the error.

number
status
Required

The HTTP Response code associated with this error.

string
detail
Required

A detailed description of the error.

string
instance
Optional

An optional URI of the instance involved in the problem.