@arke-institute/sdk 2.3.6 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/index.d.cts +507 -24
- package/dist/generated/index.d.ts +507 -24
- package/openapi/spec.json +586 -26
- package/openapi/version.json +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Source: Arke v1 API
|
|
8
8
|
* Version: 1.0.0
|
|
9
|
-
* Generated: 2026-01-
|
|
9
|
+
* Generated: 2026-01-12T16:14:47.577Z
|
|
10
10
|
*/
|
|
11
11
|
type paths = {
|
|
12
12
|
"/auth/register": {
|
|
@@ -491,6 +491,106 @@ type paths = {
|
|
|
491
491
|
patch?: never;
|
|
492
492
|
trace?: never;
|
|
493
493
|
};
|
|
494
|
+
"/users/{id}/collections": {
|
|
495
|
+
parameters: {
|
|
496
|
+
query?: never;
|
|
497
|
+
header?: never;
|
|
498
|
+
path?: never;
|
|
499
|
+
cookie?: never;
|
|
500
|
+
};
|
|
501
|
+
/**
|
|
502
|
+
* List collections user has access to
|
|
503
|
+
* @description Returns all collections where the user has a role relationship (owner, editor, viewer, etc.).
|
|
504
|
+
*
|
|
505
|
+
* Queries GraphDB for collections with relationships pointing to this user where peer_type is 'user'.
|
|
506
|
+
* Results include the role predicate so clients know what access the user has to each collection.
|
|
507
|
+
*
|
|
508
|
+
* Supports filtering by predicate (role name) and pagination.
|
|
509
|
+
*/
|
|
510
|
+
get: {
|
|
511
|
+
parameters: {
|
|
512
|
+
query?: {
|
|
513
|
+
predicate?: string;
|
|
514
|
+
limit?: string;
|
|
515
|
+
offset?: string;
|
|
516
|
+
};
|
|
517
|
+
header?: never;
|
|
518
|
+
path: {
|
|
519
|
+
/** @description Entity ID (ULID) */
|
|
520
|
+
id: string;
|
|
521
|
+
};
|
|
522
|
+
cookie?: never;
|
|
523
|
+
};
|
|
524
|
+
requestBody?: never;
|
|
525
|
+
responses: {
|
|
526
|
+
/** @description List of collections */
|
|
527
|
+
200: {
|
|
528
|
+
headers: {
|
|
529
|
+
[name: string]: unknown;
|
|
530
|
+
};
|
|
531
|
+
content: {
|
|
532
|
+
"application/json": components["schemas"]["UserCollectionsResponse"];
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
/** @description Unauthorized - Missing or invalid authentication */
|
|
536
|
+
401: {
|
|
537
|
+
headers: {
|
|
538
|
+
[name: string]: unknown;
|
|
539
|
+
};
|
|
540
|
+
content: {
|
|
541
|
+
/**
|
|
542
|
+
* @example {
|
|
543
|
+
* "error": "Unauthorized: Missing or invalid authentication token"
|
|
544
|
+
* }
|
|
545
|
+
*/
|
|
546
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
/** @description Forbidden - Insufficient permissions */
|
|
550
|
+
403: {
|
|
551
|
+
headers: {
|
|
552
|
+
[name: string]: unknown;
|
|
553
|
+
};
|
|
554
|
+
content: {
|
|
555
|
+
/**
|
|
556
|
+
* @example {
|
|
557
|
+
* "error": "Forbidden: You do not have permission to perform this action"
|
|
558
|
+
* }
|
|
559
|
+
*/
|
|
560
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
/** @description Not Found - Resource does not exist */
|
|
564
|
+
404: {
|
|
565
|
+
headers: {
|
|
566
|
+
[name: string]: unknown;
|
|
567
|
+
};
|
|
568
|
+
content: {
|
|
569
|
+
/**
|
|
570
|
+
* @example {
|
|
571
|
+
* "error": "Entity not found"
|
|
572
|
+
* }
|
|
573
|
+
*/
|
|
574
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
/** @description GraphDB service unavailable */
|
|
578
|
+
503: {
|
|
579
|
+
headers: {
|
|
580
|
+
[name: string]: unknown;
|
|
581
|
+
};
|
|
582
|
+
content?: never;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
put?: never;
|
|
587
|
+
post?: never;
|
|
588
|
+
delete?: never;
|
|
589
|
+
options?: never;
|
|
590
|
+
head?: never;
|
|
591
|
+
patch?: never;
|
|
592
|
+
trace?: never;
|
|
593
|
+
};
|
|
494
594
|
"/collections": {
|
|
495
595
|
parameters: {
|
|
496
596
|
query?: never;
|
|
@@ -2453,6 +2553,276 @@ type paths = {
|
|
|
2453
2553
|
patch?: never;
|
|
2454
2554
|
trace?: never;
|
|
2455
2555
|
};
|
|
2556
|
+
"/connect": {
|
|
2557
|
+
parameters: {
|
|
2558
|
+
query?: never;
|
|
2559
|
+
header?: never;
|
|
2560
|
+
path?: never;
|
|
2561
|
+
cookie?: never;
|
|
2562
|
+
};
|
|
2563
|
+
get?: never;
|
|
2564
|
+
put?: never;
|
|
2565
|
+
/**
|
|
2566
|
+
* Connect two entities
|
|
2567
|
+
* @description Creates a unidirectional relationship from source to target entity.
|
|
2568
|
+
*
|
|
2569
|
+
* This is a shorthand for adding a relationship with sensible defaults:
|
|
2570
|
+
* - Default predicate: `connects_to` (customizable)
|
|
2571
|
+
* - Optional label and description stored in relationship properties
|
|
2572
|
+
* - Only requires `entity:update` permission on source entity
|
|
2573
|
+
*
|
|
2574
|
+
* Use this for simple entity linking. For bidirectional relationships or
|
|
2575
|
+
* advanced options, use the `/relationships` endpoint.
|
|
2576
|
+
*/
|
|
2577
|
+
post: {
|
|
2578
|
+
parameters: {
|
|
2579
|
+
query?: never;
|
|
2580
|
+
header?: never;
|
|
2581
|
+
path?: never;
|
|
2582
|
+
cookie?: never;
|
|
2583
|
+
};
|
|
2584
|
+
requestBody?: {
|
|
2585
|
+
content: {
|
|
2586
|
+
"application/json": components["schemas"]["ConnectRequest"];
|
|
2587
|
+
};
|
|
2588
|
+
};
|
|
2589
|
+
responses: {
|
|
2590
|
+
/** @description Connection created */
|
|
2591
|
+
201: {
|
|
2592
|
+
headers: {
|
|
2593
|
+
[name: string]: unknown;
|
|
2594
|
+
};
|
|
2595
|
+
content: {
|
|
2596
|
+
"application/json": components["schemas"]["ConnectResponse"];
|
|
2597
|
+
};
|
|
2598
|
+
};
|
|
2599
|
+
/** @description Bad Request - Invalid input */
|
|
2600
|
+
400: {
|
|
2601
|
+
headers: {
|
|
2602
|
+
[name: string]: unknown;
|
|
2603
|
+
};
|
|
2604
|
+
content: {
|
|
2605
|
+
/**
|
|
2606
|
+
* @example {
|
|
2607
|
+
* "error": "Validation failed",
|
|
2608
|
+
* "details": {
|
|
2609
|
+
* "issues": [
|
|
2610
|
+
* {
|
|
2611
|
+
* "path": [
|
|
2612
|
+
* "properties",
|
|
2613
|
+
* "label"
|
|
2614
|
+
* ],
|
|
2615
|
+
* "message": "Required"
|
|
2616
|
+
* }
|
|
2617
|
+
* ]
|
|
2618
|
+
* }
|
|
2619
|
+
* }
|
|
2620
|
+
*/
|
|
2621
|
+
"application/json": components["schemas"]["ValidationErrorResponse"];
|
|
2622
|
+
};
|
|
2623
|
+
};
|
|
2624
|
+
/** @description Unauthorized - Missing or invalid authentication */
|
|
2625
|
+
401: {
|
|
2626
|
+
headers: {
|
|
2627
|
+
[name: string]: unknown;
|
|
2628
|
+
};
|
|
2629
|
+
content: {
|
|
2630
|
+
/**
|
|
2631
|
+
* @example {
|
|
2632
|
+
* "error": "Unauthorized: Missing or invalid authentication token"
|
|
2633
|
+
* }
|
|
2634
|
+
*/
|
|
2635
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2636
|
+
};
|
|
2637
|
+
};
|
|
2638
|
+
/** @description Forbidden - Insufficient permissions */
|
|
2639
|
+
403: {
|
|
2640
|
+
headers: {
|
|
2641
|
+
[name: string]: unknown;
|
|
2642
|
+
};
|
|
2643
|
+
content: {
|
|
2644
|
+
/**
|
|
2645
|
+
* @example {
|
|
2646
|
+
* "error": "Forbidden: You do not have permission to perform this action"
|
|
2647
|
+
* }
|
|
2648
|
+
*/
|
|
2649
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2650
|
+
};
|
|
2651
|
+
};
|
|
2652
|
+
/** @description Not Found - Resource does not exist */
|
|
2653
|
+
404: {
|
|
2654
|
+
headers: {
|
|
2655
|
+
[name: string]: unknown;
|
|
2656
|
+
};
|
|
2657
|
+
content: {
|
|
2658
|
+
/**
|
|
2659
|
+
* @example {
|
|
2660
|
+
* "error": "Entity not found"
|
|
2661
|
+
* }
|
|
2662
|
+
*/
|
|
2663
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2664
|
+
};
|
|
2665
|
+
};
|
|
2666
|
+
/** @description Conflict - CAS validation failed (entity was modified) */
|
|
2667
|
+
409: {
|
|
2668
|
+
headers: {
|
|
2669
|
+
[name: string]: unknown;
|
|
2670
|
+
};
|
|
2671
|
+
content: {
|
|
2672
|
+
/**
|
|
2673
|
+
* @example {
|
|
2674
|
+
* "error": "Conflict: entity was modified",
|
|
2675
|
+
* "details": {
|
|
2676
|
+
* "expected": "bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy",
|
|
2677
|
+
* "actual": "bafyreinewabc123456789defghijklmnopqrstuvwxyz"
|
|
2678
|
+
* }
|
|
2679
|
+
* }
|
|
2680
|
+
*/
|
|
2681
|
+
"application/json": components["schemas"]["CASErrorResponse"];
|
|
2682
|
+
};
|
|
2683
|
+
};
|
|
2684
|
+
};
|
|
2685
|
+
};
|
|
2686
|
+
delete?: never;
|
|
2687
|
+
options?: never;
|
|
2688
|
+
head?: never;
|
|
2689
|
+
patch?: never;
|
|
2690
|
+
trace?: never;
|
|
2691
|
+
};
|
|
2692
|
+
"/connect/disconnect": {
|
|
2693
|
+
parameters: {
|
|
2694
|
+
query?: never;
|
|
2695
|
+
header?: never;
|
|
2696
|
+
path?: never;
|
|
2697
|
+
cookie?: never;
|
|
2698
|
+
};
|
|
2699
|
+
get?: never;
|
|
2700
|
+
put?: never;
|
|
2701
|
+
/**
|
|
2702
|
+
* Disconnect two entities
|
|
2703
|
+
* @description Removes a unidirectional relationship from source to target entity.
|
|
2704
|
+
*
|
|
2705
|
+
* This is a shorthand for removing a relationship:
|
|
2706
|
+
* - Default predicate: `connects_to` (customizable)
|
|
2707
|
+
* - Only requires `entity:update` permission on source entity
|
|
2708
|
+
*
|
|
2709
|
+
* For bidirectional removal, use the `/relationships` endpoint.
|
|
2710
|
+
*/
|
|
2711
|
+
post: {
|
|
2712
|
+
parameters: {
|
|
2713
|
+
query?: never;
|
|
2714
|
+
header?: never;
|
|
2715
|
+
path?: never;
|
|
2716
|
+
cookie?: never;
|
|
2717
|
+
};
|
|
2718
|
+
requestBody?: {
|
|
2719
|
+
content: {
|
|
2720
|
+
"application/json": components["schemas"]["DisconnectRequest"];
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
responses: {
|
|
2724
|
+
/** @description Connection removed */
|
|
2725
|
+
200: {
|
|
2726
|
+
headers: {
|
|
2727
|
+
[name: string]: unknown;
|
|
2728
|
+
};
|
|
2729
|
+
content: {
|
|
2730
|
+
"application/json": components["schemas"]["DisconnectResponse"];
|
|
2731
|
+
};
|
|
2732
|
+
};
|
|
2733
|
+
/** @description Bad Request - Invalid input */
|
|
2734
|
+
400: {
|
|
2735
|
+
headers: {
|
|
2736
|
+
[name: string]: unknown;
|
|
2737
|
+
};
|
|
2738
|
+
content: {
|
|
2739
|
+
/**
|
|
2740
|
+
* @example {
|
|
2741
|
+
* "error": "Validation failed",
|
|
2742
|
+
* "details": {
|
|
2743
|
+
* "issues": [
|
|
2744
|
+
* {
|
|
2745
|
+
* "path": [
|
|
2746
|
+
* "properties",
|
|
2747
|
+
* "label"
|
|
2748
|
+
* ],
|
|
2749
|
+
* "message": "Required"
|
|
2750
|
+
* }
|
|
2751
|
+
* ]
|
|
2752
|
+
* }
|
|
2753
|
+
* }
|
|
2754
|
+
*/
|
|
2755
|
+
"application/json": components["schemas"]["ValidationErrorResponse"];
|
|
2756
|
+
};
|
|
2757
|
+
};
|
|
2758
|
+
/** @description Unauthorized - Missing or invalid authentication */
|
|
2759
|
+
401: {
|
|
2760
|
+
headers: {
|
|
2761
|
+
[name: string]: unknown;
|
|
2762
|
+
};
|
|
2763
|
+
content: {
|
|
2764
|
+
/**
|
|
2765
|
+
* @example {
|
|
2766
|
+
* "error": "Unauthorized: Missing or invalid authentication token"
|
|
2767
|
+
* }
|
|
2768
|
+
*/
|
|
2769
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2770
|
+
};
|
|
2771
|
+
};
|
|
2772
|
+
/** @description Forbidden - Insufficient permissions */
|
|
2773
|
+
403: {
|
|
2774
|
+
headers: {
|
|
2775
|
+
[name: string]: unknown;
|
|
2776
|
+
};
|
|
2777
|
+
content: {
|
|
2778
|
+
/**
|
|
2779
|
+
* @example {
|
|
2780
|
+
* "error": "Forbidden: You do not have permission to perform this action"
|
|
2781
|
+
* }
|
|
2782
|
+
*/
|
|
2783
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2784
|
+
};
|
|
2785
|
+
};
|
|
2786
|
+
/** @description Not Found - Resource does not exist */
|
|
2787
|
+
404: {
|
|
2788
|
+
headers: {
|
|
2789
|
+
[name: string]: unknown;
|
|
2790
|
+
};
|
|
2791
|
+
content: {
|
|
2792
|
+
/**
|
|
2793
|
+
* @example {
|
|
2794
|
+
* "error": "Entity not found"
|
|
2795
|
+
* }
|
|
2796
|
+
*/
|
|
2797
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2798
|
+
};
|
|
2799
|
+
};
|
|
2800
|
+
/** @description Conflict - CAS validation failed (entity was modified) */
|
|
2801
|
+
409: {
|
|
2802
|
+
headers: {
|
|
2803
|
+
[name: string]: unknown;
|
|
2804
|
+
};
|
|
2805
|
+
content: {
|
|
2806
|
+
/**
|
|
2807
|
+
* @example {
|
|
2808
|
+
* "error": "Conflict: entity was modified",
|
|
2809
|
+
* "details": {
|
|
2810
|
+
* "expected": "bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy",
|
|
2811
|
+
* "actual": "bafyreinewabc123456789defghijklmnopqrstuvwxyz"
|
|
2812
|
+
* }
|
|
2813
|
+
* }
|
|
2814
|
+
*/
|
|
2815
|
+
"application/json": components["schemas"]["CASErrorResponse"];
|
|
2816
|
+
};
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
delete?: never;
|
|
2821
|
+
options?: never;
|
|
2822
|
+
head?: never;
|
|
2823
|
+
patch?: never;
|
|
2824
|
+
trace?: never;
|
|
2825
|
+
};
|
|
2456
2826
|
"/files": {
|
|
2457
2827
|
parameters: {
|
|
2458
2828
|
query?: never;
|
|
@@ -5582,7 +5952,7 @@ type components = {
|
|
|
5582
5952
|
/** @example 01J1SHMAE10000000000000000 */
|
|
5583
5953
|
id: string;
|
|
5584
5954
|
/**
|
|
5585
|
-
* @description
|
|
5955
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
5586
5956
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
5587
5957
|
*/
|
|
5588
5958
|
cid: string;
|
|
@@ -5627,7 +5997,7 @@ type components = {
|
|
|
5627
5997
|
*/
|
|
5628
5998
|
id: string;
|
|
5629
5999
|
/**
|
|
5630
|
-
* @description
|
|
6000
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
5631
6001
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
5632
6002
|
*/
|
|
5633
6003
|
cid: string;
|
|
@@ -5842,6 +6212,48 @@ type components = {
|
|
|
5842
6212
|
/** @description List of API keys */
|
|
5843
6213
|
keys: components["schemas"]["ApiKeyInfo"][];
|
|
5844
6214
|
};
|
|
6215
|
+
UserCollectionItem: {
|
|
6216
|
+
/**
|
|
6217
|
+
* @description Collection persistent identifier
|
|
6218
|
+
* @example 01JCOLLECTION123456789AB
|
|
6219
|
+
*/
|
|
6220
|
+
pi: string;
|
|
6221
|
+
/**
|
|
6222
|
+
* @description Collection label/name
|
|
6223
|
+
* @example My Research Collection
|
|
6224
|
+
*/
|
|
6225
|
+
label: string;
|
|
6226
|
+
/**
|
|
6227
|
+
* @description Role predicate indicating user's relationship to collection
|
|
6228
|
+
* @example owner
|
|
6229
|
+
*/
|
|
6230
|
+
predicate: string;
|
|
6231
|
+
/**
|
|
6232
|
+
* @description When the collection was created
|
|
6233
|
+
* @example 2026-01-12T00:00:00.000Z
|
|
6234
|
+
*/
|
|
6235
|
+
created_at: string;
|
|
6236
|
+
};
|
|
6237
|
+
UserCollectionsResponse: {
|
|
6238
|
+
/**
|
|
6239
|
+
* @description User persistent identifier
|
|
6240
|
+
* @example 01JUSER123456789ABCDEFGH
|
|
6241
|
+
*/
|
|
6242
|
+
user_id: string;
|
|
6243
|
+
/** @description Collections the user has access to */
|
|
6244
|
+
collections: components["schemas"]["UserCollectionItem"][];
|
|
6245
|
+
/** @description Pagination metadata */
|
|
6246
|
+
pagination: {
|
|
6247
|
+
/** @description Current offset */
|
|
6248
|
+
offset: number;
|
|
6249
|
+
/** @description Results per page */
|
|
6250
|
+
limit: number;
|
|
6251
|
+
/** @description Number of results returned */
|
|
6252
|
+
count: number;
|
|
6253
|
+
/** @description Whether more results exist */
|
|
6254
|
+
has_more: boolean;
|
|
6255
|
+
};
|
|
6256
|
+
};
|
|
5845
6257
|
CollectionResponse: components["schemas"]["EntityResponse"] & {
|
|
5846
6258
|
/** @enum {string} */
|
|
5847
6259
|
type?: "collection";
|
|
@@ -6003,12 +6415,12 @@ type components = {
|
|
|
6003
6415
|
*/
|
|
6004
6416
|
id: string;
|
|
6005
6417
|
/**
|
|
6006
|
-
* @description
|
|
6418
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6007
6419
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6008
6420
|
*/
|
|
6009
6421
|
cid: string;
|
|
6010
6422
|
/**
|
|
6011
|
-
* @description
|
|
6423
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6012
6424
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6013
6425
|
*/
|
|
6014
6426
|
prev_cid: string;
|
|
@@ -6113,12 +6525,12 @@ type components = {
|
|
|
6113
6525
|
*/
|
|
6114
6526
|
id: string;
|
|
6115
6527
|
/**
|
|
6116
|
-
* @description
|
|
6528
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6117
6529
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6118
6530
|
*/
|
|
6119
6531
|
cid: string;
|
|
6120
6532
|
/**
|
|
6121
|
-
* @description
|
|
6533
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6122
6534
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6123
6535
|
*/
|
|
6124
6536
|
prev_cid: string;
|
|
@@ -6170,12 +6582,12 @@ type components = {
|
|
|
6170
6582
|
*/
|
|
6171
6583
|
id: string;
|
|
6172
6584
|
/**
|
|
6173
|
-
* @description
|
|
6585
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6174
6586
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6175
6587
|
*/
|
|
6176
6588
|
cid: string;
|
|
6177
6589
|
/**
|
|
6178
|
-
* @description
|
|
6590
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6179
6591
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6180
6592
|
*/
|
|
6181
6593
|
prev_cid: string;
|
|
@@ -6253,7 +6665,7 @@ type components = {
|
|
|
6253
6665
|
*/
|
|
6254
6666
|
id: string;
|
|
6255
6667
|
/**
|
|
6256
|
-
* @description
|
|
6668
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6257
6669
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6258
6670
|
*/
|
|
6259
6671
|
cid: string;
|
|
@@ -6424,7 +6836,7 @@ type components = {
|
|
|
6424
6836
|
*/
|
|
6425
6837
|
id: string;
|
|
6426
6838
|
/**
|
|
6427
|
-
* @description
|
|
6839
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6428
6840
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6429
6841
|
*/
|
|
6430
6842
|
cid: string;
|
|
@@ -6439,7 +6851,7 @@ type components = {
|
|
|
6439
6851
|
*/
|
|
6440
6852
|
ver: number;
|
|
6441
6853
|
/**
|
|
6442
|
-
* @description
|
|
6854
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6443
6855
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6444
6856
|
*/
|
|
6445
6857
|
prev_cid: string;
|
|
@@ -6576,6 +6988,76 @@ type components = {
|
|
|
6576
6988
|
*/
|
|
6577
6989
|
expect_target_tip?: string;
|
|
6578
6990
|
};
|
|
6991
|
+
ConnectResponse: {
|
|
6992
|
+
source: components["schemas"]["EntityResponse"] & unknown;
|
|
6993
|
+
};
|
|
6994
|
+
ConnectRequest: {
|
|
6995
|
+
/**
|
|
6996
|
+
* @description Optional note describing this change
|
|
6997
|
+
* @example Added Chapter 42: The Whiteness of the Whale
|
|
6998
|
+
*/
|
|
6999
|
+
note?: string;
|
|
7000
|
+
/**
|
|
7001
|
+
* @description Source entity ID (the entity you're connecting FROM)
|
|
7002
|
+
* @example 01JFKY3XQWM0MJVKM8DK3AEXPY
|
|
7003
|
+
*/
|
|
7004
|
+
source_id: string;
|
|
7005
|
+
/**
|
|
7006
|
+
* @description Target entity ID (the entity you're connecting TO)
|
|
7007
|
+
* @example 01JFKY3XQWM0MJVKM8DK3AEXQZ
|
|
7008
|
+
*/
|
|
7009
|
+
target_id: string;
|
|
7010
|
+
/**
|
|
7011
|
+
* @description Expected current tip CID of source entity
|
|
7012
|
+
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7013
|
+
*/
|
|
7014
|
+
expect_tip: string;
|
|
7015
|
+
/**
|
|
7016
|
+
* @description Relationship predicate. Defaults to "connects_to".
|
|
7017
|
+
* @example connects_to
|
|
7018
|
+
*/
|
|
7019
|
+
predicate?: string;
|
|
7020
|
+
/**
|
|
7021
|
+
* @description Optional display label for this connection
|
|
7022
|
+
* @example Related document
|
|
7023
|
+
*/
|
|
7024
|
+
label?: string;
|
|
7025
|
+
/**
|
|
7026
|
+
* @description Optional description explaining why this connection exists
|
|
7027
|
+
* @example Links to the supporting research paper
|
|
7028
|
+
*/
|
|
7029
|
+
description?: string;
|
|
7030
|
+
};
|
|
7031
|
+
DisconnectResponse: {
|
|
7032
|
+
source: components["schemas"]["EntityResponse"] & unknown;
|
|
7033
|
+
};
|
|
7034
|
+
DisconnectRequest: {
|
|
7035
|
+
/**
|
|
7036
|
+
* @description Optional note describing this change
|
|
7037
|
+
* @example Added Chapter 42: The Whiteness of the Whale
|
|
7038
|
+
*/
|
|
7039
|
+
note?: string;
|
|
7040
|
+
/**
|
|
7041
|
+
* @description Source entity ID
|
|
7042
|
+
* @example 01JFKY3XQWM0MJVKM8DK3AEXPY
|
|
7043
|
+
*/
|
|
7044
|
+
source_id: string;
|
|
7045
|
+
/**
|
|
7046
|
+
* @description Target entity ID (peer of the connection to remove)
|
|
7047
|
+
* @example 01JFKY3XQWM0MJVKM8DK3AEXQZ
|
|
7048
|
+
*/
|
|
7049
|
+
target_id: string;
|
|
7050
|
+
/**
|
|
7051
|
+
* @description Expected current tip CID of source entity
|
|
7052
|
+
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7053
|
+
*/
|
|
7054
|
+
expect_tip: string;
|
|
7055
|
+
/**
|
|
7056
|
+
* @description Relationship predicate to remove. Defaults to "connects_to".
|
|
7057
|
+
* @example connects_to
|
|
7058
|
+
*/
|
|
7059
|
+
predicate?: string;
|
|
7060
|
+
};
|
|
6579
7061
|
CreateFileResponse: {
|
|
6580
7062
|
/**
|
|
6581
7063
|
* @description Entity ID (ULID format)
|
|
@@ -6583,7 +7065,7 @@ type components = {
|
|
|
6583
7065
|
*/
|
|
6584
7066
|
id: string;
|
|
6585
7067
|
/**
|
|
6586
|
-
* @description
|
|
7068
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6587
7069
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6588
7070
|
*/
|
|
6589
7071
|
cid: string;
|
|
@@ -6820,7 +7302,7 @@ type components = {
|
|
|
6820
7302
|
*/
|
|
6821
7303
|
id: string;
|
|
6822
7304
|
/**
|
|
6823
|
-
* @description
|
|
7305
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
6824
7306
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
6825
7307
|
*/
|
|
6826
7308
|
cid: string;
|
|
@@ -7005,7 +7487,7 @@ type components = {
|
|
|
7005
7487
|
*/
|
|
7006
7488
|
id: string;
|
|
7007
7489
|
/**
|
|
7008
|
-
* @description
|
|
7490
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
7009
7491
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7010
7492
|
*/
|
|
7011
7493
|
cid: string;
|
|
@@ -7043,7 +7525,7 @@ type components = {
|
|
|
7043
7525
|
*/
|
|
7044
7526
|
id: string;
|
|
7045
7527
|
/**
|
|
7046
|
-
* @description
|
|
7528
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
7047
7529
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7048
7530
|
*/
|
|
7049
7531
|
cid: string;
|
|
@@ -7076,7 +7558,7 @@ type components = {
|
|
|
7076
7558
|
*/
|
|
7077
7559
|
id: string;
|
|
7078
7560
|
/**
|
|
7079
|
-
* @description
|
|
7561
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
7080
7562
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7081
7563
|
*/
|
|
7082
7564
|
cid: string;
|
|
@@ -7170,7 +7652,7 @@ type components = {
|
|
|
7170
7652
|
*/
|
|
7171
7653
|
ver: number;
|
|
7172
7654
|
/**
|
|
7173
|
-
* @description
|
|
7655
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
7174
7656
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7175
7657
|
*/
|
|
7176
7658
|
cid: string;
|
|
@@ -7225,7 +7707,7 @@ type components = {
|
|
|
7225
7707
|
};
|
|
7226
7708
|
ManifestResponse: {
|
|
7227
7709
|
/**
|
|
7228
|
-
* @description
|
|
7710
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
7229
7711
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7230
7712
|
*/
|
|
7231
7713
|
cid: string;
|
|
@@ -7583,6 +8065,7 @@ type components = {
|
|
|
7583
8065
|
role: string;
|
|
7584
8066
|
already_granted: boolean;
|
|
7585
8067
|
expired?: boolean;
|
|
8068
|
+
missing_actions?: boolean;
|
|
7586
8069
|
/** Format: date-time */
|
|
7587
8070
|
current_expires_at?: string;
|
|
7588
8071
|
};
|
|
@@ -7621,7 +8104,7 @@ type components = {
|
|
|
7621
8104
|
job_collection: string;
|
|
7622
8105
|
grants: components["schemas"]["InvokeGrantResult"][];
|
|
7623
8106
|
/**
|
|
7624
|
-
* @description
|
|
8107
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
7625
8108
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7626
8109
|
*/
|
|
7627
8110
|
target_cid: string;
|
|
@@ -7637,7 +8120,7 @@ type components = {
|
|
|
7637
8120
|
retry_after?: number;
|
|
7638
8121
|
grants: components["schemas"]["InvokeGrantResult"][];
|
|
7639
8122
|
/**
|
|
7640
|
-
* @description
|
|
8123
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
7641
8124
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7642
8125
|
*/
|
|
7643
8126
|
target_cid: string;
|
|
@@ -7992,7 +8475,7 @@ type components = {
|
|
|
7992
8475
|
*/
|
|
7993
8476
|
ver: number;
|
|
7994
8477
|
/**
|
|
7995
|
-
* @description
|
|
8478
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
7996
8479
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
7997
8480
|
*/
|
|
7998
8481
|
cid: string;
|
|
@@ -8025,7 +8508,7 @@ type components = {
|
|
|
8025
8508
|
*/
|
|
8026
8509
|
ver: number;
|
|
8027
8510
|
/**
|
|
8028
|
-
* @description
|
|
8511
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
8029
8512
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
8030
8513
|
*/
|
|
8031
8514
|
cid: string;
|
|
@@ -8054,7 +8537,7 @@ type components = {
|
|
|
8054
8537
|
*/
|
|
8055
8538
|
ver: number;
|
|
8056
8539
|
/**
|
|
8057
|
-
* @description
|
|
8540
|
+
* @description Content Identifier (CID) - content-addressed hash
|
|
8058
8541
|
* @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
|
|
8059
8542
|
*/
|
|
8060
8543
|
cid: string;
|