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

release 2023.11.4 #57

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
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
196 changes: 132 additions & 64 deletions api/public_api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,32 @@
"tags": ["Policies"]
}
},
"/public/v1/query/list_private_key_tags": {
"post": {
"summary": "List Private Key Tags",
"description": "List all Private Key Tags within an Organization",
"operationId": "ListPrivateKeyTags",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/ListPrivateKeyTagsResponse"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ListPrivateKeyTagsRequest"
}
}
],
"tags": ["Private Key Tags"]
}
},
"/public/v1/query/list_private_keys": {
"post": {
"summary": "List Private Keys",
Expand All @@ -325,6 +351,32 @@
"tags": ["Private Keys"]
}
},
"/public/v1/query/list_user_tags": {
"post": {
"summary": "List User Tags",
"description": "List all User Tags within an Organization",
"operationId": "ListUserTags",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/ListUserTagsResponse"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ListUserTagsRequest"
}
}
],
"tags": ["User Tags"]
}
},
"/public/v1/query/list_users": {
"post": {
"summary": "List Users",
Expand Down Expand Up @@ -1079,32 +1131,6 @@
"tags": ["Signers"]
}
},
"/public/v1/submit/update_allowed_origins": {
"post": {
"summary": "Update Allowed Origins",
"description": "Update the origins WebAuthN credentials are allowed to sign requests from. Setting this on a Parent-Organization applies to all Sub-Organizations.",
"operationId": "UpdateAllowedOrigins",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/ActivityResponse"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/UpdateAllowedOriginsRequest"
}
}
],
"tags": ["Features"]
}
},
"/public/v1/submit/update_policy": {
"post": {
"summary": "Update Policy",
Expand Down Expand Up @@ -3084,7 +3110,10 @@
},
"FeatureName": {
"type": "string",
"enum": ["FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"]
"enum": [
"FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
"FEATURE_NAME_WEBAUTHN_ORIGINS"
]
},
"GetActivitiesRequest": {
"type": "object",
Expand Down Expand Up @@ -3706,6 +3735,54 @@
"senderUserId"
]
},
"ListPrivateKeyTagsRequest": {
"type": "object",
"properties": {
"organizationId": {
"type": "string",
"description": "Unique identifier for a given Organization."
}
},
"required": ["organizationId"]
},
"ListPrivateKeyTagsResponse": {
"type": "object",
"properties": {
"privateKeyTags": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/v1.Tag"
},
"description": "A list of Private Key Tags"
}
},
"required": ["privateKeyTags"]
},
"ListUserTagsRequest": {
"type": "object",
"properties": {
"organizationId": {
"type": "string",
"description": "Unique identifier for a given Organization."
}
},
"required": ["organizationId"]
},
"ListUserTagsResponse": {
"type": "object",
"properties": {
"userTags": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/v1.Tag"
},
"description": "A list of User Tags"
}
},
"required": ["userTags"]
},
"MnemonicLanguage": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -4540,6 +4617,10 @@
}
}
},
"TagType": {
"type": "string",
"enum": ["TAG_TYPE_USER", "TAG_TYPE_PRIVATE_KEY"]
},
"TransactionType": {
"type": "string",
"enum": ["TRANSACTION_TYPE_ETHEREUM"]
Expand All @@ -4557,27 +4638,6 @@
},
"required": ["allowedOrigins"]
},
"UpdateAllowedOriginsRequest": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS"]
},
"timestampMs": {
"type": "string",
"description": "Timestamp (in milliseconds) of the request, used to verify liveness of user requests."
},
"organizationId": {
"type": "string",
"description": "Unique identifier for a given Organization."
},
"parameters": {
"$ref": "#/definitions/UpdateAllowedOriginsIntent"
}
},
"required": ["type", "timestampMs", "organizationId", "parameters"]
},
"UpdateAllowedOriginsResult": {
"type": "object"
},
Expand Down Expand Up @@ -4873,10 +4933,6 @@
"type": "string",
"description": "The user's email address."
},
"accessType": {
"$ref": "#/definitions/AccessType",
"description": "The User's permissible access method(s)."
},
"authenticators": {
"type": "array",
"items": {
Expand Down Expand Up @@ -4910,7 +4966,6 @@
"required": [
"userId",
"userName",
"accessType",
"authenticators",
"apiKeys",
"userTags",
Expand Down Expand Up @@ -4976,10 +5031,6 @@
"type": "string",
"description": "The user's email address."
},
"accessType": {
"$ref": "#/definitions/AccessType",
"description": "The User's permissible access method(s)."
},
"apiKeys": {
"type": "array",
"items": {
Expand All @@ -5004,13 +5055,7 @@
"description": "A list of User Tag IDs."
}
},
"required": [
"userName",
"accessType",
"apiKeys",
"authenticators",
"userTags"
]
"required": ["userName", "apiKeys", "authenticators", "userTags"]
},
"Vote": {
"type": "object",
Expand Down Expand Up @@ -5250,6 +5295,29 @@
}
},
"required": ["seconds", "nanos"]
},
"v1.Tag": {
"type": "object",
"properties": {
"tagId": {
"type": "string",
"description": "Unique identifier for a given Tag."
},
"tagName": {
"type": "string",
"description": "Human-readable name for a Tag."
},
"tagType": {
"$ref": "#/definitions/TagType"
},
"createdAt": {
"$ref": "#/definitions/external.data.v1.Timestamp"
},
"updatedAt": {
"$ref": "#/definitions/external.data.v1.Timestamp"
}
},
"required": ["tagId", "tagName", "tagType", "createdAt", "updatedAt"]
}
},
"securityDefinitions": {
Expand Down