@malloy-publisher/app 0.0.84 → 0.0.86

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/api-doc.yaml CHANGED
@@ -29,6 +29,30 @@ paths:
29
29
  $ref: "#/components/responses/UnauthorizedError"
30
30
  "500":
31
31
  $ref: "#/components/responses/InternalServerError"
32
+ post:
33
+ tags:
34
+ - projects
35
+ operationId: create-project
36
+ summary: Creates a new project.
37
+ requestBody:
38
+ required: true
39
+ content:
40
+ application/json:
41
+ schema:
42
+ type: object
43
+ items:
44
+ $ref: '#/components/schemas/Project'
45
+ responses:
46
+ "200":
47
+ description: Returns the project created
48
+ content:
49
+ application/json:
50
+ schema:
51
+ $ref: "#/components/schemas/Project"
52
+ "401":
53
+ $ref: "#/components/responses/UnauthorizedError"
54
+ "500":
55
+ $ref: "#/components/responses/InternalServerError"
32
56
 
33
57
  /projects/{projectName}:
34
58
  get:
@@ -62,6 +86,62 @@ paths:
62
86
  $ref: "#/components/responses/NotFoundError"
63
87
  "500":
64
88
  $ref: "#/components/responses/InternalServerError"
89
+ patch:
90
+ tags:
91
+ - projects
92
+ operationId: update-project
93
+ summary: Updates a project.
94
+ parameters:
95
+ - name: projectName
96
+ in: path
97
+ description: Name of project
98
+ required: true
99
+ schema:
100
+ type: string
101
+ requestBody:
102
+ required: true
103
+ content:
104
+ application/json:
105
+ schema:
106
+ type: object
107
+ items:
108
+ $ref: '#/components/schemas/Project'
109
+ responses:
110
+ "200":
111
+ description: Returns the project updated
112
+ content:
113
+ application/json:
114
+ schema:
115
+ $ref: "#/components/schemas/Project"
116
+ "401":
117
+ $ref: "#/components/responses/UnauthorizedError"
118
+ "500":
119
+ $ref: "#/components/responses/InternalServerError"
120
+ delete:
121
+ tags:
122
+ - projects
123
+ operationId: delete-project
124
+ summary: Deletes a project.
125
+ parameters:
126
+ - name: projectName
127
+ in: path
128
+ description: Name of project
129
+ required: true
130
+ schema:
131
+ type: string
132
+ responses:
133
+ "200":
134
+ description: Returns the project deleted
135
+ content:
136
+ application/json:
137
+ schema:
138
+ $ref: "#/components/schemas/Project"
139
+ "401":
140
+ $ref: "#/components/responses/UnauthorizedError"
141
+ "404":
142
+ $ref: "#/components/responses/NotFoundError"
143
+ "500":
144
+ $ref: "#/components/responses/InternalServerError"
65
145
 
66
146
  /projects/{projectName}/connections:
67
147
  get:
@@ -424,6 +504,39 @@ paths:
424
504
  $ref: "#/components/responses/InternalServerError"
425
505
  "501":
426
506
  $ref: "#/components/responses/NotImplementedError"
507
+ post:
508
+ tags:
509
+ - packages
510
+ operationId: create-package
511
+ summary: Creates a new package.
512
+ parameters:
513
+ - name: projectName
514
+ in: path
515
+ description: Name of project
516
+ required: true
517
+ schema:
518
+ type: string
519
+ requestBody:
520
+ required: true
521
+ content:
522
+ application/json:
523
+ schema:
524
+ type: object
525
+ items:
526
+ $ref: '#/components/schemas/Package'
527
+ responses:
528
+ "200":
529
+ description: Returns the package created
530
+ content:
531
+ application/json:
532
+ schema:
533
+ $ref: "#/components/schemas/Package"
534
+ "401":
535
+ $ref: "#/components/responses/UnauthorizedError"
536
+ "500":
537
+ $ref: "#/components/responses/InternalServerError"
538
+ "501":
539
+ $ref: "#/components/responses/NotImplementedError"
427
540
 
428
541
  /projects/{projectName}/packages/{packageName}:
429
542
  get:
@@ -471,6 +584,80 @@ paths:
471
584
  $ref: "#/components/responses/InternalServerError"
472
585
  "501":
473
586
  $ref: "#/components/responses/NotImplementedError"
587
+ patch:
588
+ tags:
589
+ - packages
590
+ operationId: update-package
591
+ summary: Updates a package.
592
+ parameters:
593
+ - name: projectName
594
+ in: path
595
+ description: Name of project
596
+ required: true
597
+ schema:
598
+ type: string
599
+ - name: packageName
600
+ in: path
601
+ description: Name of package
602
+ required: true
603
+ schema:
604
+ type: string
605
+ requestBody:
606
+ required: true
607
+ content:
608
+ application/json:
609
+ schema:
610
+ type: object
611
+ items:
612
+ $ref: '#/components/schemas/Package'
613
+ responses:
614
+ "200":
615
+ description: Returns the package updated
616
+ content:
617
+ application/json:
618
+ schema:
619
+ $ref: "#/components/schemas/Package"
620
+ "401":
621
+ $ref: "#/components/responses/UnauthorizedError"
622
+ "404":
623
+ $ref: "#/components/responses/NotFoundError"
624
+ "500":
625
+ $ref: "#/components/responses/InternalServerError"
626
+ "501":
627
+ $ref: "#/components/responses/NotImplementedError"
628
+ delete:
629
+ tags:
630
+ - packages
631
+ operationId: delete-package
632
+ summary: Deletes a package.
633
+ parameters:
634
+ - name: projectName
635
+ in: path
636
+ description: Name of project
637
+ required: true
638
+ schema:
639
+ type: string
640
+ - name: packageName
641
+ in: path
642
+ description: Name of package
643
+ required: true
644
+ schema:
645
+ type: string
646
+ responses:
647
+ "200":
648
+ description: Returns the package deleted
649
+ content:
650
+ application/json:
651
+ schema:
652
+ $ref: "#/components/schemas/Package"
653
+ "401":
654
+ $ref: "#/components/responses/UnauthorizedError"
655
+ "404":
656
+ $ref: "#/components/responses/NotFoundError"
657
+ "500":
658
+ $ref: "#/components/responses/InternalServerError"
659
+ "501":
660
+ $ref: "#/components/responses/NotImplementedError"
474
661
 
475
662
  /projects/{projectName}/packages/{packageName}/models:
476
663
  get: