Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'zh'
Sv translation
languageen

/api/users/:id/status

Returns the active status for the user specified by ID.

Resource Information

Request Parameters

Parameters

Detail

Example

id

ID of the user to fetch. You can find the ID in the response to /api/domains/:domain_id/users.

123

Sample Request / Response

Using curl:

Code Block
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/users/123/status

When the request has been submitted successfully, the server replies with an HTTP status code of 200 and body with one of following statuses:

    ACTIVE

    INACTIVE

 

Sv translation
languageja

/api/users/:id/status

IDで指定されたユーザーのアクティブなステータスを返却します

リソース情報

リソースURL

https://service.belladati.com/api/users/:id/status

HTTPメソッド

GET

リクエストパラメーター

パラメーター

詳細

id

ユーザーのIDは、フェッチします。to /api/domains/:domain_id/users.に応じてIDを見つけることができます

123

サンプルリクエスト/レスポンス

curl使用:

Code Block
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/users/123/status

リクエストが正常に送信された場合、サーバーはHTTPステータスコード200および本文に次のいずれかのステータスで応答します:

    アクティブ

    非アクティブ