-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.json
1 lines (1 loc) · 11.7 KB
/
openapi.json
1
{"openapi":"3.0.0","paths":{"/v2206/api/trustAnchor":{"post":{"operationId":"TrustAnchorController_findTrustAnchor","summary":"Search for a TrustAnchor certificate in the registry","parameters":[],"requestBody":{"required":true,"description":"Search for a TrustAnchor certificate in the registry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustAnchorRequestDto"},"examples":{"trustAnchor":{"summary":"Example Certificate","value":{"certificate":"MIIEvTCCA6WgAwIBAgIBADANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJFVTEnMCUGA1UEChMeQUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1iZXJzaWduLm9yZzEiMCAGA1UEAxMZQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdDAeFw0wMzA5MzAxNjEzNDNaFw0zNzA5MzAxNjEzNDRaMH8xCzAJBgNVBAYTAkVVMScwJQYDVQQKEx5BQyBDYW1lcmZpcm1hIFNBIENJRiBBODI3NDMyODcxIzAhBgNVBAsTGmh0dHA6Ly93d3cuY2hhbWJlcnNpZ24ub3JnMSIwIAYDVQQDExlDaGFtYmVycyBvZiBDb21tZXJjZSBSb290MIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEAtzZV5aVdGDDg2olUkfzIx1L4L1DZ77F1c2VHfRtbunXF/KGIJPov7coISjlUxFF6tdpg6jg8gbLL8bvZkSM/SAFwdakFKq0fcfPJVD0dBmpAPrMMhe5cG3nCYsS4No41XQEMIwRHNaqbYE6gZj3LJgqcQKH0XZi/caulAGgq7YN6D6IUtdQis4CwPAxaUWktWBiP7Zme8a7ileb2R6jWDA+wWFjbw2Y3npuRVDM30pQcakjJyfKl2qUMI/cjDpwyVV5xnIQFUZot/eZOKjRa3spAN2cMVCFVd9oKDMyXroDclDZK9D7ONhMeU+SsTjoF7Nuucpw4i9A5O4kKPnf+dQIBA6OCAUQwggFAMBIGA1UdEwEB/wQIMAYBAf8CAQwwPAYDVR0fBDUwMzAxoC+gLYYraHR0cDovL2NybC5jaGFtYmVyc2lnbi5vcmcvY2hhbWJlcnNyb290LmNybDAdBgNVHQ4EFgQU45T1sU3p26EpW1eLTXYGduHRooowDgYDVR0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzAnBgNVHREEIDAegRxjaGFtYmVyc3Jvb3RAY2hhbWJlcnNpZ24ub3JnMCcGA1UdEgQgMB6BHGNoYW1iZXJzcm9vdEBjaGFtYmVyc2lnbi5vcmcwWAYDVR0gBFEwTzBNBgsrBgEEAYGHLgoDATA+MDwGCCsGAQUFBwIBFjBodHRwOi8vY3BzLmNoYW1iZXJzaWduLm9yZy9jcHMvY2hhbWJlcnNyb290Lmh0bWwwDQYJKoZIhvcNAQEFBQADggEBAAxBl8IahsAifJ/7kPMa0QOx7xP5IV8EnNrJpY0nbJaHkb5BkAFyk+cefV/2icZdp0AJPaxJRUXcLo0waLIJuvvDL8y6C98/d3tGfToSJI6WjzwFCm/SlCgdbQzALogi1djPHRPH8EjX1wWnz8dHnjs8NMiAT9QUu/wNUPf6s+xCX6ndbcj0dc97wXImsQEcXCz9ek60AcUFV7nnPKoF2YjpB0ZBzu9Bga5Y34OirsrXdx/nADydb47kMgkdTXg0eDQ8lJsm7U9xxhl6vSAiSFr+S30Dt+dYvsYyTnQeaN2oaFuzPu5ifdmA6Ap1erfutGWaIZDgqtCYvDi1czyL+Nw="}}}}}},"responses":{"200":{"description":"TrustAnchor or root for chain was found in the registry"},"400":{"description":"Invalid request payload"},"404":{"description":"TrustAnchor was not be found in the registry"}},"tags":["TrustAnchor"]}},"/v2206/api/trustAnchor/chain":{"post":{"operationId":"TrustAnchorController_verifyTrustAnchorChainRaw","summary":"Verify root of a certificate chain to be a TrustAnchor in the registry","parameters":[],"requestBody":{"required":true,"description":"Verify root of a certificate chain to be a TrustAnchor in the registry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustAnchorChainRequestDto"},"examples":{"certChain":{"summary":"Example Certificate Chain","value":{"certs":"-----BEGIN CERTIFICATE-----MIIFKTCCBBGgAwIBAgISBD1oWylsswqAkAR9kUIZniXTMA0GCSqGSIb3DQEBCwUAMDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJSMzAeFw0yMjA1MjAxMzU4MjlaFw0yMjA4MTgxMzU4MjhaMB0xGzAZBgNVBAMTEnJlZ2lzdHJ5LmdhaWEteC5ldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANPRNchFiXS3nNCopDvI6bH2XHO9DatZg1AmGeEPhA5vrzbj0Y1Pr6V/WLQvABMtRK1xKlQHoTJMTTDEgKerzMG39tfOGE7wgz6oNh16tSU8YwvduC2+BeC880EH0eiqwIbtlCkY5ux3tVX57XQPwtV/aXWUfvqILqR7naQW0RBkBC3cvfgW001CYRilf60TJm+nlhGzgn5Y5QMf6xEotEpQjGpCF+EbdCptCpzPhozmh3ir67FzOT4fAsb6k61DlsuYrp33cugyv7snPjD6y9+4beDjsGZpGgy00SzmdaXvNgOL8Ip0r4AkHcvL45st04x+unzsKkmq0VkZJ6FHOjUCAwEAAaOCAkwwggJIMA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQU4Y5c2fUOLix6/BjdkBXMoQWpMtMwHwYDVR0jBBgwFoAUFC6zF7dYVsuuUAlA5h+vnYsUwsYwVQYIKwYBBQUHAQEESTBHMCEGCCsGAQUFBzABhhVodHRwOi8vcjMuby5sZW5jci5vcmcwIgYIKwYBBQUHMAKGFmh0dHA6Ly9yMy5pLmxlbmNyLm9yZy8wHQYDVR0RBBYwFIIScmVnaXN0cnkuZ2FpYS14LmV1MEwGA1UdIARFMEMwCAYGZ4EMAQ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vTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPAmRGunUHBcnWEvgJBQl9nJEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57demyPxgcYxn/eR44/KJ4EBs+lVDR3veyJm+kXQ99b21/+jh5Xos1AnX5iItreGCc=-----END CERTIFICATE-----"}}}}}},"responses":{"200":{"description":"TrustAnchor or root for chain was found in the registry"},"400":{"description":"Invalid request payload"},"409":{"description":"Root for the certificate chain could not be verified as a TrustAnchor in the registry"}},"tags":["TrustAnchor"]}},"/v2206/api/trustAnchor/chain/file":{"post":{"operationId":"TrustAnchorController_verifyTrustAnchorChain","summary":"Verify root of a certificate chain, provided as a file at uri, to be a TrustAnchor in the registry","parameters":[],"requestBody":{"required":true,"description":"Verify root of a certificate chain, provided as a file at uri, to be a TrustAnchor in the registry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustAnchorChainUriRequestDto"},"examples":{"certChain":{"summary":"Example Certificate Chain","value":{"uri":"https://compliance.gaia-x.eu/.well-known/x509CertificateChain.pem"}}}}}},"responses":{"200":{"description":"TrustAnchor or root for chain was found in the registry"},"400":{"description":"Invalid request payload"},"409":{"description":"Root for the certificate chain could not be verified as a TrustAnchor in the registry"}},"tags":["TrustAnchor"]}},"/v2206/api/termsAndConditions":{"get":{"operationId":"TermsAndConditionsController_getTermsAndConditions","summary":"Get terms and conditions for specified version or a list of available versions when no version is specified.","parameters":[{"name":"version","required":false,"in":"query","schema":{"enum":["22.04"],"type":"string"}}],"responses":{"200":{"description":"The version, terms and conditions text and the sha256 of the text."},"400":{"description":"Invalid request query"}},"tags":["TermsAndConditions"]}},"/v2206/api/shape":{"get":{"operationId":"ShapeController2206_getContext","summary":"Get a JSONLD context for all available shapes.","parameters":[],"responses":{"200":{"description":"The JSONLD context for all available shapes in the registry."}},"tags":["Shape"]}},"/v2206/api/shape/files":{"get":{"operationId":"ShapeController2206_getShape","summary":"Get specified SHACL file as ttl or jsonld or a list of all available shapes if no file and type is specified.","parameters":[{"name":"file","required":false,"in":"query","schema":{"enum":["participant","resource","service-offering"],"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"enum":["ttl","jsonld"],"type":"string"}}],"responses":{"200":{"description":"SHACL file as ttl or jsonld or a list of available files when no file is specified."},"400":{"description":"Invalid request query"}},"tags":["Shape"]}},"/v2206/api/complianceIssuers":{"get":{"operationId":"ComplianceIssuersController_findAll","summary":"Get the valid DIDs which are allowed to issue GX Compliance VCs.","parameters":[],"responses":{"200":{"description":"A list of valid compliance issuers."}},"tags":["ComplianceIssuers"]}}},"info":{"title":"gx-registry","description":"Gaia-X Lab Registry","version":"1.1.0","contact":{}},"tags":[],"servers":[],"components":{"schemas":{"TrustAnchorRequestDto":{"type":"object","properties":{"certificate":{"type":"string","description":"The raw certificate in pem format"}},"required":["certificate"]},"TrustAnchorChainRequestDto":{"type":"object","properties":{"certs":{"type":"string","description":"The raw certificate chain in pem format"}},"required":["certs"]},"TrustAnchorChainUriRequestDto":{"type":"object","properties":{"uri":{"type":"string","description":"The uri to the file containing the certificate chain. PEM or PKCS7 format are expected."}},"required":["uri"]}}}}