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

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 }}