{"_id":"582789abbe5c080f00a5a811","parentDoc":null,"user":"568bdbc4fe6fcc0d006dc970","version":{"_id":"582789aabe5c080f00a5a7fe","__v":10,"project":"568bdc1483d2061900d86cdc","createdAt":"2016-11-12T21:29:14.915Z","releaseDate":"2016-11-12T21:29:14.915Z","categories":["582789abbe5c080f00a5a7ff","582789abbe5c080f00a5a800","582789abbe5c080f00a5a801","582789abbe5c080f00a5a802","582789abbe5c080f00a5a803","582789abbe5c080f00a5a804","582789abbe5c080f00a5a805","582789abbe5c080f00a5a806","582789abbe5c080f00a5a807","582789abbe5c080f00a5a808","5827ea984ca29e0f00137a9e","583df597887db62f00644283","583df5d9c622791900e78da5","5845cd8763c11b250037967d","5845d13063c11b2500379681","5859e859e3306d1900126725","587aeb9a01cf3a0f008359eb","587c422af45e2d0f005e200d","587d84dc82f6f30f004ceee5"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"beta2","version_clean":"0.0.0","version":"0"},"project":"568bdc1483d2061900d86cdc","__v":1,"category":{"_id":"582789abbe5c080f00a5a801","__v":0,"version":"582789aabe5c080f00a5a7fe","project":"568bdc1483d2061900d86cdc","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-05-06T06:32:37.677Z","from_sync":false,"order":10,"slug":"ecosystems","title":"Ecosystems"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-06T06:45:20.487Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"http","code":"PUT https://ioe.droplit.io/api/ecosystems/C573b86eeee43dd7ba0244f8a HTTP/1.1\nauthorization: AUTH_TOKEN\ncontent-type: application/json\n\n{\n  \"meta\": {\n    \"$label\": \"My Ecosystem\"\n  }\n}"},{"name":"droplit console","language":"text","code":"droplit ecosystem update C573b86eeee43dd7ba0244f8a"}]},"method":"put","results":{"codes":[{"name":"","code":" ","language":"text","status":200},{"name":"","code":"{\n  \"errorType\": \"InvalidParams\",\n  \"errors\": [\n    {\n      \"in\": \"body\",\n      \"message\": \"expected field to be an object\",\n      \"path\": \"meta\"\n    }\n  ]\n}","language":"json","status":400},{"code":"Ecosystem with id C573b86c47fdf8178dfefc3fb does not exist.","language":"text","status":404},{"status":401,"language":"text","code":""},{"code":"","status":403,"language":"text"}]},"settings":"572c39957c8eff0e00aaa18b","auth":"required","params":[{"_id":"572c3d80cf980c2200104ad9","ref":"","in":"path","required":true,"desc":"[ecosystem](doc:ecosystems) id","default":"","type":"string","name":"id"},{"_id":"573b823aef164e2900a2b911","ref":"","in":"body","required":false,"desc":"[metadata](doc:metadata) attached to the [ecosystem](doc:ecosystems)","default":"","type":"string","name":"meta"},{"_id":"5846479b85b4a60f008e981b","ref":"","in":"header","required":false,"desc":"[metadata](doc:metadata) prefix","default":"$","type":"string","name":"x-system-meta-prefix"}],"url":"/ecosystems/:id"},"isReference":true,"order":3,"body":"You can use this endpoint to update an ecosystem’s metadata.","excerpt":"Update ecosystem information","slug":"update-ecosystems","type":"endpoint","title":"Update"}

putUpdate

Update ecosystem information

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
string
[ecosystem](doc:ecosystems) id

Body Params

meta:
string
[metadata](doc:metadata) attached to the [ecosystem](doc:ecosystems)

Headers

x-system-meta-prefix:
string$
[metadata](doc:metadata) prefix

Examples


Result Format


Documentation

You can use this endpoint to update an ecosystem’s metadata.

User Information

Try It Out

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