Skip to content

Commit 03fb65a

Browse files
Modified 2 files
1 parent ef04f2c commit 03fb65a

File tree

2 files changed

+36
-23
lines changed

2 files changed

+36
-23
lines changed

.stoplight/styleguide.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,6 @@
1212
],
1313
"aliases": {},
1414
"rules": {},
15-
"extendedStyleguides": [
16-
{
17-
"id": "cHJqOjEyMzU4Ng",
18-
"name": "Stoplight Style Guide",
19-
"slug": "stoplight-style-guide",
20-
"workspace": {
21-
"slug": "apistylebook",
22-
"name": "API Stylebook"
23-
},
24-
"icon": "robot",
25-
"color": "#3898ff",
26-
"description": "Default rules for Stoplight projects",
27-
"latestRelease": {
28-
"release": 29
29-
}
30-
}
31-
],
3215
"inheritedRules": [
3316
{
3417
"given": [

MorphoSource-REST-API.yaml

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,9 @@ paths:
525525
items:
526526
type: string
527527
unique_download_user_use_intent_counts:
528-
$ref: '#/components/schemas/Download-Use-Intent-Categories'
528+
$ref: '#/components/schemas/Download-Use-Intent-Category-Counts'
529529
unique_download_user_demographic_counts:
530-
$ref: '#/components/schemas/Download-User-Demographic-Categories'
530+
$ref: '#/components/schemas/Download-User-Demographic-Category-Counts'
531531
examples: {}
532532
'401':
533533
$ref: '#/components/responses/401-Authentication-Required'
@@ -1096,8 +1096,8 @@ components:
10961096
type: array
10971097
items:
10981098
type: string
1099-
Download-Use-Intent-Categories:
1100-
title: Download-Use-Intent-Categories
1099+
Download-Use-Intent-Category-Counts:
1100+
title: Download Use Intent Category Counts
11011101
x-stoplight:
11021102
id: rk8x9ghzwsp1h
11031103
description: Categories of use intents for media that are tracked per download.
@@ -1131,8 +1131,8 @@ components:
11311131
type: number
11321132
Commercial Use:
11331133
type: number
1134-
Download-User-Demographic-Categories:
1135-
title: Download User Demographic Categories
1134+
Download-User-Demographic-Category-Counts:
1135+
title: Download User Demographic Category Counts
11361136
x-stoplight:
11371137
id: cwuhtd7e24ony
11381138
type: object
@@ -1266,6 +1266,16 @@ components:
12661266
type: array
12671267
items:
12681268
type: string
1269+
Download-Use-Intent-Categories:
1270+
title: Download-Use-Intent-Categories
1271+
x-stoplight:
1272+
id: 5vcwroqfq9g5w
1273+
type: object
1274+
properties:
1275+
id:
1276+
type: string
1277+
x-stoplight:
1278+
id: jkexnp0lzq9vf
12691279
securitySchemes:
12701280
API-Key:
12711281
name: Authorization
@@ -1305,3 +1315,23 @@ components:
13051315
description:
13061316
type: string
13071317
default: You are not authorized to access this content.
1318+
requestBodies:
1319+
Download-Request:
1320+
content:
1321+
application/json:
1322+
schema:
1323+
type: object
1324+
properties:
1325+
use_statement:
1326+
type: string
1327+
x-stoplight:
1328+
id: k7kfdxd8q5ptl
1329+
use_categories:
1330+
type: array
1331+
x-stoplight:
1332+
id: hpup9umlo1yv4
1333+
minItems: 1
1334+
items: {}
1335+
required:
1336+
- use_statement
1337+
description: Other params to be specified as part of a download request include media_id (provided in the URL as a param) and the API key (provided as an "Authorization" header).

0 commit comments

Comments
 (0)