Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New public preview API for confidential ledger code transparency 2025-01-31-preview #31896

Merged
merged 49 commits into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
3270ced
CTS new preview API version with updated endpoints
ivarprudnikov Dec 13, 2024
7cf0eb7
merge typespec files into one to make local development possible
ivarprudnikov Dec 16, 2024
19f0dd4
adds CBOR errors
ivarprudnikov Dec 16, 2024
ea7f810
adds explicit JSON errors
ivarprudnikov Dec 17, 2024
7182e4c
typos
ivarprudnikov Dec 18, 2024
3799bf0
text improvements
ivarprudnikov Dec 18, 2024
6bd342d
add examples to the new api version
ivarprudnikov Dec 18, 2024
cbe747b
update examples
ivarprudnikov Dec 18, 2024
5cb1223
json reformat
ivarprudnikov Dec 18, 2024
c5e971b
cspell fixes
ivarprudnikov Dec 18, 2024
89e1fba
add new api to the readme
ivarprudnikov Dec 18, 2024
c5e4335
update examples
ivarprudnikov Dec 18, 2024
9e09c27
refactor sbor error from object to file
ivarprudnikov Dec 18, 2024
c195330
error model change and warning suppresions
ivarprudnikov Dec 18, 2024
626493a
maxLength constraint added to openapi
ivarprudnikov Dec 18, 2024
0877593
example json tweaks
ivarprudnikov Dec 18, 2024
5e9797f
mark older api endpoints as deprecated in the description
ivarprudnikov Dec 18, 2024
52da295
remove serviceIssuer and serviceFeed
ivarprudnikov Dec 19, 2024
fd628fa
adds jwks cspell
ivarprudnikov Feb 7, 2025
d585c44
add jwks to cspell
ivarprudnikov Feb 7, 2025
0c5d2da
rename generated methods to avoid "Changed" in them
ivarprudnikov Feb 7, 2025
a981a05
change @nextLink to @TypeSpec.nextLink as otherwise .net sdk does not…
ivarprudnikov Feb 7, 2025
1d7a1dd
rename example files due to method name change in newer version
ivarprudnikov Feb 7, 2025
dd564ec
added missing method name renames to the examples
ivarprudnikov Feb 7, 2025
5e25c29
more missing example changes and references
ivarprudnikov Feb 7, 2025
fd30421
Merge branch 'main' into confidentialledger/cts/2025-01-31-preview
ivarprudnikov Feb 10, 2025
0af9503
use explicit accept header for the sdk geneartor to skip accept param…
ivarprudnikov Feb 11, 2025
b9223ae
add missing accept parameter in the example file to getentry
ivarprudnikov Feb 12, 2025
2b98e33
remove deprecated methods as recommended in the api review as this wa…
ivarprudnikov Feb 14, 2025
14210f1
simplify the api to only the minimum of required endpoints
ivarprudnikov Feb 19, 2025
b95bb7b
update compiled swagger
ivarprudnikov Feb 19, 2025
a7358b9
adds content types to examples
ivarprudnikov Feb 19, 2025
e158532
typo
ivarprudnikov Feb 20, 2025
9e6816d
remove unused examples
ivarprudnikov Feb 20, 2025
b500d00
lowercase acceptparameter
ivarprudnikov Feb 20, 2025
fa4a563
add api version parameter to make swagger model validator happy
ivarprudnikov Feb 20, 2025
1f0d37b
add missing 202 response in OperationStatusPending
ivarprudnikov Feb 20, 2025
0ea0397
prettify comments to make spellchecker happier
ivarprudnikov Feb 20, 2025
4eb92a4
model validation fixes for getoperation example
ivarprudnikov Feb 20, 2025
ef5163e
swagger prettier check
ivarprudnikov Feb 20, 2025
54fe979
prettify getoperation example
ivarprudnikov Feb 20, 2025
0fd354b
use Azure.Core.Versions.v1_0_Preview_1 instead of v2
ivarprudnikov Feb 20, 2025
5e3d2b7
Merge branch 'main' into confidentialledger/cts/2025-01-31-preview
ivarprudnikov Feb 20, 2025
199c47a
Merge branch 'main' into confidentialledger/cts/2025-01-31-preview
ivarprudnikov Feb 21, 2025
d5aa986
Merge remote-tracking branch 'origin/main' into confidentialledger/ct…
ivarprudnikov Feb 24, 2025
222207e
remove unnecessary supressions for 2025-01-31-preview/cts.json
ivarprudnikov Feb 24, 2025
f1c01e2
add LroExtensionback to supressions
ivarprudnikov Feb 24, 2025
8224c1a
Merge branch 'main' into confidentialledger/cts/2025-01-31-preview
ivarprudnikov Mar 6, 2025
dd7da63
Merge branch 'main' into confidentialledger/cts/2025-01-31-preview
ivarprudnikov Mar 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "CreateEntry",
"operationId": "CreateEntry",
"title": "CreateEntryDeprecated",
"operationId": "CreateEntryDeprecated",
"parameters": {
"api-version": "2024-01-11-preview",
"body": "{binary}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@
},
"service_identifier": "did:web:servicename.confidential-ledger.azure.com"
}
},
"500": {
"body": {
"error": {
"code": "zdjbm",
"message": "wftvioyvxidsm"
}
}
},
"503": {
"body": {
"error": {
"code": "zdjbm",
"message": "wftvioyvxidsm"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@
"body": {
"scitt_version": "0.6.1"
}
},
"500": {
"body": {
"error": {
"code": "zdjbm",
"message": "wftvioyvxidsm"
}
}
},
"503": {
"body": {
"error": {
"code": "zdjbm",
"message": "wftvioyvxidsm"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "GetEntry",
"operationId": "GetEntry",
"title": "GetEntryDeprecated",
"operationId": "GetEntryDeprecated",
"parameters": {
"api-version": "2024-01-11-preview",
"entryId": "2.131"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "GetEntry",
"operationId": "GetEntry",
"title": "GetEntryReceiptDeprecated",
"operationId": "GetEntryReceiptDeprecated",
"parameters": {
"api-version": "2024-01-11-preview",
"entryId": "2.131"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
"nextLink": "/entries/txIds?from=20&to=40"
}
},
"500": {
"body": {
"error": {
"code": "zdjbm",
"message": "wftvioyvxidsm"
}
}
},
"503": {
"body": {
"error": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"title": "CreateEntry",
"operationId": "CreateEntry",
"parameters": {
"api-version": "2025-01-31-preview",
"body": "{binary}",
"Content-Type": "application/cose",
"accept": "application/cose; application/cbor"
},
"responses": {
"201": {
"headers": {
"Content-Type": "application/cose"
},
"body": "{binary}"
},
"202": {
"headers": {
"Content-Type": "application/cbor"
},
"body": "{binary}"
},
"400": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"404": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"429": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"500": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"503": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"title": "GetEntry",
"operationId": "GetEntry",
"parameters": {
"api-version": "2025-01-31-preview",
"accept": "application/cose",
"entryId": "2.131"
},
"responses": {
"200": {
"headers": {
"Content-Type": "application/cose"
},
"body": "{binary}"
},
"400": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"404": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"429": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"500": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"503": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"title": "GetEntryStatement",
"operationId": "GetEntryStatement",
"parameters": {
"api-version": "2025-01-31-preview",
"entryId": "2.131",
"accept": "application/cose"
},
"responses": {
"200": {
"headers": {
"Content-Type": "application/cose"
},
"body": "{binary}"
},
"400": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"404": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"429": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"500": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"503": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"title": "GetOperation",
"operationId": "GetOperation",
"parameters": {
"api-version": "2025-01-31-preview",
"accept": "application/cbor",
"operationId": "2.131"
},
"responses": {
"200": {
"headers": {
"Content-Type": "application/cbor"
},
"body": "{binary}"
},
"202": {},
"400": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"404": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"429": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"500": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
},
"503": {
"headers": {
"Content-Type": "application/concise-problem-details+cbor"
},
"body": "{binary}"
}
}
}
Loading