Microsoft.CodeTransparency (preview:2025-01-31)

2025/03/06 • 6 new methods

GetTransparencyConfigCbor (new)
Description Get the transparency service configuration, mandatory in IETF SCITT draft
Reference Link ¶

⚼ Request

GET:  /.well-known/transparency-configuration
{
api-version: string ,
accept: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (500)

{
$schema: file ,
}

⚐ Response (503)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}
CreateEntry (new)
Description Post an entry to be registered on the CodeTransparency instance, mandatory in IETF SCITT draft
Reference Link ¶

⚼ Request

POST:  /entries
{
api-version: string ,
accept: string ,
body: string ,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema: file ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema: file ,
}

⚐ Response (400)

{
$schema: file ,
}

⚐ Response (404)

{
$schema: file ,
}

⚐ Response (429)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}

⚐ Response (500)

{
$schema: file ,
}

⚐ Response (503)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}
GetEntry (new)
Description Get receipt
Reference Link ¶

⚼ Request

GET:  /entries/{entryId}
{
api-version: string ,
entryId: string ,
accept: string ,
}

⚐ Response (200)

{
$headers:
{
location: string ,
}
,
$schema: file ,
}

⚐ Response (400)

{
$schema: file ,
}

⚐ Response (404)

{
$schema: file ,
}

⚐ Response (429)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}

⚐ Response (500)

{
$schema: file ,
}

⚐ Response (503)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}
GetEntryStatement (new)
Description Get the transparent statement consisting of the signed statement and the receipt embedded in the header
Reference Link ¶

⚼ Request

GET:  /entries/{entryId}/statement
{
api-version: string ,
entryId: string ,
accept: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (400)

{
$schema: file ,
}

⚐ Response (404)

{
$schema: file ,
}

⚐ Response (429)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}

⚐ Response (500)

{
$schema: file ,
}

⚐ Response (503)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}
GetPublicKeys (new)
Description Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation
Reference Link ¶

⚼ Request

GET:  /jwks
{
api-version: string ,
}

⚐ Response (200)

{
keys:
[
{
alg: string ,
crv: string ,
d: string ,
dp: string ,
dq: string ,
e: string ,
k: string ,
kid: string ,
kty: string ,
n: string ,
p: string ,
q: string ,
qi: string ,
use: string ,
x: string ,
x5c:
[
string ,
]
,
y: string ,
}
,
]
,
}

⚐ Response (400)

{
$schema: file ,
}

⚐ Response (404)

{
$schema: file ,
}

⚐ Response (429)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}

⚐ Response (500)

{
$schema: file ,
}

⚐ Response (503)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}
GetOperation (new)
Description Get status of the long running registration operation, mandatory in IETF SCITT draft
Reference Link ¶

⚼ Request

GET:  /operations/{operationId}
{
api-version: string ,
operationId: string ,
accept: string ,
}

⚐ Response (200)

{
$headers:
{
location: string ,
}
,
$schema: file ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (400)

{
$schema: file ,
}

⚐ Response (404)

{
$schema: file ,
}

⚐ Response (429)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}

⚐ Response (500)

{
$schema: file ,
}

⚐ Response (503)

{
$headers:
{
retry-after: integer ,
}
,
$schema: file ,
}