Download OpenAPI specification:Download
Creates a new API key for the specified account. API key expiration date must be in the future. For user accounts, you must be authenticated as the user account you are creating the API key for. For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization account you are creating the API key for.
Only users with the admin
flag may create API keys for service accounts.
account_id required | string The ID of the account to create the API key for |
name required | string |
expires required | string <date-time> |
{- "name": "Dev Machine",
- "expires": "2019-08-24T14:15:22Z"
}
{- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine",
- "secret_access_key": "stringstringstringstringstringstringstringstringstringstringstri"
}
Retrieves all API keys associated with the specified account. For user accounts, you must be authenticated as the user account you are listing API keys for. For organization accounts, you must be authenticated as either an owners
or maintainers
member of the organization account you are listing API keys for.
Only users with the admin
flag may list API keys for service accounts.
account_id required | string The ID of the account to list API keys for |
[- {
- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine"
}
]
Revokes (disables) the specified API key. For an API Key assigned to a User account, only the user who created the API key can revoke it. For an API Key assigned to an Organization, only organization members with owners
or maintainers
membership can revoke it. For an API Key assigned to a Repoisitory, only repository or organization members with owners
or maintainers
membership can revoke it. Users with the admin
flag may disable any API Key.
access_key_id required | string The access key ID of the API key to revoke |
{- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine"
}
Creates a new API key for the specified repository. Only users who are an owners
or maintainers
member of the repository or organization may create an API Key. Users with the admin
flag may create API keys for any repository.
account_id required | string The ID of the account |
repository_id required | string The ID of the repository to create the API key for |
name required | string |
expires required | string <date-time> |
{- "name": "Dev Machine",
- "expires": "2019-08-24T14:15:22Z"
}
{- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine",
- "secret_access_key": "stringstringstringstringstringstringstringstringstringstringstri"
}
Retrieves all API keys associated with the specified repository. Only users who are an owners
or maintainers
member of the repository or organization may list API keys. Users with the admin
flag may list API keys for any repository.
account_id required | string The ID of the account |
repository_id required | string The ID of the repository to list API keys for |
[- {
- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine"
}
]
Creates a new API key for the specified account. API key expiration date must be in the future. For user accounts, you must be authenticated as the user account you are creating the API key for. For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization account you are creating the API key for.
Only users with the admin
flag may create API keys for service accounts.
account_id required | string The ID of the account to create the API key for |
name required | string |
expires required | string <date-time> |
{- "name": "Dev Machine",
- "expires": "2019-08-24T14:15:22Z"
}
{- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine",
- "secret_access_key": "stringstringstringstringstringstringstringstringstringstringstri"
}
Retrieves all API keys associated with the specified account. For user accounts, you must be authenticated as the user account you are listing API keys for. For organization accounts, you must be authenticated as either an owners
or maintainers
member of the organization account you are listing API keys for.
Only users with the admin
flag may list API keys for service accounts.
account_id required | string The ID of the account to list API keys for |
[- {
- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine"
}
]
Retrieves the flags of a specific account. For a User account, users may only get the flags for their own account. For an Organization account, only users who are owners
or maintainers
of the organization may get the flags. Users with the admin
flag may get the flags for any account.
account_id required | string The ID of the account whose flags to retrieve |
[- "admin"
]
Updates the flags of a specific account. You must have the admin
flag to update the flags for an account.
account_id required | string The ID of the account whose flags to update |
[- "admin"
]
[- "admin"
]
Retrieves the details of a specific account. For a User account, you must be authenticated as the user you are retrieving the account details for. For an Organization account, you must be authenticated as either an owners
or maintainers
member of the organization you are retrieving the account details for. Users with the admin
flag may retrieve the account details for any account.
account_id required | string The ID of the account to retrieve |
{- "account_id": "account-id",
- "account_type": "user",
- "identity_id": "identity-id",
- "disabled": true,
- "profile": {
- "name": "Isaac Asimov",
- "bio": "Software Engineer @radiantearth",
- "location": "Augsburg, Germany",
}, - "flags": [
- "admin"
]
}
Disables a specific account. User accounts may not be disabled unless you are authenticated as a user with the admin
flag. Organization accounts require that you are authenticated as an owners
or maintainers
member of the organization.
account_id required | string The ID of the account to disable |
{- "account_id": "account-id",
- "account_type": "user",
- "identity_id": "identity-id",
- "disabled": true,
- "profile": {
- "name": "Isaac Asimov",
- "bio": "Software Engineer @radiantearth",
- "location": "Augsburg, Germany",
}, - "flags": [
- "admin"
]
}
Invites a new member to the specified account. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization account you are inviting the member to.
Only users with the admin
flag may invite members to service accounts.
account_id required | string The ID of the account to invite the member to |
account_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
role required | string (MembershipRole) Enum: "owners" "maintainers" "read_data" "write_data" |
{- "account_id": "account-id",
- "role": "owners"
}
{- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
Retrieves all memberships associated with the specified account.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an owners
or maintainers
member of the organization account you are listing memberships for.
Only users with the admin
flag may list memberships for service accounts.
account_id required | string The ID of the account to list memberships for |
[- {
- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
]
Retrieves the profile of a specific account. Any user, authenticated or not, can retrieve the profile of any account.
account_id required | string The ID of the account whose profile to retrieve |
{- "name": "Isaac Asimov",
- "bio": "Software Engineer @radiantearth",
- "location": "Augsburg, Germany",
}
Updates the profile of a specific account. For a User account, you must be authenticated as the user you are updating the profile for. For an Organization account, you must be authenticated as an owners
member of the organization you are updating the profile for. Users with the admin
flag may update the profile for any account.
account_id required | string The ID of the account whose profile to update |
name | string or null <= 128 characters |
bio | string or null <= 1024 characters |
location | string or null <= 128 characters |
url | string or null <uri> |
{- "name": "Isaac Asimov",
- "bio": "Software Engineer @radiantearth",
- "location": "Augsburg, Germany",
}
{- "name": "Isaac Asimov",
- "bio": "Software Engineer @radiantearth",
- "location": "Augsburg, Germany",
}
Creates a new account. Authenticated users can only create a user account if they do not already have one. Only users with the create_organizations
flag may create organization accounts. Users with the admin
flag may create any account.
account_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
account_type required | string (AccountType) Enum: "user" "organization" "service" |
required | object (AccountProfile) |
{- "account_id": "account-id",
- "account_type": "user",
- "profile": {
- "name": "Isaac Asimov",
- "bio": "Software Engineer @radiantearth",
- "location": "Augsburg, Germany",
}
}
{- "account_id": "account-id",
- "account_type": "user",
- "identity_id": "identity-id",
- "disabled": true,
- "profile": {
- "name": "Isaac Asimov",
- "bio": "Software Engineer @radiantearth",
- "location": "Augsburg, Germany",
}, - "flags": [
- "admin"
]
}
Invites a new member to the specified account. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization account you are inviting the member to.
Only users with the admin
flag may invite members to service accounts.
account_id required | string The ID of the account to invite the member to |
account_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
role required | string (MembershipRole) Enum: "owners" "maintainers" "read_data" "write_data" |
{- "account_id": "account-id",
- "role": "owners"
}
{- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
Retrieves all memberships associated with the specified account.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an owners
or maintainers
member of the organization account you are listing memberships for.
Only users with the admin
flag may list memberships for service accounts.
account_id required | string The ID of the account to list memberships for |
[- {
- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
]
Accepts a membership invitation for the specified membership. The user must be authorized to accept the membership.
membership_id required | string The ID of the membership to accept |
{- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
Rejects a membership invitation for the specified membership. The user must be authorized to reject the membership.
membership_id required | string The ID of the membership to reject |
{- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
Revokes the specified membership. The user must be authorized to revoke the membership.
membership_id required | string The ID of the membership to revoke |
{- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
Updates the specified membership. The user must be authorized to update the membership.
membership_id required | string The ID of the membership to update |
"owners"
{- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
Invites a new member to the specified repository. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an owners
or maintainers
member of the organization or repository you are inviting the member to.
Users with the admin
flag may invite users to any repository.
account_id required | string The ID of the account that owns the repository |
repository_id required | string The ID of the repository to invite the member to |
account_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
role required | string (MembershipRole) Enum: "owners" "maintainers" "read_data" "write_data" |
{- "account_id": "account-id",
- "role": "owners"
}
{- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
Retrieves all memberships associated with the specified repository.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization or repository you are listing memberships for.
Users with the admin
flag may list memberships for any repository.
account_id required | string The ID of the account that owns the repository |
repository_id required | string The ID of the repository to list memberships for |
[- {
- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
]
Retrieves a data connection by its ID. Authentication credentials are only included for users with the appropriate permissions.
data_connection_id required | string |
{- "data_connection_id": "data-connection-id",
- "name": "string",
- "prefix_template": "string",
- "read_only": true,
- "allowed_data_modes": [
- "open"
], - "required_flag": "admin",
- "details": {
- "provider": "s3",
- "bucket": "string",
- "base_prefix": "string",
- "region": "af-south-1"
}, - "authentication": {
- "type": "s3_access_key",
- "access_key_id": "string",
- "secret_access_key": "string"
}
}
Updates an existing data connection. Only users with the appropriate permissions can update data connections.
data_connection_id required | string |
data_connection_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
name required | string |
prefix_template | string |
read_only required | boolean |
allowed_data_modes required | Array of strings Items Enum: "open" "subscription" "private" |
required_flag | string Enum: "admin" "create_repositories" "create_organizations" |
required | any (DataConnectionDetails) |
any (DataConnectionAuthentication) |
{- "data_connection_id": "data-connection-id",
- "name": "string",
- "prefix_template": "string",
- "read_only": true,
- "allowed_data_modes": [
- "open"
], - "required_flag": "admin",
- "details": {
- "provider": "s3",
- "bucket": "string",
- "base_prefix": "string",
- "region": "af-south-1"
}, - "authentication": {
- "type": "s3_access_key",
- "access_key_id": "string",
- "secret_access_key": "string"
}
}
{- "data_connection_id": "data-connection-id",
- "name": "string",
- "prefix_template": "string",
- "read_only": true,
- "allowed_data_modes": [
- "open"
], - "required_flag": "admin",
- "details": {
- "provider": "s3",
- "bucket": "string",
- "base_prefix": "string",
- "region": "af-south-1"
}, - "authentication": {
- "type": "s3_access_key",
- "access_key_id": "string",
- "secret_access_key": "string"
}
}
Disables a data connection by setting it to read-only. Only users with the appropriate permissions can disable data connections.
data_connection_id required | string |
{- "data_connection_id": "data-connection-id",
- "name": "string",
- "prefix_template": "string",
- "read_only": true,
- "allowed_data_modes": [
- "open"
], - "required_flag": "admin",
- "details": {
- "provider": "s3",
- "bucket": "string",
- "base_prefix": "string",
- "region": "af-south-1"
}, - "authentication": {
- "type": "s3_access_key",
- "access_key_id": "string",
- "secret_access_key": "string"
}
}
Retrieves a list of data connections which the user is allowed to use for creating repositories. The list is sanitized of data connection credentials based on the user's permissions.
[- {
- "data_connection_id": "data-connection-id",
- "name": "string",
- "prefix_template": "string",
- "read_only": true,
- "allowed_data_modes": [
- "open"
], - "required_flag": "admin",
- "details": {
- "provider": "s3",
- "bucket": "string",
- "base_prefix": "string",
- "region": "af-south-1"
}, - "authentication": {
- "type": "s3_access_key",
- "access_key_id": "string",
- "secret_access_key": "string"
}
}
]
Retrieves a list of data connections. The list is sanitized of data connection credentials based on the user's permissions.
[- {
- "data_connection_id": "data-connection-id",
- "name": "string",
- "prefix_template": "string",
- "read_only": true,
- "allowed_data_modes": [
- "open"
], - "required_flag": "admin",
- "details": {
- "provider": "s3",
- "bucket": "string",
- "base_prefix": "string",
- "region": "af-south-1"
}, - "authentication": {
- "type": "s3_access_key",
- "access_key_id": "string",
- "secret_access_key": "string"
}
}
]
Creates a new data connection. Only users with the admin
flag may create data connections.
data_connection_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
name required | string |
prefix_template | string |
read_only required | boolean |
allowed_data_modes required | Array of strings Items Enum: "open" "subscription" "private" |
required_flag | string Enum: "admin" "create_repositories" "create_organizations" |
required | any (DataConnectionDetails) |
any (DataConnectionAuthentication) |
{- "data_connection_id": "data-connection-id",
- "name": "string",
- "prefix_template": "string",
- "read_only": true,
- "allowed_data_modes": [
- "open"
], - "required_flag": "admin",
- "details": {
- "provider": "s3",
- "bucket": "string",
- "base_prefix": "string",
- "region": "af-south-1"
}, - "authentication": {
- "type": "s3_access_key",
- "access_key_id": "string",
- "secret_access_key": "string"
}
}
{- "data_connection_id": "data-connection-id",
- "name": "string",
- "prefix_template": "string",
- "read_only": true,
- "allowed_data_modes": [
- "open"
], - "required_flag": "admin",
- "details": {
- "provider": "s3",
- "bucket": "string",
- "base_prefix": "string",
- "region": "af-south-1"
}, - "authentication": {
- "type": "s3_access_key",
- "access_key_id": "string",
- "secret_access_key": "string"
}
}
Creates a new API key for the specified repository. Only users who are an owners
or maintainers
member of the repository or organization may create an API Key. Users with the admin
flag may create API keys for any repository.
account_id required | string The ID of the account |
repository_id required | string The ID of the repository to create the API key for |
name required | string |
expires required | string <date-time> |
{- "name": "Dev Machine",
- "expires": "2019-08-24T14:15:22Z"
}
{- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine",
- "secret_access_key": "stringstringstringstringstringstringstringstringstringstringstri"
}
Retrieves all API keys associated with the specified repository. Only users who are an owners
or maintainers
member of the repository or organization may list API keys. Users with the admin
flag may list API keys for any repository.
account_id required | string The ID of the account |
repository_id required | string The ID of the repository to list API keys for |
[- {
- "access_key_id": "SCFOOBAR",
- "account_id": "account-id",
- "repository_id": "repository-id",
- "disabled": true,
- "expires": "2019-08-24T14:15:22Z",
- "name": "Dev Machine"
}
]
Updates an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are updating the repository for.
For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization you are updating the repository for.
Users with the admin
flag may update repositories for any account.
account_id required | string The ID of the account that owns the repository |
repository_id required | string The ID of the repository to update |
required | object (RepositoryMeta) |
state required | string (RepositoryState) Enum: "listed" "unlisted" |
{- "meta": {
- "title": "string",
- "description": "string",
- "tags": "string"
}, - "state": "listed"
}
{- "account_id": "string",
- "repository_id": "string",
- "state": "listed",
- "data_mode": "open",
- "featured": 1,
- "meta": {
- "title": "string",
- "description": "string",
- "tags": "string"
}, - "data": {
- "primary_mirror": "string",
- "mirrors": {
- "property1": {
- "data_connection_id": "string",
- "prefix": "string"
}, - "property2": {
- "data_connection_id": "string",
- "prefix": "string"
}
}
}, - "published": "2019-08-24T14:15:22Z",
- "disabled": true
}
Disables an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are disabling the repository for.
For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization you are disabling the repository for.
Users with the admin
flag may disable repositories for any account.
account_id required | string The ID of the account that owns the repository |
repository_id required | string The ID of the repository to disable |
{- "account_id": "string",
- "repository_id": "string",
- "state": "listed",
- "data_mode": "open",
- "featured": 1,
- "meta": {
- "title": "string",
- "description": "string",
- "tags": "string"
}, - "data": {
- "primary_mirror": "string",
- "mirrors": {
- "property1": {
- "data_connection_id": "string",
- "prefix": "string"
}, - "property2": {
- "data_connection_id": "string",
- "prefix": "string"
}
}
}, - "published": "2019-08-24T14:15:22Z",
- "disabled": true
}
Retrieves an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are retrieving the repository for.
For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization you are retrieving the repository from.
Users with the admin
flag may retrieve repositories for any account.
account_id required | string The ID of the account that owns the repository |
repository_id required | string The ID of the repository to retrieve |
{- "account_id": "string",
- "repository_id": "string",
- "state": "listed",
- "data_mode": "open",
- "featured": 1,
- "meta": {
- "title": "string",
- "description": "string",
- "tags": "string"
}, - "data": {
- "primary_mirror": "string",
- "mirrors": {
- "property1": {
- "data_connection_id": "string",
- "prefix": "string"
}, - "property2": {
- "data_connection_id": "string",
- "prefix": "string"
}
}
}, - "published": "2019-08-24T14:15:22Z",
- "disabled": true
}
Invites a new member to the specified repository. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an owners
or maintainers
member of the organization or repository you are inviting the member to.
Users with the admin
flag may invite users to any repository.
account_id required | string The ID of the account that owns the repository |
repository_id required | string The ID of the repository to invite the member to |
account_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
role required | string (MembershipRole) Enum: "owners" "maintainers" "read_data" "write_data" |
{- "account_id": "account-id",
- "role": "owners"
}
{- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
Retrieves all memberships associated with the specified repository.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization or repository you are listing memberships for.
Users with the admin
flag may list memberships for any repository.
account_id required | string The ID of the account that owns the repository |
repository_id required | string The ID of the repository to list memberships for |
[- {
- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
]
Creates a new repository for the specified account.
For user accounts, you must be authenticated as the user account you are creating the repository for.
For organization accounts, you must be authenticated as either an owners
or maintainers
member for the organization you are creating the repository for.
Users with the admin
flag may create repositories for any account.
account_id required | string The ID of the account to create the repository for |
repository_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
data_mode required | string (RepositoryDataMode) Enum: "open" "subscription" "private" |
required | object (RepositoryMeta) |
data_connection_id required | string [ 3 .. 40 ] characters ^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$ |
{- "repository_id": "string",
- "data_mode": "open",
- "meta": {
- "title": "string",
- "description": "string",
- "tags": "string"
}, - "data_connection_id": "data-connection-id"
}
{- "account_id": "string",
- "repository_id": "string",
- "state": "listed",
- "data_mode": "open",
- "featured": 1,
- "meta": {
- "title": "string",
- "description": "string",
- "tags": "string"
}, - "data": {
- "primary_mirror": "string",
- "mirrors": {
- "property1": {
- "data_connection_id": "string",
- "prefix": "string"
}, - "property2": {
- "data_connection_id": "string",
- "prefix": "string"
}
}
}, - "published": "2019-08-24T14:15:22Z",
- "disabled": true
}
Get the current user's session information. If the user is authenticated but has not created an account, the account field will be null. If the user is not authenticated, a 401 - Unauthorized
response will be returned. This endpoint can be used to list all of the authenticated user's memberships.
{- "identity_id": "identity-id",
- "account": {
- "account_id": "account-id",
- "account_type": "user",
- "identity_id": "identity-id",
- "disabled": true,
- "profile": {
- "name": "Isaac Asimov",
- "bio": "Software Engineer @radiantearth",
- "location": "Augsburg, Germany",
}, - "flags": [
- "admin"
]
}, - "memberships": [
- {
- "membership_id": "00000000-0000-0000-0000-000000000000",
- "account_id": "account-id",
- "membership_account_id": "organization-id",
- "repository_id": "repository-id",
- "role": "owners",
- "state": "invited",
- "state_changed": "2019-08-24T14:15:22Z"
}
]
}