Skip to content

Latest commit

 

History

History
110 lines (76 loc) · 3.37 KB

File metadata and controls

110 lines (76 loc) · 3.37 KB

DataProvidersDiscoveryAPI

All URIs are relative to https://api.mydatamyconsent.com

Method HTTP request Description
v1DataProvidersGet GET /v1/data-providers Discover all data providers in my data my consent by country and filters.
v1DataProvidersIdGet GET /v1/data-providers/{id} Get a data provider details by provider id.

v1DataProvidersGet

    open class func v1DataProvidersGet(countryIso2Code: String, pageNo: Int? = nil, pageSize: Int? = nil, completion: @escaping (_ data: PaginatedListOfDataProviders?, _ error: Error?) -> Void)

Discover all data providers in my data my consent by country and filters.

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent

let countryIso2Code = "countryIso2Code_example" // String | 
let pageNo = 987 // Int |  (optional)
let pageSize = 987 // Int |  (optional)

// Discover all data providers in my data my consent by country and filters.
DataProvidersDiscoveryAPI.v1DataProvidersGet(countryIso2Code: countryIso2Code, pageNo: pageNo, pageSize: pageSize) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
countryIso2Code String
pageNo Int [optional]
pageSize Int [optional]

Return type

PaginatedListOfDataProviders

Authorization

OAuth2ClientCredentials

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

[Back to top] [Back to API list] [Back to Model list] [Back to README]

v1DataProvidersIdGet

    open class func v1DataProvidersIdGet(id: String, completion: @escaping (_ data: DataProviderDetails?, _ error: Error?) -> Void)

Get a data provider details by provider id.

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent

let id = "id_example" // String | 

// Get a data provider details by provider id.
DataProvidersDiscoveryAPI.v1DataProvidersIdGet(id: id) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
id String

Return type

DataProviderDetails

Authorization

OAuth2ClientCredentials

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

[Back to top] [Back to API list] [Back to Model list] [Back to README]