-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathsidebar-api.js
68 lines (68 loc) · 1.7 KB
/
sidebar-api.js
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
56
57
58
59
60
61
62
63
64
65
66
67
68
module.exports = [
{
type: 'html',
className: 'sidebar-title',
value: 'API',
defaultStyle: true,
},
'api/overview',
{
type: 'category',
label: 'nilDB API',
items: [
'api/nildb/overview',
'api/nildb/accounts',
{
type: 'category',
label: 'Node',
items: [
'api/nildb/get-health-status', // Health
'api/nildb/get-node-details', // Details
],
},
{
type: 'category',
label: 'Schemas',
items: [
'api/nildb/get-schemas', // List Schemas
'api/nildb/add-schema', // Add Schema
'api/nildb/delete-schema', // Delete Schema
],
},
{
type: 'category',
label: 'Data',
items: [
'api/nildb/upload-data', // Upload
'api/nildb/read-data', // Read
'api/nildb/list-new-data', // Tail
'api/nildb/update-data', // Update
'api/nildb/delete-data', // Detail
'api/nildb/delete-all-data', // Flush
],
},
{
type: 'category',
label: 'Queries',
items: [
'api/nildb/get-queries', // List Query
'api/nildb/execute-query', // Execute Query
'api/nildb/add-query', // Add Query
'api/nildb/delete-query', // Delete Query
],
},
],
},
{
type: 'category',
label: 'nilAI API',
items: [
'api/nilai/overview',
'api/nilai/chat-completion-v-1-chat-completions-post',
'api/nilai/get-attestation-v-1-attestation-report-get',
'api/nilai/get-models-v-1-models-get',
'api/nilai/get-usage-v-1-usage-get',
'api/nilai/health-check-v-1-health-get',
],
},
];