atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.whtwnd.blog.getEntryMetadataByName",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get AT URI by blog author and entry name. If there are multiple blog entries associated with the name, return the latest one.",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "author",
12 "entryTitle"
13 ],
14 "properties": {
15 "author": {
16 "type": "string",
17 "format": "at-identifier"
18 },
19 "entryTitle": {
20 "type": "string"
21 }
22 }
23 },
24 "output": {
25 "encoding": "application/json",
26 "schema": {
27 "type": "object",
28 "required": [
29 "entryUri"
30 ],
31 "properties": {
32 "cid": {
33 "type": "string",
34 "format": "cid"
35 },
36 "entryUri": {
37 "type": "string",
38 "format": "at-uri"
39 },
40 "lastUpdate": {
41 "type": "string",
42 "format": "datetime"
43 }
44 }
45 }
46 },
47 "errors": [
48 {
49 "description": "If the associated name isn't registered in the author's repo, this error is returned",
50 "name": "NotFound"
51 }
52 ]
53 }
54 }
55}