ocular statuses are used in many unofficial scratch projects. want to integrate them in your site? this documentation should help with that.
endpoint: /api/user/:username
example response from https://my-ocular.jeffalo.net/api/user/jeffalo
{
"_id": "5fb91a89532f943b9046e3ba",
"name": "jeffalo",
"status": "hi am jeffalo",
"color": "#0fbd8c",
"admin": true,
"meta": {
"updated": "2020-12-06T11:25:32.124Z",
"updatedBy": "jeffalo"
}
}
the parts that you should care about are status
and color
. other keys are not set in stone, and may break at any time.
my-ocular offers only a method to get statuses, there is no way currently to update them.