メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
verifiable-credentials
/
verification
/
templates
/
{id}
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.VerifiableCredentials.Verification.Templates.Get(
        context.TODO(),
        "id",
    )
}
{
  "created_at": "2021-01-01T00:00:00Z",
  "custom_certificate_authority": "<string>",
  "dialect": "simplified/1.0",
  "id": "vct_0000000000000001",
  "name": "<string>",
  "presentation": {
    "org.iso.18013.5.1.mDL": {
      "org.iso.18013.5.1": {
        "age_birth_year": true,
        "age_in_years": true,
        "birth_date": true,
        "driving_privileges": true,
        "expiry_date": true,
        "family_name": true,
        "family_name_national_character": true,
        "given_name": true,
        "given_name_national_character": true,
        "issue_date": true,
        "issuing_authority": true,
        "issuing_country": true,
        "issuing_jurisdiction": true,
        "nationality": true,
        "portrait": true,
        "portrait_capture_date": true,
        "resident_address": true,
        "resident_city": true,
        "resident_country": true,
        "resident_postal_code": true,
        "resident_state": true
      }
    }
  },
  "type": "mdl",
  "updated_at": "2021-01-01T00:00:00Z",
  "well_known_trusted_issuers": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

取得するテンプレートの ID。

Maximum string length: 26

レスポンス

テンプレートを正常に取得しました。

created_at
string<date-time>
デフォルト:2021-01-01T00:00:00Z

テンプレートが作成された日時。

custom_certificate_authority
string | null

カスタム証明書認証局。

Required string length: 1 - 4096
dialect
string
デフォルト:simplified/1.0

テンプレートのダイアレクト。

Maximum string length: 255
id
string
デフォルト:vct_0000000000000001

テンプレートの id。

name
string

テンプレートの名前。

presentation
object

簡略化された提示要求

type
string
デフォルト:mdl

テンプレートのタイプ。

updated_at
string<date-time>
デフォルト:2021-01-01T00:00:00Z

テンプレートが作成された日時。

well_known_trusted_issuers
string | null

既知の信頼できる発行元(カンマ区切り)。

Required string length: 1 - 255