forked from colmena/colmena
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeta.json
More file actions
55 lines (55 loc) · 1.02 KB
/
meta.json
File metadata and controls
55 lines (55 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "Meta",
"plural": "Meta",
"base": "Model",
"idInjection": true,
"options": {
"validateUpsert": true
},
"properties": {},
"validations": [],
"relations": {},
"acls": [
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "$unauthenticated",
"permission": "ALLOW"
}
],
"methods": {
"getModels": {
"isStatic": true,
"accepts": [],
"returns": {
"arg": "result",
"type": "array",
"root": true
},
"description": "Get all Models",
"http": {
"path": "/",
"verb": "get"
}
},
"getModelById": {
"isStatic": true,
"accepts": {
"arg": "name",
"type": "any",
"description": "Model name",
"required": true
},
"returns": {
"arg": "result",
"type": "object",
"root": true
},
"description": "Get a Model by name",
"http": {
"path": "/:name",
"verb": "get"
}
}
}
}