組織 ステータス API¶
概要¶
今月の現時点までの利用合計を取得できます。
今月の合計コネクション数¶
組織の今月の合計コネクション数を取得します。
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-total-connections-this-month \
-vvv
POST /orgs/get-total-connections-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 3
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
32
今月の合計セッション数¶
今月の合計セッション数を取得します。
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-total-sessions-this-month \
-vvv
POST /orgs/get-total-sessions-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 3
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
19
今月の合計接続時間(分)¶
今月の合計接続時間(分)を取得します。 1 接続時間が 1 分に満たない場合は 0 分とした上で集計します。0 分未満で複数回接続して合計接続時間が 1 分を超えた場合も結果は 0 分となります。
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-total-duration-min-this-month \
-vvv
POST /orgs/get-total-duration-min-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 3
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
62
今月の合計トラフィック¶
今月の合計転送量(バイト)を取得します
Ingress は受信
Egress は送信
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-total-traffic-this-month \
-vvv
POST /orgs/get-total-traffic-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 41
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
{
"ingress": 334802932,
"egress": 271316192
}
今月の最大同時接続数¶
今月の最大同時接続数を取得します。
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-max-concurrent-connections-this-month \
-vvv
POST /orgs/get-max-concurrent-connections-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 2
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
2
今月の最大利用帯域 (Mbps)¶
今月の最大帯域を取得します。 1 Mbps に満たない場合は 0 を返却します (切り捨て) 。
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-max-bandwidth-mbps-this-month \
-vvv
POST /orgs/get-max-bandwidth-mbps-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 2
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
2
今月の API リクエスト数¶
今月の API リクエスト数を取得します。
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-total-api-requests-this-month \
-vvv
POST /orgs/get-total-api-requests-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 5
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
1418
今月の Sora API リクエスト数¶
今月の Sora API リクエスト数を取得します。
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-total-sora-api-requests-this-month \
-vvv
POST /orgs/get-total-sora-api-requests-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 3
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
22
今月のウェブフックリクエスト数¶
今月のウェブフックリクエスト数を取得します。
$ https -A bearer -a <API-KEY> \
POST api.sora-cloud.shiguredo.app/orgs/get-total-webhook-requests-this-month \
-vvv
POST /orgs/get-total-webhook-requests-this-month HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 4
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
400