oAuth request token.

22Aug2011

The Consumer obtains an unauthorized Request Token.

Request URL

/openapi/oauth/request_token [GET]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
oauth_callback (URL)An absolute URI back to which the server will redirect the resource owner when the Resource Owner Authorization step is completed.Required-
oauth_consumer_key (ALPHA_NUM)The identifier portion of the client credentials (equivalent to a username).Required-
oauth_nonce (ALPHA_NUM)A nonce is a random string, uniquely generated by the client to allow the server to verify that a request has never been made before and helps prevent replay attacks when requests are made over a non-secure channel.Required-
oauth_signature (OAUTH_SIGNATURE)A password portion of the client credentials encoded by the given signature method.Required-
oauth_signature_method (OAUTH_SIGNATURE_METHOD)The name of the signature method used by the client to sign the request.
Value must be either "HMAC-SHA1" or "PLAINTEXT".
Required-
oauth_timestamp (INT)The timestamp.Required-
app_id[] (APP_ID)The application ID.Optional0-
mediamosa_version (MEDIAMOSA_VERSION)Provide the version to get the REST call returned in the format of the specified MediaMosa version. Keep empty or skip to retrieve in current (latest) version. Provide '2' to retrieve the REST call in 2.x format. Or be more specific by providing up to 3 digits; '2.3.0'. This setting will override any setting used by client application or the default setting in MediaMosa.Optional-
oauth_version (OAUTH_VERSION)Provides the version of the authentication process.
Value (when supplied) must be either "1.0".
Optional1.0-

Example Request

services/oauth/request_token?oauth_consumer_key=key&oauth_nonce=631253d79fc6ecd42f9f30f7badee7ce&oauth_signature=71EqRGJuDHBjQDoCL2V9Y798BwU%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1296481425&oauth_version=1.0

Example Response

oauth_token=requestkey&oauth_token_secret=requestsecret