WMarket For Developers API && Authorization
API The whole API documentation is available at APIAry: http://docs.fiwaremarketplace.apiary.io We encourage you to check all the operations that you can do by using this API
Default HTT Codes 200: OK 201: The entity has been properly created The location header is included so you can access the entity 204: The entity has been properly removed 400: Invalid request: the body contains mistakes A message to give further details is included in the response 401: you need to send your credentials to make this request 403: you are not authorized to update/delete the requested entity 404: the requested entity does not exist 500: Internal Server Error
authorization
Authorization Request to WMarket must be authorized The way to authenticate the request depends on the Authentication system WMarket is using: Local Authentication: Include Basic Authentication header Authorization: Basic XXX Replacing XXX by a string that is obtained as follows: Combine your user name and password in a string using the pattern: “username:password” Encode the resulting string in base 64 IdM Authentication: Include Bearer Authentiation header Authorization: Bearer XXX Replacing XXX by the user’s OAuth2 token