You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.json
+51-1Lines changed: 51 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4759,7 +4759,7 @@
4759
4759
]
4760
4760
}
4761
4761
],
4762
-
"description": "Upload a lockfile to get your project analyzed by Socket.\nYou can upload multiple lockfiles in the same request, but each filename must be unique.\n\nThe name of the file must be in the supported list.\n\nThe supported lockfiles (and filenames) are: `package.json` and `package-lock.json`.\n\nFor example, these are valid filenames: `package.json`, `folder/package.json` and `deep/nested/folder/package.json`.\n\nThis endpoint consumes 100 units of your quota.",
4762
+
"description": "Upload a lockfile to get your project analyzed by Socket.\nYou can upload multiple lockfiles in the same request, but each filename must be unique.\n\nThe name of the file must be in the supported list.\n\nFor example, these are valid filenames: `package.json`, `folder/package.json` and `deep/nested/folder/package.json`.\n\nThis endpoint consumes 100 units of your quota.",
4763
4763
"responses": {
4764
4764
"200": {
4765
4765
"content": {
@@ -4857,6 +4857,56 @@
4857
4857
"x-readme": {}
4858
4858
}
4859
4859
},
4860
+
"/report/supported": {
4861
+
"get": {
4862
+
"tags": [
4863
+
"Project report"
4864
+
],
4865
+
"summary": "Get supported files for report",
4866
+
"operationId": "getReportSupportedFiles",
4867
+
"security": [
4868
+
{}
4869
+
],
4870
+
"description": "Get a list of supported files for project report generation.\nFiles are categorized first by environment (e.g. NPM or PyPI), then by name.\n\nFiles whose names match the patterns returned by this endpoint can be uploaded for report generation.\nExamples of supported filenames include `package.json`, `package-lock.json`, and `yarn.lock`.\n\nThis endpoint consumes 0 units of your quota.",
4871
+
"responses": {
4872
+
"200": {
4873
+
"content": {
4874
+
"application/json": {
4875
+
"schema": {
4876
+
"type": "object",
4877
+
"additionalProperties": {
4878
+
"type": "object",
4879
+
"additionalProperties": {
4880
+
"type": "object",
4881
+
"additionalProperties": false,
4882
+
"properties": {
4883
+
"pattern": {
4884
+
"type": "string",
4885
+
"default": ""
4886
+
}
4887
+
},
4888
+
"required": [
4889
+
"pattern"
4890
+
]
4891
+
},
4892
+
"properties": {}
4893
+
},
4894
+
"properties": {}
4895
+
}
4896
+
}
4897
+
},
4898
+
"description": "Glob patterns used to match supported files"
0 commit comments