One of the organization's own profiles: its settings, what its certificates are signed with, and where it may be copied to.

GET /organizations/{organizationId}/profiles/{profileId}

GET https://dev.zanpki.com/organizations/{organizationId}/profiles/{profileId}

ID da operação organizations.organizationId.profiles.profileId.get
Acesso Signed in through ZanAuth: the access token cookie, with its ID token and refresh token companions. Ou: An access token the site's ZanAuth issuer minted for its app, or a static key.

Parâmetros

NomeEmTipoDescrição
organizationId Caminho Obrigatório string (snowflake) The organization.
profileId Caminho Obrigatório string (snowflake) The profile.

Respostas

StatusDescriçãoEsquemaTipo de conteúdo
200 One of the organization's own profiles: its settings, what its certificates are signed with, and where it may be copied to. ProfilePage application/json, text/html, text/markdown
403 Your roles here do not allow this. Problem application/json, text/html, text/markdown
422 The input was rejected; errors names each failure. ValidationProblem application/json, text/html, text/markdown
Qualquer outro status The request was refused. The problem's type names why, and its detail explains it for people to read. Problem application/json, text/html, text/markdown

200 One of the organization's own profiles: its settings, what its certificates are signed with, and where it may be copied to.

PropriedadeTipoDescrição
certificate_profiles_id string (snowflake) Obrigatório The profile's ID.
certificate_profiles_name string Obrigatório What the organization calls the profile, 1 to 100 characters. The forms that make a certificate offer it by this name.
certificate_profiles_base one of: 1, 2, 3, 4 Obrigatório The ZanPKI profile it is made from, which decides what its certificates are for and every extension they're signed with: 1 TLS server, 2 mTLS client, 3 VPN user, or 4 TLS server and client. It stays the same once the profile is made.
base_label string Obrigatório The ZanPKI profile it is made from, written out for display.
certificate_profiles_key_types list of one of: 1, 2, 3, 4, 5 Obrigatório The key types its certificates may have: 1 RSA 2048, 2 RSA 3072, 3 RSA 4096, 4 EC P-256, 5 EC P-384. At least one.
certificate_profiles_default_key_type one of: 1, 2, 3, 4, 5 Obrigatório The key type a form starts at, one of its key types.
certificate_profiles_digest one of: 1, 2, 3, null Obrigatório What its certificates are signed over when no digest is asked for: 1 SHA-256, 2 SHA-384 or 3 SHA-512; null to match the authority's key.
certificate_profiles_default_days integer (int32) Obrigatório How many days a certificate lasts when none are given, as with ACME: from 1 to its most days.
certificate_profiles_most_days integer (int32) Obrigatório The longest a certificate of this profile may last: 1 to 825 days.
certificate_profiles_name_kinds list of one of: 1, 2, 6, 7 Obrigatório The kinds of alternative name its certificates may hold: 2 DNS names, 7 IP addresses, 1 email addresses, 6 URIs. A server's profile takes DNS names or IP addresses.
certificate_profiles_subject_organization string, or null Obrigatório Filled into a certificate's subject when it gives none. Its unit, city, state and country are filled in the same way.
certificate_profiles_subject_unit string, or null Obrigatório Filled into a certificate's subject when it gives no unit.
certificate_profiles_subject_city string, or null Obrigatório Filled into a certificate's subject when it gives no city.
certificate_profiles_subject_state string, or null Obrigatório Filled into a certificate's subject when it gives no state or province.
certificate_profiles_subject_country string, or null Obrigatório Two capital letters, filled into a certificate's subject when it gives no country.
page_url string Obrigatório The path of the profile's page.
pki_organizations_id string (snowflake) Obrigatório The organization's ID.
pki_organizations_name string Obrigatório One customer, product or team: what holds authorities, certificates and machines; up to 100 characters.
pki_agencies_id string (snowflake) Obrigatório The agency's ID; for an organization, the ID of the agency that holds it.
pki_agencies_name string Obrigatório Your company, or the agency you run for your clients, up to 100 characters; it holds their organizations.
extensions string Obrigatório What its certificates are signed with, as the profile it is made from has it: a line per X.509 extension.
may_manage boolean Obrigatório Whether your roles let you change, copy and delete it (authorities:manage).
copy_organizations list of OrganizationOption Obrigatório The agency's other organizations where your roles let you manage profiles, which it can be copied to; empty when there are none.

403 Your roles here do not allow this.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.

422 The input was rejected; errors names each failure.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.
errors InputErrors Obrigatório What is wrong with each refused value. Parameters come as a list, and body errors as a tree shaped like the body.

Qualquer outro status: The request was refused. The problem's type names why, and its detail explains it for people to read.

PropriedadeTipoDescrição
type string Obrigatório A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obrigatório The HTTP status as text, such as Not Found.
status integer (int32) Obrigatório The HTTP status code of the response.
detail string Obrigatório An explanation of what went wrong, written for people to read.
instance string Obrigatório The path the request was sent to.

Exemplo

curl -X GET 'https://dev.zanpki.com/organizations/{organizationId}/profiles/{profileId}' \
  -H 'Authorization: Bearer <access token>'

Toda a documentação

0 instrução de banco de dados · 14 leituras do cache · 0.0 ms aguardando o banco de dados · 32,0 MiB de pico de memória
public.settingsSELECTdo cache
public.mesh_nodesSELECTdo cache
public.fqdnsSELECTdo cache
public.sitesSELECTdo cache
public.api_buildsSELECTdo cache
public.docs_guidesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.api_buildsSELECTdo cache
public.docs_guidesSELECTdo cache