#%Raml 0.8 title: Contacts version: 0.1 #baseUri: http://www.rve.com/contactshelf baseUri: https://mocksvc.mulesoft.com/mocks/d4c4356f-0508-4277-9060-00ab6dd36e9b/contactshelf /contacts: get: description: Die Liste vorhandener Kontakte abrufen responses: 200: body: application/json: example: | { "data": [ { "id": "1", "name": "Rheik", "link": "http://localhost:4567/contacts/Rheik" }, { "id": "2", "name": "Paul", "link": "http://localhost:4567/contacts/Paul" }, { "id": "3", "name": "Emil", "link": "http://localhost:4567/contacts/Emil" } ], "success": true, "status": 200 } /{name}: get: description: Einen spezifischen Kontakt abrufen responses: 200: body: application/json: example: | { "data": { "id": "1", "name": "Rheik", "link": "http://localhost:4567/contacts/Rheik" }, "success": true, "status": 200 } /new: post: description: Einen neuen Kontakt hinzufügen body: application/json: example: | { "data": { "name": "Franz", "link": "http://localhost:4567/contacts/Franz" } } responses: 200: body: application/json: example: | { "message": "Kontakt wurde korrekt übertragen." } /{id}: delete: description: Einen spezifischen Kontakt löschen responses: 200: body: application/json: example: | { "message": "Kontakt id = <> gelöscht." } 404: body: application/json: example: | { "message": "Kontakt id = <> nicht gefunden." }