openapi: 3.2.0 info: title: Nokia Network As Code NaC Authorization Server API version: 1.0.0 termsOfService: https://developer.networkascode.nokia.io/legal/terms-of-service x-refined-note: - x-badges differs across the merged source definitions and was not carried - x-camara-commonalities differs across the merged source definitions and was not carried - x-category differs across the merged source definitions and was not carried - x-collections differs across the merged source definitions and was not carried - x-long-description differs across the merged source definitions and was not carried - x-public differs across the merged source definitions and was not carried - x-thumbnail differs across the merged source definitions and was not carried - x-version-lifecycle differs across the merged source definitions and was not carried - x-website differs across the merged source definitions and was not carried description: 'Operations tagged NaC Authorization Server across 2 of this provider''s published API definitions: nokia-network-as-code-camara-openapi.yml, nokia-network-as-code-platform-openapi.json. Each path carries the servers of the definition it was published in.' servers: - url: '{apiRoot}/geofencing-subscriptions/v0.3' variables: apiRoot: default: http://localhost:9091 description: API root - url: '{apiRoot}/geofencing-subscriptions/v0.4' variables: apiRoot: default: http://localhost:9091 description: API root - url: https://network-as-code.p-eu.rapidapi.com tags: - name: NaC Authorization Server paths: /oauth2/v1/auth/clientcredentials: get: summary: Endpoint for getting client credentials to user description: Getting client credentials for user. If it exists that is returned, otherwise new created. operationId: get_client_credentials responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ClientCredential-Auth-V1' tags: - NaC Authorization Server security: - oAuth2ClientCredentials: [] servers: - url: '{apiRoot}/geofencing-subscriptions/v0.3' variables: apiRoot: default: http://localhost:9091 description: API root - url: '{apiRoot}/geofencing-subscriptions/v0.4' variables: apiRoot: default: http://localhost:9091 description: API root /oauth2/v1/apps/{nac_app_ref}/.well-known/jwks.json: get: tags: - NaC Authorization Server summary: Get JWKS for an app. operationId: get_jwks_apps__nac_app_ref___well_known_jwks_json_get parameters: - name: nac_app_ref in: path required: true schema: type: string title: Nac App Ref responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError-Auth-V1' security: - oAuth2ClientCredentials: [] servers: - url: '{apiRoot}/geofencing-subscriptions/v0.3' variables: apiRoot: default: http://localhost:9091 description: API root - url: '{apiRoot}/geofencing-subscriptions/v0.4' variables: apiRoot: default: http://localhost:9091 description: API root components: schemas: ClientCredential-Auth-V1: properties: client_id: type: string maxLength: 50 title: Client Id description: The unique client_id string as issued by the authorization server. client_secret: type: string maxLength: 50 title: Client Secret description: The client_secret corresponding to the client_id. type: object required: - client_id - client_secret title: ClientCredential ValidationError-Auth-V1: properties: loc: type: array items: type: string title: Location msg: type: string title: Message type: type: string title: Error Type type: object required: - loc - msg - type title: ValidationError HTTPValidationError-Auth-V1: properties: detail: items: $ref: '#/components/schemas/ValidationError-Auth-V1' type: array title: Detail type: object title: HTTPValidationError parameters: x-rapidapi-host: name: x-rapidapi-host in: header required: true description: The API's Host value as defined in the RapidAPI Hub. schema: type: string example: network-as-code.p-eu.rapidapi.com securitySchemes: openId: description: OpenID Connect authentication type: openIdConnect openIdConnectUrl: https://example.com/.well-known/openid-configuration ApiKeyAuth: type: apiKey in: header name: x-rapidapi-key description: Your RapidAPI key externalDocs: description: Project documentation at Camara url: https://github.com/camaraproject/DeviceLocation x-refined-from: - nokia-network-as-code-camara-openapi.yml - nokia-network-as-code-platform-openapi.json