-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathsidebar-api.js
67 lines (67 loc) · 2.02 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
module.exports = [
{
type: 'html',
className: 'sidebar-title',
value: 'API',
defaultStyle: true,
},
'api/overview',
{
type: 'category',
label: 'nilDB API',
items: [
// 'api/nildb/overview',
{
type: 'category',
label: 'System',
items: [
'api/nildb/get-health-status', // Health
'api/nildb/get-node-details', // About
'api/nildb/retrieve-an-organizations-account-details', // Accounts
],
},
{
type: 'category',
label: 'Schemas',
items: [
'api/nildb/list-the-organizations-schemas', // List Schemas
'api/nildb/add-a-new-schema', // Add Schema
'api/nildb/delete-a-schema', // Delete Schema
],
},
{
type: 'category',
label: 'Data',
items: [
'api/nildb/upload-data-to-the-specified-schema-collection', // Upload
'api/nildb/retrieve-data-from-the-specified-schema-collection-that-matches-the-provided-filter', // Read
'api/nildb/retrieve-recently-added-documents-from-a-schema-collection', // Tail
'api/nildb/update-documents-within-a-schema-collection-that-match-the-given-filter', // Update
'api/nildb/delete-data-records-that-match-a-given-filter', // Detail
'api/nildb/remove-all-documents-in-a-schema-collection', // Flush
],
},
{
type: 'category',
label: 'Queries',
items: [
'api/nildb/list-the-organizations-queries', // List Query
'api/nildb/add-a-new-query', // Add Query
'api/nildb/delete-a-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',
],
},
];