割り当てられたすべての証明の取得。

get

/iam/governance/selfservice/api/v1/certifications

ログイン・ユーザーに割り当てられたすべての証明を返します。

リクエスト

サポートされているメディア・タイプ
問合せパラメータ
  • 証明を取得する検索フィルタ。SCIMフィルタを受け入れます。フィルタ値に空白は使用できません。属性値に空白を渡す場合、"::"に置き換えます。フィルタでサポートされている属性は、typeおよびuseridです。フィルタのサンプル値は、"type eq Application::Instance"または"type eq Role and userid={userId}"です。
先頭に戻る

レスポンス

サポートされているメディア・タイプ

200レスポンス

成功
ヘッダー
本文()
ルート・スキーマ: CertificationsResponse
型: object
ソースを表示
ネストされたスキーマ: certifications
型: array
ソースを表示
ネストされたスキーマ: CertificationInstance
型: object
ソースを表示
ネストされたスキーマ: LinkDataInstances
型: object
ソースを表示

401レスポンス

未認可

404レスポンス

リソースが見つからない

500レスポンス

内部サーバー・エラー

デフォルト・レスポンス

予期しないエラー
先頭に戻る

この例では、状態が割り当てられているすべての証明を取得します。ここで表示された情報は疑似システムに対するものであり、プロトタイプとして使用します。

cURLの例

curl  -H "Content-Type: application/json"  -X GET  -u username:password  https://pseudo.com/iam/governance/selfservice/api/v1/certifications?q=state+eq+assigned

GETレスポンス本文の例

JSON形式のレスポンス本文のコンテンツの例を次に示します。

{
  "links": [
    {
      "rel": "self",
      "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications"
    },
    {
      "rel": "self",
      "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications?offset=1&limit=10&q=state+eq+assigned"
    },
    {
      "rel": "first",
      "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications?offset=1&limit=10&q=state+eq+assigned"
    }
  ],
  "count": 7,
  "hasMore": false,
  "totalResult": -1,
  "certifications": [
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications/116/tasks/a3962f7a-90b1-44ba-8df1-ca13e64ce7d5"
        }
      ],
      "state": "ASSIGNED",
      "name": "Demo Cert Definition [ Neelesh Ghorpade ]",
      "type": "User",
      "id": "116",
      "asignee": "nghorpade",
      "createdDate": "Mon Apr 25 15:44:01 IST 2016",
      "soaTaskId": "f8dfa0d8-348d-4d50-9451-47f591c97303",
      "taskId": "a3962f7a-90b1-44ba-8df1-ca13e64ce7d5"
    },
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications/223/tasks/d7adaa77-03ee-459b-b084-0301de40ccc5"
        }
      ],
      "state": "ASSIGNED",
      "name": "Certification1 [ mmohanty ] Reassigned [ Neelesh Ghorpade ]",
      "type": "User",
      "id": "223",
      "asignee": "nghorpade",
      "createdDate": "Wed May 25 15:25:19 IST 2016",
      "soaTaskId": "e55648a0-37a9-4f33-b0a7-e0409b8877bd",
      "taskId": "d7adaa77-03ee-459b-b084-0301de40ccc5"
    },
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governancem,/selfservice/api/v1/certifications/241/tasks/89499258-76ef-412a-ae6b-ec4646e168b8"
        }
      ],
      "state": "ASSIGNED",
      "name": "UserCertification-07042016 [ Neelesh Ghorpade ]",
      "type": "User",
      "id": "241",
      "asignee": "nghorpade",
      "createdDate": "Mon May 30 14:26:33 IST 2016",
      "soaTaskId": "22c3e2ed-fbce-45f4-a1bf-ddff005e66d0",
      "taskId": "89499258-76ef-412a-ae6b-ec4646e168b8"
    },
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications/280/tasks/0542e592-3628-488e-8ad5-8a72a16e614e"
        }
      ],
      "state": "ASSIGNED",
      "name": "ManasUserCert [ Manas Mohanty ] Delegated [ Neelesh Ghorpade ]",
      "type": "User",
      "id": "280",
      "asignee": "nghorpade",
      "createdDate": "Wed Jun 15 11:56:40 IST 2016",
      "soaTaskId": "49f619a1-5af1-4b21-95b9-7a4b4aeb0d86",
      "taskId": "0542e592-3628-488e-8ad5-8a72a16e614e"
    },
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications/281/tasks/d4e7f147-3a63-4331-a08e-dfe58df36fc3"
        }
      ],
      "state": "ASSIGNED",
      "name": "UserCertification-07042016 [ Neelesh Ghorpade ]",
      "type": "User",
      "id": "281",
      "asignee": "nghorpade",
      "createdDate": "Fri Jun 24 10:41:41 IST 2016",
      "soaTaskId": "83dc2357-185b-4c53-9c46-21ae0bc82901",
      "taskId": "d4e7f147-3a63-4331-a08e-dfe58df36fc3"
    },
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications/282/tasks/89d20552-9cac-4d86-8ebb-ab469cf6f926"
        }
      ],
      "state": "ASSIGNED",
      "name": "ManasUserCert [ Manas Mohanty ] Delegated [ Neelesh Ghorpade ]",
      "type": "User",
      "id": "282",
      "asignee": "nghorpade",
      "createdDate": "Fri Jun 24 13:42:47 IST 2016",
      "soaTaskId": "c41b8027-d048-4226-bf39-bd1cbb77bce9",
      "taskId": "89d20552-9cac-4d86-8ebb-ab469cf6f926"
    },
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governance/selfservice/api/v1/certifications/282/tasks/4b0c03d9-5b7c-431b-bb14-750effce7707"
        }
      ],
      "state": "ASSIGNED",
      "name": "ManasUserCert [ Manas Mohanty ] Delegated [ Neelesh Ghorpade ]",
      "type": "User",
      "id": "282",
      "asignee": "nghorpade",
      "createdDate": "Fri Jun 24 13:43:01 IST 2016",
      "soaTaskId": "3b4fdcfd-872d-4822-b328-11412970b3ad",
      "taskId": "4b0c03d9-5b7c-431b-bb14-750effce7707"
    }
  ]
}
先頭に戻る