{
"id": "rsvp.atmo.notifyOfUpdate",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "Single AT URI to fetch and index"
},
"uris": {
"type": "array",
"items": {
"type": "string",
"format": "at-uri"
},
"maxLength": 25,
"description": "Batch of AT URIs to fetch and index (max 25)"
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"indexed",
"deleted"
],
"properties": {
"errors": {
"type": "array",
"items": {
"type": "string"
},
"description": "Errors for individual URIs that could not be processed"
},
"deleted": {
"type": "integer",
"description": "Number of records deleted (not found on PDS)"
},
"indexed": {
"type": "integer",
"description": "Number of records created or updated"
}
}
},
"encoding": "application/json"
},
"description": "Notify of a record change for immediate indexing. Fetches the record from the user's PDS and indexes (or deletes) it."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}