Something the user is doing right now, read from another service they publish to. A client renders it beside their presence.
Properties
detail
string
Optional
A third line naming where the title sits, such as the album.
maxLength: 256 bytesendsAt
string
datetime
Optional
After this the activity is no longer current. The AppView clears it and says so, and a client treats a lapsed activity as absent.
imageUri
string
uri
Optional
Artwork for the activity, served by this AppView. Absent when none could be resolved.
kind
string
Required
What sort of activity this is. A client that does not know a kind falls back to naming the source.
listening, playing, streaminglinkUri
string
uri
Optional
Where the activity points, such as the track's page on the service it was played from.
source
string
Required
The service the activity was read from, such as 'teal.fm'.
maxLength: 64 bytesstartedAt
string
datetime
Optional
When the activity began.
subtitle
string
Optional
The second line, such as the artist.
maxLength: 256 bytestitle
string
Required
The main line: a track, a game, or a stream title.
maxLength: 256 bytesView raw schema
{
"type": "object",
"required": [
"kind",
"title",
"source"
],
"properties": {
"kind": {
"type": "string",
"description": "What sort of activity this is. A client that does not know a kind falls back to naming the source.",
"knownValues": [
"listening",
"playing",
"streaming"
]
},
"title": {
"type": "string",
"maxLength": 256,
"description": "The main line: a track, a game, or a stream title."
},
"detail": {
"type": "string",
"maxLength": 256,
"description": "A third line naming where the title sits, such as the album."
},
"endsAt": {
"type": "string",
"format": "datetime",
"description": "After this the activity is no longer current. The AppView clears it and says so, and a client treats a lapsed activity as absent."
},
"source": {
"type": "string",
"maxLength": 64,
"description": "The service the activity was read from, such as 'teal.fm'."
},
"linkUri": {
"type": "string",
"format": "uri",
"description": "Where the activity points, such as the track's page on the service it was played from."
},
"imageUri": {
"type": "string",
"format": "uri",
"description": "Artwork for the activity, served by this AppView. Absent when none could be resolved."
},
"subtitle": {
"type": "string",
"maxLength": 256,
"description": "The second line, such as the artist."
},
"startedAt": {
"type": "string",
"format": "datetime",
"description": "When the activity began."
}
},
"description": "Something the user is doing right now, read from another service they publish to. A client renders it beside their presence."
}