{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/apps/:app_id/deeplinks/:id","auth":"required","results":{"codes":[{"name":"","code":"{\n  \"created_at\": \"2017-01-12T13:14:51.097Z\",\n  \"nickname\": \"nickname_4\",\n  \"target\": \"target_4\",\n  \"id\": \"5877814b636f6e63bd580500\"\n}","language":"json","status":200},{"code":"{\n    \"errors\": {\n        \"nickname\": [\n            \"is already taken\"\n        ],\n        \"target\": [\n            \"is already taken\"\n        ]\n    }\n}","language":"json","status":422,"name":""}]},"settings":"564bbbf80cbcc91700b8171c","examples":{"codes":[{"language":"shell","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  }'"}]},"method":"put","params":[{"name":"app_id","type":"string","default":"","desc":"App ID. It can be fetched by using \"Apps: Get All (Index)\" or \"Apps: Get One (Show)\" endpoints.","required":true,"in":"path","ref":"","_id":"57ff84bfdc959e170011e1ad"},{"name":"id","type":"string","default":"","desc":"Deeplink Id to be updated. It can be fetched using \"Deeplinks: Get All (Index)\" endpoint.","required":true,"in":"path","ref":"","_id":"57e4f6fbf3d7fc0e009c508d"},{"name":"deeplink","type":"string","default":"","desc":"Deeplink to be updated","required":true,"in":"body","ref":"","_id":"58779480511a4e2500f91cd3"},{"name":"deeplink.target","type":"string","default":"","desc":"Deeplinktarget, URI of the resource the deeplink points to","required":false,"in":"body","ref":"","_id":"57e4f682390bb60e0041661d"},{"name":"deeplink.nickname","type":"string","default":"","desc":"Deeplink nickname, user - friendly name of the deeplink","required":false,"in":"body","ref":"","_id":"57e4f682390bb60e0041661c"},{"name":"Content-Type","type":"string","default":"application/json","desc":"","required":false,"in":"header","ref":"","_id":"57e4f9817ee1b50e00b7def5"}]},"next":{"description":"","pages":[]},"title":"Deeplinks: Update One","type":"endpoint","slug":"deeplinks-update-one","excerpt":"","body":"","updates":[],"order":33,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e4fced159815700262d28f2","__v":5,"createdAt":"2016-09-23T09:33:47.759Z","githubsync":"","user":"54aa7f3f9bb00c0b00cb899b","category":{"sync":{"isSync":false,"url":""},"pages":["5e4fced159815700262d28c6","5e4fced159815700262d28c7","5e4fced159815700262d28c8","5e4fced159815700262d28c9","5e4fced159815700262d28ca","5e4fced159815700262d28cb","5e4fced159815700262d28cc","5e4fced159815700262d28cd","5e4fced159815700262d28ce","564c68a93eb8f81700838a25"],"title":"Pulsate CMS API","slug":"pulsate-cms-api","order":1,"from_sync":false,"reference":true,"_id":"5e4fced159815700262d289e","__v":10,"createdAt":"2015-11-17T23:47:10.058Z","project":"54aa7f773b56130b0056c86e","version":"5e4fced159815700262d2930"},"parentDoc":null,"version":{"version":"2.2","version_clean":"2.2.0","codename":"CMS API","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5e4fced159815700262d2899","55781fe35129590d003ff4f9","55781fe35129590d003ff4fa","5e4fced159815700262d289a","5e4fced159815700262d289b","5e4fced159815700262d289c","5e4fced159815700262d289d","5e4fced159815700262d289e","565b66c446118c0d00dcb0bb","56898269f8dc340d00308c13","5e4fced159815700262d289f","5e4fced159815700262d28a0","5c73dd27e8fdc000572a206a","5e4fced159815700262d28a1","5e53c04c1d11110018b56e12"],"_id":"5e4fced159815700262d2930","project":"54aa7f773b56130b0056c86e","forked_from":"55781fe25129590d003ff4f7","__v":1,"createdAt":"2015-06-10T11:30:42.700Z","releaseDate":"2015-06-10T11:30:42.700Z"},"project":"54aa7f773b56130b0056c86e"}

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