Metadata and scope request for an application.
{
"name": "Bird",
"description": "Micro-blogging client",
"icon": {...},
"uris": {...},
"scope_request": {...}
}
AppRecord
A private Record that an application creates to identify itself with a server.
name
string
description
string optional
icon
BlobLink optional
Icon of the application.
Maximum size of 20kB.
uris
AppRecordUris
scope_request
AppRecordScopeRequest
The App record is created by an application prior to the authorization flow.
An application can only update its own App record.
AppRecordUris
AppRecordScopeRequest
read
RecordLink[] optional
write
RecordLink[] optional
subscribe
RecordLink[] optional
import
RecordLink[] optional
notify
RecordLink[] optional
This is what the full content of an App record might look like.
{
"name": "Bird",
"description": "Simple short-form social network.",
"icon": {
"hash": "9deb36508836ad7d278f6a91f997f5f32c7075b82b51e37c1ebaaa0ea9ea7942",
"type": "image/png",
"name": "icon"
},
"uris": {
"redirect": "https://bird.baq.dev/auth{/authorization_id}",
"website": "https://bird.baq.dev"
},
"scope_request": {
"read": [
{
"entity": "types.baq.dev",
"record_id": "6ee7f69a90154b849bac528daa942bcd"
}
],
"write": [
{
"entity": "types.baq.dev",
"record_id": "6ee7f69a90154b849bac528daa942bcd"
}
],
"subscribe": [
{
"entity": "types.baq.dev",
"record_id": "6ee7f69a90154b849bac528daa942bcd"
}
]
}
}