developer.fetch

This section provides documentation on the v1.0 version of the Mashery API.  We will support previously built applications and integration points, but not granting new access keys.  These pages are for legacy support purposes.  Should you wish to integrate with your Mashery instance, please utilize Mashery API version 2.0.

Description

Retrieves a specific developer belonging to a Mashery Service Provider.

Authentication

This method requires authentication

Parameters Type Description Required
spkey string Service Provider key assigned by Mashery Yes
email string
Select the developer by email address. Either this value or an API key must be defined. Yes
apikey string Select the developer by API key. Either this value or an email address must be defined. Yes

Response

array|object — Success/failure of the call determined by the boolean success property, which will be false on failure. The properties stored with the developer are returned as the result on a successful lookup.

Examples

A JSON-RPC Request

{
      "method": "developer.fetch",
      "params": [{
            "spkey": "nzqz4xehpczjrgrjpgbwnskq",
            "where": {
                  "email": "johnqpublic@example.com"
            }
      }]{
      "id": 55{
}

A JSON-RPC Response

{
      "result": {
            "apikey": "6j3g9msume5w8bfu6tevcggv",
            "created": "2008-01-10 10:07:44",
            "email": "johnqpublic@example.com",
            "groups": ["trial"],
            "limits": {
                  "callsPerPeriod": 0,
                  "callsPerPeriodExempt": false,
                  "callsPerSecond": 5,
                  "callsPerSecondExempt": false,
                  "permittedMethods": {
                        "readStuff": {
                              "period": "day"
                              "limit": 500
                        },
                        "writeStuff": {
                              "period": "day"
                              "limit": 500
                        }
                  },
                  "permittedPaths": [],
                  "permittedHttpMethods": [],
                  "requiredReferers": []
            }
            "secret": "fbskfg4e"
            "status": "active"
            "updated": "2008-02-01 11:18:41"
      },
      "error": null,
      "id": 55
}

Errors

This method may return one of the following errors:

Error Description
4102: Insufficient Privileges You do not have sufficient privileges to call this method.
400: Bad Request Your request was incomplete or otherwise invalid. Please review the documentation.
450: Spkey Not In Area The service requested does not exist in the area specified.
12: Validation Failed One or more values presented were not acceptable. Please review the documentation.
4006: Developer Invalid Where The 'where' property of your request was incomplete. The properties 'email' and/or 'apikey' must be specified to perform this operation.

Comments

New comments are not being accepted at this time.