跳转到内容
Maple

General

Returns the developer app and effective scopes for the authenticated credential.

此内容尚不支持你的语言。

GEThttps://api.maple.inc/v1/meAPI key

Authorization

Send your API key as Authorization: Bearer <key>: mpk_test_… against the sandbox (https://api.staging.maple.inc/v1), mpk_live_… against production. See Authentication. The samples read the key from MAPLE_KEY and the base URL from MAPLE_BASE, as set up in the Quickstart.

Responses

200 OK

  • object string required

    Always developer_app.

  • id string required

  • name string required

  • environment string required

    One of test, live.

  • scopes string[] required

Errors

  • 400 Bad request DeveloperApiBadRequest

  • 401 Unauthorized DeveloperApiUnauthorized

  • 429 Too many requests DeveloperApiRateLimited

Every error body names the error in _tag, explains it in message, and says where to report it in feedback. See Errors.

A 429 also sends Retry-After: Seconds to wait before retrying; also returned as retry_after in the body.