@snokam/mcp-api 0.29.0 → 0.30.0
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/package.json +1 -1
- package/specs/production/sanity.json +90 -0
- package/specs/test/sanity.json +52627 -0
package/package.json
CHANGED
|
@@ -31664,6 +31664,57 @@
|
|
|
31664
31664
|
],
|
|
31665
31665
|
"type": "object"
|
|
31666
31666
|
},
|
|
31667
|
+
"BackupResult": {
|
|
31668
|
+
"properties": {
|
|
31669
|
+
"dataset": {
|
|
31670
|
+
"type": "string"
|
|
31671
|
+
},
|
|
31672
|
+
"container": {
|
|
31673
|
+
"type": "string"
|
|
31674
|
+
},
|
|
31675
|
+
"blobUrl": {
|
|
31676
|
+
"type": "string"
|
|
31677
|
+
},
|
|
31678
|
+
"blobPath": {
|
|
31679
|
+
"type": "string"
|
|
31680
|
+
},
|
|
31681
|
+
"sizeBytes": {
|
|
31682
|
+
"type": "number",
|
|
31683
|
+
"format": "double"
|
|
31684
|
+
},
|
|
31685
|
+
"startedAt": {
|
|
31686
|
+
"type": "string"
|
|
31687
|
+
},
|
|
31688
|
+
"completedAt": {
|
|
31689
|
+
"type": "string"
|
|
31690
|
+
}
|
|
31691
|
+
},
|
|
31692
|
+
"required": [
|
|
31693
|
+
"dataset",
|
|
31694
|
+
"container",
|
|
31695
|
+
"blobUrl",
|
|
31696
|
+
"blobPath",
|
|
31697
|
+
"sizeBytes",
|
|
31698
|
+
"startedAt",
|
|
31699
|
+
"completedAt"
|
|
31700
|
+
],
|
|
31701
|
+
"type": "object",
|
|
31702
|
+
"additionalProperties": true
|
|
31703
|
+
},
|
|
31704
|
+
"CreateBackupRequest": {
|
|
31705
|
+
"properties": {
|
|
31706
|
+
"dataset": {
|
|
31707
|
+
"type": "string",
|
|
31708
|
+
"description": "Sanity dataset to back up. Defaults to the configured dataset."
|
|
31709
|
+
},
|
|
31710
|
+
"container": {
|
|
31711
|
+
"type": "string",
|
|
31712
|
+
"description": "Blob container name. Defaults to \"sanity-backups\"."
|
|
31713
|
+
}
|
|
31714
|
+
},
|
|
31715
|
+
"type": "object",
|
|
31716
|
+
"additionalProperties": true
|
|
31717
|
+
},
|
|
31667
31718
|
"GetArticlesBySlugOrIdResult": {
|
|
31668
31719
|
"properties": {
|
|
31669
31720
|
"nextArticle": {
|
|
@@ -51070,6 +51121,45 @@
|
|
|
51070
51121
|
}
|
|
51071
51122
|
}
|
|
51072
51123
|
},
|
|
51124
|
+
"/v1.0/backups": {
|
|
51125
|
+
"post": {
|
|
51126
|
+
"operationId": "CreateBackup",
|
|
51127
|
+
"responses": {
|
|
51128
|
+
"200": {
|
|
51129
|
+
"description": "Ok",
|
|
51130
|
+
"content": {
|
|
51131
|
+
"application/json": {
|
|
51132
|
+
"schema": {
|
|
51133
|
+
"$ref": "#/components/schemas/BackupResult"
|
|
51134
|
+
}
|
|
51135
|
+
}
|
|
51136
|
+
}
|
|
51137
|
+
}
|
|
51138
|
+
},
|
|
51139
|
+
"description": "Stream the Sanity dataset export (NDJSON) into a gzipped blob in\nAzure Blob Storage. Documents only — asset binaries stay in the\nSanity CDN. Returns metadata about the resulting blob.",
|
|
51140
|
+
"tags": [
|
|
51141
|
+
"Backups"
|
|
51142
|
+
],
|
|
51143
|
+
"security": [
|
|
51144
|
+
{
|
|
51145
|
+
"Implicit": [
|
|
51146
|
+
"api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
|
|
51147
|
+
]
|
|
51148
|
+
}
|
|
51149
|
+
],
|
|
51150
|
+
"parameters": [],
|
|
51151
|
+
"requestBody": {
|
|
51152
|
+
"required": false,
|
|
51153
|
+
"content": {
|
|
51154
|
+
"application/json": {
|
|
51155
|
+
"schema": {
|
|
51156
|
+
"$ref": "#/components/schemas/CreateBackupRequest"
|
|
51157
|
+
}
|
|
51158
|
+
}
|
|
51159
|
+
}
|
|
51160
|
+
}
|
|
51161
|
+
}
|
|
51162
|
+
},
|
|
51073
51163
|
"/v1.0/articles": {
|
|
51074
51164
|
"post": {
|
|
51075
51165
|
"operationId": "CreateArticle",
|