{"_id":"57e4f6fbf3d7fc0e009c508b","__v":5,"githubsync":"","user":"54aa7f3f9bb00c0b00cb899b","category":{"_id":"564bbc7e8841060d00abb2ee","__v":10,"pages":["564bbf454bf5c80d0020901e","564bc1b08b1c5521002bb914","564c387b9baa330d00faa622","564c3a7b61008d17006ffa3a","564c3e4083b72c2b00b36fb6","564c431b61008d17006ffa46","564c4bc9b9cdb41700a0eae7","564c4e955f9d102b00fc3b4a","564c5f32c241881700d85981","564c68a93eb8f81700838a25"],"project":"54aa7f773b56130b0056c86e","version":"55781fe25129590d003ff4f7","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-11-17T23:47:10.058Z","from_sync":false,"order":1,"slug":"pulsate-cms-api","title":"Pulsate CMS API"},"parentDoc":null,"version":{"_id":"55781fe25129590d003ff4f7","project":"54aa7f773b56130b0056c86e","forked_from":"54aa7f773b56130b0056c871","__v":6,"createdAt":"2015-06-10T11:30:42.700Z","releaseDate":"2015-06-10T11:30:42.700Z","categories":["55781fe35129590d003ff4f8","55781fe35129590d003ff4f9","55781fe35129590d003ff4fa","55781fe35129590d003ff4fb","55781fe35129590d003ff4fc","55781fe35129590d003ff4fd","55781fe35129590d003ff4fe","564bbc7e8841060d00abb2ee","565b66c446118c0d00dcb0bb","56898269f8dc340d00308c13","582318b23b961a0f009516a1","594a848c9f4771001a43c959"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Developers","version_clean":"2.0.0","version":"2.0"},"project":"54aa7f773b56130b0056c86e","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-09-23T09:33:47.759Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"status":200,"language":"json","code":"{\n  \"created_at\": \"2017-01-12T13:14:51.097Z\",\n  \"nickname\": \"nickname_4\",\n  \"target\": \"target_4\",\n  \"id\": \"5877814b636f6e63bd580500\"\n}","name":""},{"name":"","status":422,"language":"json","code":"{\n    \"errors\": {\n        \"nickname\": [\n            \"is already taken\"\n        ],\n        \"target\": [\n            \"is already taken\"\n        ]\n    }\n}"}]},"settings":"564bbbf80cbcc91700b8171c","examples":{"codes":[{"code":"curl -X PUT \"https://control.pulsatehq.com/api/v1/apps/$APP_ID/deeplinks/$ID\"\n  -H \"Authorization: Token token=$MY_ADMIN_API_TOKEN\"\n  -d '{\n      \"deeplink\": {\n          \"target\": \"target_4\",\n          \"nickname\": \"nickname_4\"\n      }\n  }'","language":"shell"}]},"method":"put","auth":"required","params":[{"_id":"57ff84bfdc959e170011e1ad","ref":"","in":"path","required":true,"desc":"App ID. It can be fetched by using \"Apps: Get All (Index)\" or \"Apps: Get One (Show)\" endpoints.","default":"","type":"string","name":"app_id"},{"_id":"57e4f6fbf3d7fc0e009c508d","ref":"","in":"path","required":true,"desc":"Deeplink Id to be updated. It can be fetched using \"Deeplinks: Get All (Index)\" endpoint.","default":"","type":"string","name":"id"},{"_id":"58779480511a4e2500f91cd3","ref":"","in":"body","required":true,"desc":"Deeplink to be updated","default":"","type":"string","name":"deeplink"},{"_id":"57e4f682390bb60e0041661d","ref":"","in":"body","required":false,"desc":"Deeplinktarget, URI of the resource the deeplink points to","default":"","type":"string","name":"deeplink.target"},{"_id":"57e4f682390bb60e0041661c","ref":"","in":"body","required":false,"desc":"Deeplink nickname, user - friendly name of the deeplink","default":"","type":"string","name":"deeplink.nickname"},{"_id":"57e4f9817ee1b50e00b7def5","ref":"","in":"header","required":false,"desc":"","default":"application/json","type":"string","name":"Content-Type"}],"url":"/apps/:app_id/deeplinks/:id"},"isReference":true,"order":31,"body":"","excerpt":"","slug":"deeplinks-update-one","type":"endpoint","title":"Deeplinks: Update One"}

putDeeplinks: Update One


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

app_id:
required
string
App ID. It can be fetched by using "Apps: Get All (Index)" or "Apps: Get One (Show)" endpoints.
id:
required
string
Deeplink Id to be updated. It can be fetched using "Deeplinks: Get All (Index)" endpoint.

Body Params

deeplink:
required
string
Deeplink to be updated
deeplink.target:
string
Deeplinktarget, URI of the resource the deeplink points to
deeplink.nickname:
string
Deeplink nickname, user - friendly name of the deeplink

Headers

Content-Type:
stringapplication/json

Examples


Result Format


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