git - GitHub API returned Url meaning -


take simple api example,

https://api.github.com/users/zhuhuihuihui

in json formatted response, you'll find following,

"following_url":"https://api.github.com/users/zhuhuihuihui/following{/other_user}",
"gists_url": "https://api.github.com/users/zhuhuihuihui/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zhuhuihuihui/starred{/owner}{/repo}",

ok, know following_url, starred_url sub api can call fetch user following, or repos user has starred.

but, braces mean? 1 i've made bold. how use them?

those placeholders value, need replace actual value in order use links.

it serves remind user how access, instance, following_url user.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -