## Muse: Mule Sales Enablement API

Base url http://example.api.com/v1

Version v1

### Security

#### jwt

Authorization with jwt usage header "X-HD-Access-Token" with token

## jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- #### Response

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

- #### Settings

#### oauth_2_0

Dropbox supports OAuth 2.0 for authenticating all API requests.

## oauth_2_0

#### Request

##### Query parameters

- access_token (string )
  Used to send a valid OAuth 2 access token. Do not use together with the "Authorization" header

##### Headers

- Authorization: Used to send a valid OAuth 2 access token. Do not use with the "access_token" query string parameter.

- #### Response

- ##### Http Status code
  401

  Bad or expired token. This can happen if the user or Dropbox revoked or expired an access token. To fix, you should re- authenticate the user.

- ##### Http Status code
  403

  Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here.

- #### Settings

- Authorization Uri: https://www.dropbox.com/1/oauth2/authorize
- Access Token Uri: https://api.dropbox.com/1/oauth2/token
- Authorization Grants
  - code
  - token

#### oauth_1_0

OAuth 1.0 continues to be supported for all API requests, but OAuth 2.0 is now preferred.

## oauth_1_0

#### Request

- #### Response

- ##### Http Status code
  401

  Bad or expired token. This can happen if the user or Dropbox revoked or expired an access token. To fix, you should re- authenticate the user.

- ##### Http Status code
  403

  Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here.

- #### Settings

- Authorization Uri: https://www.dropbox.com/1/oauth/authorize

### Resources

URl: /presentations
GET
POST

#### Presentations

GET
/presentations
Description
This is get method
Secured by jwt

#### Request

##### Query parameters

- title (string )
  Filter by title

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A collection of product Presentations", "properties": { "size": { "type": "integer", "required": true }, "presentations": { "type": "array", "items": { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" } } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentations.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

POST
/presentations
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- #### Response

- ##### Http Status code
  201

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

URl: /presentations/{presentationId}
GET
PUT
PATCH
DELETE

#### One presentation

GET
/presentations/{presentationId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Example

  { "id": 1, "title": "first product", "description": "Contrary to popular belief", "price": 100.00 }

  ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

PUT
/presentations/{presentationId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

PATCH
/presentations/{presentationId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

DELETE
/presentations/{presentationId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- #### Response

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

URl: /products
GET
POST

#### Products

GET
/products
Description
This is get method

#### Request

##### Query parameters

- region (string )
  Filter by region

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A collection of Products", "properties": { "size": { "type": "integer", "required": true }, "products": { "type": "array", "items": { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" } } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/products.json" }

POST
/products
Description
Secured by jwt
Secured by oauth_1_0

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" }

- #### Response

- ##### Http Status code
  201

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" }

- ##### Http Status code
  401

  Bad or expired token. This can happen if the user or Dropbox revoked or expired an access token. To fix, you should re- authenticate the user.

- ##### Http Status code
  403

  Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here.

URl: /products/{productId}
GET
PUT
PATCH
DELETE

#### One products

GET
/products/{productId}
Description

#### Request

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Example

  { "id": 1, "title": "first product", "description": "Contrary to popular belief", "price": 100.00 }

  ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" }

PUT
/products/{productId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" }

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

PATCH
/products/{productId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" }

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

DELETE
/products/{productId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single Product", "properties": { "id": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "description": { "type": "string" }, "imageUrl": { "type": "string" }, "region": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/product.json" }

- #### Response

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

URl: /products/{productId}/presentations
GET
POST

#### Presentations

GET
/products/{productId}/presentations
Description
This is get method
Secured by jwt

#### Request

##### Query parameters

- title (string )
  Filter by title

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A collection of product Presentations", "properties": { "size": { "type": "integer", "required": true }, "presentations": { "type": "array", "items": { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" } } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentations.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

POST
/products/{productId}/presentations
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- #### Response

- ##### Http Status code
  201

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

URl: /products/{productId}/presentations/{presentationId}
GET
PUT
PATCH
DELETE

#### One presentation

GET
/products/{productId}/presentations/{presentationId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Example

  { "id": 1, "title": "first product", "description": "Contrary to popular belief", "price": 100.00 }

  ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

PUT
/products/{productId}/presentations/{presentationId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

PATCH
/products/{productId}/presentations/{presentationId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- #### Response

- ##### Http Status code
  200

- Content-Type: application/json

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces

DELETE
/products/{productId}/presentations/{presentationId}
Description
Secured by jwt

#### Request

##### Headers

- X-HD-Access-Token: Valid jwt token

  ###### Example

      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

- Content-Type: application/json

- ##### Body

- ###### Schema

  { "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "description": "A single product Presentation", "properties": { "id": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string" }, "fileUrl": { "type": "string", "required": true }, "productId": { "type": "string", "required": true } }, "id": "file:///Users/cnam/Development/Nethouse/experimental/raml2html/example/raml/basic/schema/presentation.json" }

- #### Response

- ##### Http Status code
  401

  Bad or expired token.

- ##### Http Status code
  403

  Access denied not valid privilage in resurces