- Previous: Pikeo Documentation
- Up: Pikeo Documentation
- Next: Picture URL
Authentication Mechanism
Every Pikeo API call is signed. The signature depends on the access type (anonymous or logged).
The following parameters are mandatory for all API calls and should be added to those listed afterward.
All the methods in the API require HTTP POST requests both for REST and XMLRPC.
Anonymous Access
- Anonymous signature generation
- Base64(SHA1(nonce + timestamp + secret))
- The nonce, timestamp and secret (associated with an api_key) are concatenated.
The signature is the SHA1 digest of this string encoded in base64.
Parameters
| Type | Parameter | Required | Description |
|---|---|---|---|
| String | api_key | Yes | Your api key provided. You can register here if you don't have one. |
| String | api_sig | Yes | Generated signature using the algorithm from above |
| String | nonce | Yes | Base64 encoded (cryptographically) random string that should be different for each request |
| String | timestamp | Yes | Nonce creation timestamp W3DTF format e.g. YYYY-MM-DDThh:mm:ssZ |
Logged access
- Authentified signature generation
- Base64(SHA1(nonce + timestamp + secret + UpperCase(Hexa(MD5(userPassword)))))
- The nonce, timestamp, secret (associated with an api_key) and the upper case MD5 hexadecimal digest of the user_password are concatenated.
The signature is the SHA1 digest of this string encoded in base64.
Parameters
| Type | Parameter | Required | Description |
|---|---|---|---|
| String | api_key | Yes | Your api key provided. You can register here if you don't have one. |
| String | api_sig | Yes | Generated signature using the algorithm from above |
| String | nonce | Yes | Base64 encoded (cryptographically) random string that should be different for each request |
| String | timestamp | Yes | Nonce creation timestamp W3DTF format e.g. YYYY-MM-DDThh:mm:ssZ |
| String | login | Yes | The pikeo username trying to call the method in authenticated mode. This value corresponds to the user_password used when computing the signature |
- Previous: Pikeo Documentation
- Up: Pikeo Documentation
- Next: Picture URL
Docs Navigation
- Home
- Authentication
- PictureURL
- Errors
- javaApiKit
- API
- pikeo test echo
- pikeo test version
- pikeo test login
- pikeo albums getInfo
- pikeo albums getList
- pikeo albums getPhotos
- pikeo comments addComment
- pikeo comments deleteComment
- pikeo comments getList
- pikeo comments getMyCommentedPhotos
- pikeo comments getPicturesCommentedByMe
- pikeo comments updateComment
- pikeo contacts getList
- pikeo groups addPhotos
- pikeo groups findByName
- pikeo groups getInfo
- pikeo groups getList
- pikeo groups getMembers
- pikeo groups getPhotos
- pikeo groups removePhotos
- pikeo groups search
- pikeo people findByUsername
- pikeo people getInfo
- pikeo people getMyInfo
- pikeo people getPublicPhotos
- pikeo photos addTags
- pikeo photos getContactsPublicPhotos
- pikeo photos getInfo
- pikeo photos getMostViewed
- pikeo photos getUserPhotos
- pikeo photos search
- pikeo photos setMeta
- pikeo photos setPrivacy
- pikeo photos upload
- phpApiKit
- DTO

Comments
New comments are not being accepted at this time.