This repository has no description
1{
2 "lexicon": 1,
3 "id": "org.latha.strata.notifyOfUpdate",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Notify of a record change for immediate indexing. Fetches the record from the user's PDS and indexes (or deletes) it.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "properties": {
13 "uri": {
14 "type": "string",
15 "format": "at-uri",
16 "description": "Single AT URI to fetch and index"
17 },
18 "uris": {
19 "type": "array",
20 "items": {
21 "type": "string",
22 "format": "at-uri"
23 },
24 "maxLength": 25,
25 "description": "Batch of AT URIs to fetch and index (max 25)"
26 }
27 }
28 }
29 },
30 "output": {
31 "encoding": "application/json",
32 "schema": {
33 "type": "object",
34 "required": [
35 "indexed",
36 "deleted"
37 ],
38 "properties": {
39 "indexed": {
40 "type": "integer",
41 "description": "Number of records created or updated"
42 },
43 "deleted": {
44 "type": "integer",
45 "description": "Number of records deleted (not found on PDS)"
46 },
47 "errors": {
48 "type": "array",
49 "items": {
50 "type": "string"
51 },
52 "description": "Errors for individual URIs that could not be processed"
53 }
54 }
55 }
56 }
57 }
58 }
59}