We've recently moved some of the REST API documentation. If you can't find what you're looking for, you might try the Actions REST API page.
ライセンス
ライセンス API は、Enterprise ライセンスに関する情報を提供します。
認証されたサイト管理者のみが使用できます。 通常のユーザーは、アクセスしようとすると 404 応答を受け取ります。
Get license information
HTTP 応答状態コード
| status code | 説明 |
|---|---|
200 | OK |
コード サンプル
get /enterprise /settings /license
curl \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
https://HOSTNAME/api/v3/enterprise/settings/licenseResponse
Status: 200{
"seats": 1400,
"seats_used": 1316,
"seats_available": 84,
"kind": "standard",
"days_until_expiration": 365,
"expire_at": "2016/02/06 12:41:52 -0600"
}