+24
lexdocs/social/clippr/actor/defs.json
+24
lexdocs/social/clippr/actor/defs.json
···
38
38
"format": "datetime"
39
39
}
40
40
}
41
41
+
},
42
42
+
"preferences": {
43
43
+
"type": "array",
44
44
+
"description": "An array of preference types",
45
45
+
"refs": [
46
46
+
"#publishingScopesPref"
47
47
+
]
48
48
+
},
49
49
+
"publishingScopesPref": {
50
50
+
"type": "object",
51
51
+
"description": "Preferences for an user's publishing scopes",
52
52
+
"required": [
53
53
+
"defaultScope"
54
54
+
],
55
55
+
"properties": {
56
56
+
"defaultScope": {
57
57
+
"type": "string",
58
58
+
"knownValues": [
59
59
+
"public",
60
60
+
"unlisted"
61
61
+
],
62
62
+
"description": "What publishing scope to mark a clip as by default."
63
63
+
}
64
64
+
}
41
65
}
42
66
}
43
67
}
+29
lexdocs/social/clippr/actor/getPreferences.json
+29
lexdocs/social/clippr/actor/getPreferences.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"id": "social.clippr.actor.getPreferences",
4
4
+
"defs": {
5
5
+
"main": {
6
6
+
"type": "query",
7
7
+
"description": "Get the private user preferences associated to the account.",
8
8
+
"parameters": {
9
9
+
"type": "params",
10
10
+
"properties": {}
11
11
+
},
12
12
+
"output": {
13
13
+
"encoding": "application/json",
14
14
+
"schema": {
15
15
+
"type": "object",
16
16
+
"required": [
17
17
+
"preferences"
18
18
+
],
19
19
+
"properties": {
20
20
+
"preferences": {
21
21
+
"type": "ref",
22
22
+
"ref": "social.clippr.actor.defs#preferences"
23
23
+
}
24
24
+
}
25
25
+
}
26
26
+
}
27
27
+
}
28
28
+
}
29
29
+
}
+23
lexdocs/social/clippr/actor/putPreferences.json
+23
lexdocs/social/clippr/actor/putPreferences.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"id": "social.clippr.actor.putPreferences",
4
4
+
"defs": {
5
5
+
"main": {
6
6
+
"type": "procedure",
7
7
+
"description": "Set the private preferences attached to the account.",
8
8
+
"input": {
9
9
+
"encoding": "application/json",
10
10
+
"schema": {
11
11
+
"type": "object",
12
12
+
"required": ["preferences"],
13
13
+
"properties": {
14
14
+
"preferences": {
15
15
+
"type": "ref",
16
16
+
"ref": "social.clippr.actor.defs#preferences"
17
17
+
}
18
18
+
}
19
19
+
}
20
20
+
}
21
21
+
}
22
22
+
}
23
23
+
}
lexdocs/social/clippr/actor/putProfile.json
lexdocs/social/clippr/actor/putProfile.json
This is a binary file and will not be displayed.
+43
lexdocs/social/clippr/actor/searchProfiles.json
+43
lexdocs/social/clippr/actor/searchProfiles.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"id": "social.clippr.actor.searchProfiles",
4
4
+
"defs": {
5
5
+
"main": {
6
6
+
"type": "query",
7
7
+
"description": "Find profiles matching search criteria. Does not require auth.",
8
8
+
"parameters": {
9
9
+
"type": "params",
10
10
+
"properties": {
11
11
+
"q": {
12
12
+
"type": "string",
13
13
+
"description": "Search query string."
14
14
+
},
15
15
+
"limit": {
16
16
+
"type": "integer",
17
17
+
"minimum": 1,
18
18
+
"maximum": 100,
19
19
+
"default": 25
20
20
+
},
21
21
+
"cursor": { "type": "string" }
22
22
+
}
23
23
+
},
24
24
+
"output": {
25
25
+
"encoding": "application/json",
26
26
+
"schema": {
27
27
+
"type": "object",
28
28
+
"required": ["actors"],
29
29
+
"properties": {
30
30
+
"cursor": { "type": "string" },
31
31
+
"actors": {
32
32
+
"type": "array",
33
33
+
"items": {
34
34
+
"type": "ref",
35
35
+
"ref": "social.clippr.actor.defs#profileView"
36
36
+
}
37
37
+
}
38
38
+
}
39
39
+
}
40
40
+
}
41
41
+
}
42
42
+
}
43
43
+
}