{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/service","auth":"required","method":"patch","params":[{"name":"secret","type":"string","default":"d2d1820d56b862a6f5b1a69a7af730fa","desc":"The service secret","required":true,"in":"body","ref":"","_id":"565e23348f048c2100442a25"},{"name":"name","type":"string","default":"Cool new name","desc":"Updated service name","required":false,"in":"body","ref":"","_id":"565e23348f048c2100442a24"},{"name":"icon","type":"string","default":"https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Robot_icon.svg/200px-Robot_icon.svg.png","desc":"Updated service image","required":false,"in":"body","ref":"","_id":"565e23348f048c2100442a23"}],"results":{"codes":[{"status":200,"language":"json","code":"{\n\t'status': 'ok'\n}","name":""},{"status":404,"language":"json","code":"{\n \t'error': {\n    'id': 6,\n   \t'message': 'Service not found',\n  }\n}","name":""}]},"settings":""},"next":{"description":"","pages":[]},"title":"Update service info","type":"endpoint","slug":"update-service-info","excerpt":"","body":"","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"565e23348f048c2100442a22","createdAt":"2015-12-01T22:46:12.588Z","editedParams":true,"editedParams2":true,"parentDoc":null,"project":"555f9bf814d68e0d00966587","category":{"sync":{"isSync":false,"url":""},"pages":["555faf45d7777119003ad029","555fb0a3336c041700a9b862","555fb0e628249c1900618a69","565e23348f048c2100442a22"],"title":"Service","slug":"service","order":2,"from_sync":false,"reference":false,"_id":"555fa3e6d7777119003ad00f","createdAt":"2015-05-22T21:47:18.114Z","__v":4,"project":"555f9bf814d68e0d00966587","version":"555f9bf814d68e0d0096658a"},"githubsync":"","user":"555f9a010758330d000d531a","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["555f9bf814d68e0d0096658b","555f9e9ed7777119003acfee","555fa040d7777119003acffd","555fa344d7777119003ad00b","555fa3e6d7777119003ad00f","555fb694336c041700a9b86e","555fb779336c041700a9b86f","555fb86bd7777119003ad039","555fbf1a336c041700a9b87f"],"_id":"555f9bf814d68e0d0096658a","project":"555f9bf814d68e0d00966587","releaseDate":"2015-05-22T21:13:28.470Z","__v":9,"createdAt":"2015-05-22T21:13:28.470Z"},"__v":0}

patchUpdate service info


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

secret:
required
stringd2d1820d56b862a6f5b1a69a7af730fa
The service secret
name:
stringCool new name
Updated service name
icon:
stringhttps://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Robot_icon.svg/200px-Robot_icon.svg.png
Updated service image

Result Format


User Information

Try It Out

patch
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}