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
+323-5Lines changed: 323 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18236,6 +18236,320 @@
18236
18236
"x-readme": {}
18237
18237
}
18238
18238
},
18239
+
"/orgs/{org_slug}/settings/license-policy": {
18240
+
"get": {
18241
+
"tags": [
18242
+
"Settings"
18243
+
],
18244
+
"summary": "Get Organization License Policy",
18245
+
"operationId": "getOrgLicensePolicy",
18246
+
"parameters": [
18247
+
{
18248
+
"name": "org_slug",
18249
+
"in": "path",
18250
+
"required": true,
18251
+
"description": "The slug of the organization",
18252
+
"schema": {
18253
+
"type": "string"
18254
+
}
18255
+
}
18256
+
],
18257
+
"security": [
18258
+
{
18259
+
"basicAuth": [
18260
+
"license-policy:read"
18261
+
]
18262
+
}
18263
+
],
18264
+
"description": "Retrieve the license policy of an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- license-policy:read",
"description": "Merge the policy update with the existing policy. Default is true. If false, the existing policy will be replaced with the new policy.",
18388
+
"schema": {
18389
+
"type": "boolean",
18390
+
"default": false
18391
+
}
18392
+
}
18393
+
],
18394
+
"requestBody": {
18395
+
"content": {
18396
+
"application/json": {
18397
+
"schema": {
18398
+
"type": "object",
18399
+
"additionalProperties": false,
18400
+
"properties": {
18401
+
"quick_setup": {
18402
+
"type": "object",
18403
+
"additionalProperties": false,
18404
+
"properties": {
18405
+
"permissive": {
18406
+
"type": "boolean",
18407
+
"default": false,
18408
+
"description": ""
18409
+
},
18410
+
"weak_copyleft": {
18411
+
"type": "boolean",
18412
+
"default": false,
18413
+
"description": ""
18414
+
},
18415
+
"strong_copyleft": {
18416
+
"type": "boolean",
18417
+
"default": false,
18418
+
"description": ""
18419
+
},
18420
+
"lead": {
18421
+
"type": "boolean",
18422
+
"default": false,
18423
+
"description": ""
18424
+
}
18425
+
}
18426
+
},
18427
+
"license_policy": {
18428
+
"type": "object",
18429
+
"additionalProperties": {
18430
+
"type": "boolean",
18431
+
"default": false,
18432
+
"description": ""
18433
+
},
18434
+
"properties": {}
18435
+
}
18436
+
}
18437
+
}
18438
+
}
18439
+
},
18440
+
"required": false
18441
+
},
18442
+
"security": [
18443
+
{
18444
+
"basicAuth": [
18445
+
"license-policy:update"
18446
+
]
18447
+
}
18448
+
],
18449
+
"description": "Update the license policy of an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- license-policy:update",
"description": "Delete a specific project report generated with the GitHub app. These endpoints will be merged into the full-scans endpoint so\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:write",
19244
+
"description": "Deprecated: Use `/orgs/{org_slug}/full-scans` instead. Delete a specific project report generated with the GitHub app.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:write",
18930
19245
"responses": {
18931
19246
"200": {
18932
19247
"content": {
@@ -18975,6 +19290,7 @@
18975
19290
"Project Reports"
18976
19291
],
18977
19292
"summary": "Get list of reports",
19293
+
"deprecated": true,
18978
19294
"operationId": "getReportList",
18979
19295
"parameters": [
18980
19296
{
@@ -19003,7 +19319,7 @@
19003
19319
]
19004
19320
}
19005
19321
],
19006
-
"description": "Get all your project reports generated with the GitHub app. This endpoint will be merged into the full-scans endpoint soon.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:list",
19322
+
"description": "Deprecated: Use `/orgs/{org_slug}/full-scans` instead. Get all your project reports generated with the GitHub app.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:list",
19007
19323
"responses": {
19008
19324
"200": {
19009
19325
"content": {
@@ -19097,6 +19413,7 @@
19097
19413
"Project Reports"
19098
19414
],
19099
19415
"summary": "Create a report",
19416
+
"deprecated": true,
19100
19417
"operationId": "createReport",
19101
19418
"requestBody": {
19102
19419
"content": {
@@ -19135,7 +19452,7 @@
19135
19452
]
19136
19453
}
19137
19454
],
19138
-
"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.\n\nThis endpoint requires the following org token scopes:\n- report:write",
19455
+
"description": "Deprecated: Use `/orgs/{org_slug}/full-scans` instead.\n\nUpload 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.\n\nThis endpoint requires the following org token scopes:\n- report:write",
19139
19456
"responses": {
19140
19457
"200": {
19141
19458
"content": {
@@ -19187,6 +19504,7 @@
19187
19504
"Project Reports"
19188
19505
],
19189
19506
"summary": "View a report",
19507
+
"deprecated": true,
19190
19508
"operationId": "getReport",
19191
19509
"parameters": [
19192
19510
{
@@ -19206,7 +19524,7 @@
19206
19524
]
19207
19525
}
19208
19526
],
19209
-
"description": "Get all the issues, packages, and scores related to an specific project report.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:read",
19527
+
"description": "Deprecated: Use `/orgs/{org_slug}/full-scans` instead. Get all the issues, packages, and scores related to an specific project report.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:read",
19210
19528
"responses": {
19211
19529
"200": {
19212
19530
"content": {
@@ -19267,7 +19585,7 @@
19267
19585
]
19268
19586
}
19269
19587
],
19270
-
"description": "Get all GitHub repositories associated with a Socket org.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo:list",
19588
+
"description": "Deprecated: Use `/orgs/{org_slug}/repos` instead. Get all GitHub repositories associated with a Socket org.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo:list",
0 commit comments