Profile Managers
Creates a profile manager
Authorizations
Body
displayNamestringOptionalDefault:
""
shortBiostringOptionalDefault:
""
biostringOptionalDefault:
""
emailstringOptional
imagestringOptional
heroImagestringOptional
Responses
200
Successful response
application/json
Responsestring
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
POST /api/profile-manager/create HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"displayName": "",
"shortBio": "",
"bio": "",
"email": "text",
"image": "text",
"heroImage": "text"
}
text
Creates a profile manager that is a child of a Boost
Authorizations
Body
parentUristringRequired
Responses
200
Successful response
application/json
Responsestring
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
POST /api/profile-manager/create-child HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 121
{
"parentUri": "text",
"profile": {
"displayName": "",
"shortBio": "",
"bio": "",
"email": "text",
"image": "text",
"heroImage": "text"
}
}
text
This route uses the request header to grab the profile manager profile of the current profile manager
Authorizations
Responses
200
Successful response
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
get
GET /api/profile-manager HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"created": "text",
"displayName": "",
"shortBio": "",
"bio": "",
"email": "text",
"image": "text",
"heroImage": "text",
"did": "text"
}
This route updates the profile of the current profile manager
Authorizations
Body
displayNamestringOptionalDefault:
""
shortBiostringOptionalDefault:
""
biostringOptionalDefault:
""
emailstringOptional
imagestringOptional
heroImagestringOptional
Responses
200
Successful response
application/json
Responseboolean
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
POST /api/profile-manager HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"displayName": "",
"shortBio": "",
"bio": "",
"email": "text",
"image": "text",
"heroImage": "text"
}
true
This route grabs the profile information of any profile manager, using their id
Authorizations
Path parameters
idstringRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/profile-manager/{id} HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"created": "text",
"displayName": "",
"shortBio": "",
"bio": "",
"email": "text",
"image": "text",
"heroImage": "text",
"did": "text"
}
Was this helpful?