From 8160187162f2fa9c2b0424fbaf0dd0a69ca2ef07 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Fri, 22 Dec 2023 13:50:03 +0000 Subject: [PATCH] Add SAML attributes (#20987) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 +- content/en/api/v2/teams/examples.json | 56 ++- data/api/v2/full_spec.yaml | 46 ++ data/api/v2/full_spec_deref.json | 639 ++++++++++++++++++++++++ static/resources/json/full_spec_v2.json | 639 ++++++++++++++++++++++++ 5 files changed, 1378 insertions(+), 10 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 0907668bacefa..59e2b35c991c5 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2023-12-20 13:54:20.499912", - "spec_repo_commit": "1e75e401" + "regenerated": "2023-12-20 18:13:46.310549", + "spec_repo_commit": "0ea19912" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2023-12-20 13:54:30.511770", - "spec_repo_commit": "1e75e401" + "regenerated": "2023-12-20 18:13:56.423359", + "spec_repo_commit": "0ea19912" } } } \ No newline at end of file diff --git a/content/en/api/v2/teams/examples.json b/content/en/api/v2/teams/examples.json index cfde2c182d9db..dad752ce3df96 100644 --- a/content/en/api/v2/teams/examples.json +++ b/content/en/api/v2/teams/examples.json @@ -786,10 +786,18 @@ "data": [ { "attributes": { + "provisioned_by": "string", + "provisioned_by_id": "string", "role": "string" }, "id": "TeamMembership-aeadc05e-98a8-11ec-ac2c-da7ad0900001-38835", "relationships": { + "team": { + "data": { + "id": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "team" + } + }, "user": { "data": { "id": "b8626d7e-cedd-11eb-abf5-da7ad0900001", @@ -820,7 +828,7 @@ } } }, - "html": "
\n
\n
\n
\n

data

\n
\n

[object]

\n

Team memberships response data

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of a user's relationship with a team

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

links

\n
\n

object

\n

Teams response links.

\n
\n
\n
\n
\n
\n

first

\n
\n

string

\n

First link.

\n
\n \n
\n
\n
\n
\n
\n

last

\n
\n

string

\n

Last link.

\n
\n \n
\n
\n
\n
\n
\n

next

\n
\n

string

\n

Next link.

\n
\n \n
\n
\n
\n
\n
\n

prev

\n
\n

string

\n

Previous link.

\n
\n \n
\n
\n
\n
\n
\n

self

\n
\n

string

\n

Current link.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

meta

\n
\n

object

\n

Teams response metadata.

\n
\n
\n
\n
\n
\n

pagination

\n
\n

object

\n

Teams response metadata.

\n
\n
\n
\n
\n
\n

first_offset

\n
\n

int64

\n

The first offset.

\n
\n \n
\n
\n
\n
\n
\n

last_offset

\n
\n

int64

\n

The last offset.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Pagination limit.

\n
\n \n
\n
\n
\n
\n
\n

next_offset

\n
\n

int64

\n

The next offset.

\n
\n \n
\n
\n
\n
\n
\n

offset

\n
\n

int64

\n

The offset.

\n
\n \n
\n
\n
\n
\n
\n

prev_offset

\n
\n

int64

\n

The previous offset.

\n
\n \n
\n
\n
\n
\n
\n

total

\n
\n

int64

\n

Total results.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

string

\n

Offset type.

\n
\n \n
\n
\n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

[object]

\n

Team memberships response data

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

provisioned_by

\n
\n

string

\n

The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, "service_account" if added by a service account, and "saml_mapping" if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

provisioned_by_id

\n
\n

string

\n

UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of a user's relationship with a team

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

team

\n
\n

object

\n

Relationship between team membership and team

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

The team associated with the membership

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the team associated with the membership

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team team type \nAllowed enum values: team

default: team

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

links

\n
\n

object

\n

Teams response links.

\n
\n
\n
\n
\n
\n

first

\n
\n

string

\n

First link.

\n
\n \n
\n
\n
\n
\n
\n

last

\n
\n

string

\n

Last link.

\n
\n \n
\n
\n
\n
\n
\n

next

\n
\n

string

\n

Next link.

\n
\n \n
\n
\n
\n
\n
\n

prev

\n
\n

string

\n

Previous link.

\n
\n \n
\n
\n
\n
\n
\n

self

\n
\n

string

\n

Current link.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

meta

\n
\n

object

\n

Teams response metadata.

\n
\n
\n
\n
\n
\n

pagination

\n
\n

object

\n

Teams response metadata.

\n
\n
\n
\n
\n
\n

first_offset

\n
\n

int64

\n

The first offset.

\n
\n \n
\n
\n
\n
\n
\n

last_offset

\n
\n

int64

\n

The last offset.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Pagination limit.

\n
\n \n
\n
\n
\n
\n
\n

next_offset

\n
\n

int64

\n

The next offset.

\n
\n \n
\n
\n
\n
\n
\n

offset

\n
\n

int64

\n

The offset.

\n
\n \n
\n
\n
\n
\n
\n

prev_offset

\n
\n

int64

\n

The previous offset.

\n
\n \n
\n
\n
\n
\n
\n

total

\n
\n

int64

\n

Total results.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

string

\n

Offset type.

\n
\n \n
\n
\n
\n
\n
\n
" }, "403": { "json": { @@ -859,10 +867,18 @@ "json": { "data": { "attributes": { + "provisioned_by": "string", + "provisioned_by_id": "string", "role": "string" }, "id": "TeamMembership-aeadc05e-98a8-11ec-ac2c-da7ad0900001-38835", "relationships": { + "team": { + "data": { + "id": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "team" + } + }, "user": { "data": { "id": "b8626d7e-cedd-11eb-abf5-da7ad0900001", @@ -873,7 +889,7 @@ "type": "team_memberships" } }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of a user's relationship with a team

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

provisioned_by

\n
\n

string

\n

The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, "service_account" if added by a service account, and "saml_mapping" if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

provisioned_by_id

\n
\n

string

\n

UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of a user's relationship with a team

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

team

\n
\n

object

\n

Relationship between team membership and team

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

The team associated with the membership

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the team associated with the membership

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team team type \nAllowed enum values: team

default: team

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
" }, "403": { "json": { @@ -912,6 +928,12 @@ "json_curl": { "data": { "relationships": { + "team": { + "data": { + "id": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "team" + } + }, "user": { "data": { "id": "b8626d7e-cedd-11eb-abf5-da7ad0900001", @@ -928,6 +950,12 @@ "role": "string" }, "relationships": { + "team": { + "data": { + "id": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "team" + } + }, "user": { "data": { "id": "b8626d7e-cedd-11eb-abf5-da7ad0900001", @@ -938,7 +966,7 @@ "type": "team_memberships" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

provisioned_by

\n
\n

string

\n

The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, "service_account" if added by a service account, and "saml_mapping" if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

provisioned_by_id

\n
\n

string

\n

UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

team

\n
\n

object

\n

Relationship between team membership and team

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

The team associated with the membership

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the team associated with the membership

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team team type \nAllowed enum values: team

default: team

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
" } }, "DeleteTeamMembership": { @@ -980,10 +1008,18 @@ "json": { "data": { "attributes": { + "provisioned_by": "string", + "provisioned_by_id": "string", "role": "string" }, "id": "TeamMembership-aeadc05e-98a8-11ec-ac2c-da7ad0900001-38835", "relationships": { + "team": { + "data": { + "id": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "team" + } + }, "user": { "data": { "id": "b8626d7e-cedd-11eb-abf5-da7ad0900001", @@ -994,7 +1030,7 @@ "type": "team_memberships" } }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of a user's relationship with a team

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

provisioned_by

\n
\n

string

\n

The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, "service_account" if added by a service account, and "saml_mapping" if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

provisioned_by_id

\n
\n

string

\n

UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of a user's relationship with a team

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

team

\n
\n

object

\n

Relationship between team membership and team

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

The team associated with the membership

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the team associated with the membership

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team team type \nAllowed enum values: team

default: team

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
" }, "403": { "json": { @@ -1035,7 +1071,7 @@ "type": "team_memberships" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

provisioned_by

\n
\n

string

\n

The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, "service_account" if added by a service account, and "saml_mapping" if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

provisioned_by_id

\n
\n

string

\n

UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
" } }, "GetTeamPermissionSettings": { @@ -1156,10 +1192,18 @@ "data": [ { "attributes": { + "provisioned_by": "string", + "provisioned_by_id": "string", "role": "string" }, "id": "TeamMembership-aeadc05e-98a8-11ec-ac2c-da7ad0900001-38835", "relationships": { + "team": { + "data": { + "id": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "team" + } + }, "user": { "data": { "id": "b8626d7e-cedd-11eb-abf5-da7ad0900001", @@ -1190,7 +1234,7 @@ } } }, - "html": "
\n
\n
\n
\n

data

\n
\n

[object]

\n

Team memberships response data

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of a user's relationship with a team

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

links

\n
\n

object

\n

Teams response links.

\n
\n
\n
\n
\n
\n

first

\n
\n

string

\n

First link.

\n
\n \n
\n
\n
\n
\n
\n

last

\n
\n

string

\n

Last link.

\n
\n \n
\n
\n
\n
\n
\n

next

\n
\n

string

\n

Next link.

\n
\n \n
\n
\n
\n
\n
\n

prev

\n
\n

string

\n

Previous link.

\n
\n \n
\n
\n
\n
\n
\n

self

\n
\n

string

\n

Current link.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

meta

\n
\n

object

\n

Teams response metadata.

\n
\n
\n
\n
\n
\n

pagination

\n
\n

object

\n

Teams response metadata.

\n
\n
\n
\n
\n
\n

first_offset

\n
\n

int64

\n

The first offset.

\n
\n \n
\n
\n
\n
\n
\n

last_offset

\n
\n

int64

\n

The last offset.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Pagination limit.

\n
\n \n
\n
\n
\n
\n
\n

next_offset

\n
\n

int64

\n

The next offset.

\n
\n \n
\n
\n
\n
\n
\n

offset

\n
\n

int64

\n

The offset.

\n
\n \n
\n
\n
\n
\n
\n

prev_offset

\n
\n

int64

\n

The previous offset.

\n
\n \n
\n
\n
\n
\n
\n

total

\n
\n

int64

\n

Total results.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

string

\n

Offset type.

\n
\n \n
\n
\n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

[object]

\n

Team memberships response data

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Team membership attributes

\n
\n
\n
\n
\n
\n

provisioned_by

\n
\n

string

\n

The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, "service_account" if added by a service account, and "saml_mapping" if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

provisioned_by_id

\n
\n

string

\n

UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.

\n
\n \n
\n
\n
\n
\n
\n

role

\n
\n

enum

\n

The user's role within the team \nAllowed enum values: admin

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of a user's relationship with a team

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationship between membership and a user

\n
\n
\n
\n
\n
\n

team

\n
\n

object

\n

Relationship between team membership and team

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

The team associated with the membership

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the team associated with the membership

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team team type \nAllowed enum values: team

default: team

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

user

\n
\n

object

\n

Relationship between team membership and user

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

A user's relationship with a team

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the user associated with the team

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

User team user type \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Team membership type \nAllowed enum values: team_memberships

default: team_memberships

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

links

\n
\n

object

\n

Teams response links.

\n
\n
\n
\n
\n
\n

first

\n
\n

string

\n

First link.

\n
\n \n
\n
\n
\n
\n
\n

last

\n
\n

string

\n

Last link.

\n
\n \n
\n
\n
\n
\n
\n

next

\n
\n

string

\n

Next link.

\n
\n \n
\n
\n
\n
\n
\n

prev

\n
\n

string

\n

Previous link.

\n
\n \n
\n
\n
\n
\n
\n

self

\n
\n

string

\n

Current link.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

meta

\n
\n

object

\n

Teams response metadata.

\n
\n
\n
\n
\n
\n

pagination

\n
\n

object

\n

Teams response metadata.

\n
\n
\n
\n
\n
\n

first_offset

\n
\n

int64

\n

The first offset.

\n
\n \n
\n
\n
\n
\n
\n

last_offset

\n
\n

int64

\n

The last offset.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Pagination limit.

\n
\n \n
\n
\n
\n
\n
\n

next_offset

\n
\n

int64

\n

The next offset.

\n
\n \n
\n
\n
\n
\n
\n

offset

\n
\n

int64

\n

The offset.

\n
\n \n
\n
\n
\n
\n
\n

prev_offset

\n
\n

int64

\n

The previous offset.

\n
\n \n
\n
\n
\n
\n
\n

total

\n
\n

int64

\n

Total results.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

string

\n

Offset type.

\n
\n \n
\n
\n
\n
\n
\n
" }, "404": { "json": { diff --git a/data/api/v2/full_spec.yaml b/data/api/v2/full_spec.yaml index 77e0f3e98ee57..370990d7c2058 100644 --- a/data/api/v2/full_spec.yaml +++ b/data/api/v2/full_spec.yaml @@ -13676,6 +13676,27 @@ components: - id - type type: object + RelationshipToUserTeamTeam: + description: Relationship between team membership and team + properties: + data: + $ref: '#/components/schemas/RelationshipToUserTeamTeamData' + required: + - data + type: object + RelationshipToUserTeamTeamData: + description: The team associated with the membership + properties: + id: + description: The ID of the team associated with the membership + example: d7e15d9d-d346-43da-81d8-3d9e71d9a5e9 + type: string + type: + $ref: '#/components/schemas/UserTeamTeamType' + required: + - id + - type + type: object RelationshipToUserTeamUser: description: Relationship between team membership and user properties: @@ -19822,6 +19843,20 @@ components: UserTeamAttributes: description: Team membership attributes properties: + provisioned_by: + description: 'The mechanism responsible for provisioning the team relationship. + + Possible values: null for added by a user, "service_account" if added + by a service account, and "saml_mapping" if provisioned via SAML mapping.' + nullable: true + readOnly: true + type: string + provisioned_by_id: + description: UUID of the User or Service Account who provisioned this team + membership, or null if provisioned via SAML mapping. + nullable: true + readOnly: true + type: string role: $ref: '#/components/schemas/UserTeamRole' type: object @@ -19873,6 +19908,8 @@ components: UserTeamRelationships: description: Relationship between membership and a user properties: + team: + $ref: '#/components/schemas/RelationshipToUserTeamTeam' user: $ref: '#/components/schemas/RelationshipToUserTeamUser' type: object @@ -19898,6 +19935,15 @@ components: type: string x-enum-varnames: - ADMIN + UserTeamTeamType: + default: team + description: User team team type + enum: + - team + example: team + type: string + x-enum-varnames: + - TEAM UserTeamType: default: team_memberships description: Team membership type diff --git a/data/api/v2/full_spec_deref.json b/data/api/v2/full_spec_deref.json index a1b01c046581c..378506843e32f 100644 --- a/data/api/v2/full_spec_deref.json +++ b/data/api/v2/full_spec_deref.json @@ -77249,6 +77249,69 @@ ], "type": "object" }, + "RelationshipToUserTeamTeam": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "RelationshipToUserTeamTeamData": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, "RelationshipToUserTeamUser": { "description": "Relationship between team membership and user", "properties": { @@ -118611,6 +118674,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -118633,6 +118708,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -118694,6 +118805,18 @@ "UserTeamAttributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -118714,6 +118837,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -118731,6 +118866,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -118852,6 +119023,42 @@ "UserTeamRelationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -118900,6 +119107,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -118917,6 +119136,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -118989,6 +119244,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -119011,6 +119278,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -119083,6 +119386,18 @@ "ADMIN" ] }, + "UserTeamTeamType": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + }, "UserTeamType": { "default": "team_memberships", "description": "Team membership type", @@ -119101,6 +119416,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -119142,6 +119469,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -119203,6 +119542,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -119225,6 +119576,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -227545,6 +227932,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -227567,6 +227966,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -227835,6 +228270,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -227852,6 +228299,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -227932,6 +228415,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -227954,6 +228449,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -228323,6 +228854,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -228378,6 +228921,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -228400,6 +228955,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -237769,6 +238360,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -237791,6 +238394,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { diff --git a/static/resources/json/full_spec_v2.json b/static/resources/json/full_spec_v2.json index a1b01c046581c..378506843e32f 100644 --- a/static/resources/json/full_spec_v2.json +++ b/static/resources/json/full_spec_v2.json @@ -77249,6 +77249,69 @@ ], "type": "object" }, + "RelationshipToUserTeamTeam": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "RelationshipToUserTeamTeamData": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, "RelationshipToUserTeamUser": { "description": "Relationship between team membership and user", "properties": { @@ -118611,6 +118674,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -118633,6 +118708,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -118694,6 +118805,18 @@ "UserTeamAttributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -118714,6 +118837,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -118731,6 +118866,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -118852,6 +119023,42 @@ "UserTeamRelationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -118900,6 +119107,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -118917,6 +119136,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -118989,6 +119244,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -119011,6 +119278,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -119083,6 +119386,18 @@ "ADMIN" ] }, + "UserTeamTeamType": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + }, "UserTeamType": { "default": "team_memberships", "description": "Team membership type", @@ -119101,6 +119416,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -119142,6 +119469,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -119203,6 +119542,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -119225,6 +119576,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -227545,6 +227932,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -227567,6 +227966,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -227835,6 +228270,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -227852,6 +228299,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -227932,6 +228415,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -227954,6 +228449,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -228323,6 +228854,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -228378,6 +228921,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -228400,6 +228955,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": { @@ -237769,6 +238360,18 @@ "attributes": { "description": "Team membership attributes", "properties": { + "provisioned_by": { + "description": "The mechanism responsible for provisioning the team relationship.\nPossible values: null for added by a user, \"service_account\" if added by a service account, and \"saml_mapping\" if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "provisioned_by_id": { + "description": "UUID of the User or Service Account who provisioned this team membership, or null if provisioned via SAML mapping.", + "nullable": true, + "readOnly": true, + "type": "string" + }, "role": { "description": "The user's role within the team", "enum": [ @@ -237791,6 +238394,42 @@ "relationships": { "description": "Relationship between membership and a user", "properties": { + "team": { + "description": "Relationship between team membership and team", + "properties": { + "data": { + "description": "The team associated with the membership", + "properties": { + "id": { + "description": "The ID of the team associated with the membership", + "example": "d7e15d9d-d346-43da-81d8-3d9e71d9a5e9", + "type": "string" + }, + "type": { + "default": "team", + "description": "User team team type", + "enum": [ + "team" + ], + "example": "team", + "type": "string", + "x-enum-varnames": [ + "TEAM" + ] + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "description": "Relationship between team membership and user", "properties": {