Add scope member
Invites a user to a scope
post/scopes/{scope}/members
Path parameters
scopestring required
The name of a scope. This must not be @ prefixed.
Example:denoland
The name of the scope
Request body
Example request
{
"githubLogin": "ry"
}Response
OK
Example response
{
"scope": "denoland",
"targetUser": {
"name": "Ryan Dahl",
"email": "ry@example.com",
"avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
"githubId": 80,
"scopeUsage": 3,
"scopeLimit": 10,
"inviteCount": 3
},
"inviter": {
"name": "Ryan Dahl",
"email": "ry@example.com",
"avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
"githubId": 80,
"scopeUsage": 3,
"scopeLimit": 10,
"inviteCount": 3
}
}