429
429
<section title =" Submitting data for processing" >
430
430
<t >
431
431
The <xref target =" submissionSchema" >"submissionSchema"</xref > and
432
- <xref target =" submissionEncType " >"submissionEncType "</xref > keywords
432
+ <xref target =" submissionMediaType " >"submissionMediaType "</xref > keywords
433
433
describe the domain of the processing function implemented by the target
434
- resource. Otherwise, as noted above, the submission schema and encoding are
435
- ignored for operations to which they are not relevant.
434
+ resource. Otherwise, as noted above, the submission schema and media type
435
+ are ignored for operations to which they are not relevant.
436
436
</t >
437
437
</section >
438
438
</section >
@@ -1089,7 +1089,7 @@ GET /foo/
1089
1089
</section >
1090
1090
<section title =" Security Considerations for " targetSchema" " >
1091
1091
<t >
1092
- This property has similar security concerns to that of "mediaType ".
1092
+ This property has similar security concerns to that of "targetMediaType ".
1093
1093
Clients MUST NOT use the value of this property to aid in the interpretation
1094
1094
of the data received in response to following the link, as this leaves
1095
1095
"safe" data open to re-interpretation.
@@ -1230,7 +1230,7 @@ GET /foo/
1230
1230
</section >
1231
1231
</section >
1232
1232
1233
- <section title =" mediaType " >
1233
+ <section title =" targetMediaType " >
1234
1234
<t >
1235
1235
The value of this property is advisory only, and represents the media type
1236
1236
<xref target =" RFC2046" >RFC 2046</xref >, that is expected to be returned when
@@ -1278,15 +1278,15 @@ GET /foo/
1278
1278
}, {
1279
1279
"rel": "alternate",
1280
1280
"href": "/{id}/html",
1281
- "mediaType ": "text/html"
1281
+ "targetMediaType ": "text/html"
1282
1282
}, {
1283
1283
"rel": "alternate",
1284
1284
"href": "/{id}/rss",
1285
- "mediaType ": "application/rss+xml"
1285
+ "targetMediaType ": "application/rss+xml"
1286
1286
}, {
1287
1287
"rel": "icon",
1288
1288
"href": "{id}/icon",
1289
- "mediaType ": "image/*"
1289
+ "targetMediaType ": "image/*"
1290
1290
}]
1291
1291
}
1292
1292
]]>
@@ -1318,18 +1318,18 @@ GET /foo/
1318
1318
feed, had it been displayed in the main view.
1319
1319
</t >
1320
1320
1321
- <section title =" Security concerns for " mediaType " " >
1321
+ <section title =" Security concerns for " targetMediaType " " >
1322
1322
<t >
1323
- The "mediaType " property in link definitions defines the expected format of
1324
- the link's target.
1323
+ The "targetMediaType " property in link definitions defines the expected
1324
+ format of the link's target.
1325
1325
However, this is advisory only, and MUST NOT be considered authoritative.
1326
1326
</t >
1327
1327
1328
1328
<t >
1329
1329
When choosing how to interpret data, the type information provided by the
1330
1330
server (or inferred from the filename, or any other usual method) MUST be
1331
- the only consideration, and the "mediaType " property of the link MUST NOT be
1332
- used.
1331
+ the only consideration, and the "targetMediaType " property of the link
1332
+ MUST NOT be used.
1333
1333
User agents MAY use this information to determine how they represent the
1334
1334
link or where to display it (for example hover-text, opening in a new tab).
1335
1335
If user agents decide to pass the link to an external program, they SHOULD
@@ -1461,7 +1461,7 @@ GET /foo/
1461
1461
</section >
1462
1462
</section >
1463
1463
1464
- <section title =" submissionEncType " anchor =" submissionEncType " >
1464
+ <section title =" submissionMediaType " anchor =" submissionMediaType " >
1465
1465
<t >
1466
1466
If present, this property indicates the media type format the
1467
1467
client should use for the request payload described by
@@ -1471,7 +1471,7 @@ GET /foo/
1471
1471
Omitting this keyword has the same behavior as a value of application/json.
1472
1472
</t >
1473
1473
<t >
1474
- Note that "submissionEncType " and "submissionSchema"
1474
+ Note that "submissionMediaType " and "submissionSchema"
1475
1475
are not restricted to HTTP URIs.
1476
1476
1477
1477
<figure >
@@ -1484,7 +1484,7 @@ GET /foo/
1484
1484
<artwork >
1485
1485
<![CDATA[ {
1486
1486
"links": [{
1487
- "submissionEncType ": "multipart/alternative; boundary=ab12 ",
1487
+ "submissionMediaType ": "multipart/alternative; boundary=ab2 ",
1488
1488
"rel": "author",
1489
1489
"href": "mailto:[email protected] {?subject}",
1490
1490
"hrefSchema": {
@@ -1518,7 +1518,7 @@ GET /foo/
1518
1518
<section title =" submissionSchema" anchor =" submissionSchema" >
1519
1519
<t >
1520
1520
This property contains a schema which defines the acceptable structure
1521
- of the document to be encoded according to the "submissionEncType " property
1521
+ of the document to be encoded according to the "submissionMediaType " property
1522
1522
and sent to the target resource for processing. This can be viewed as
1523
1523
describing the domain of the processing function implemented by the
1524
1524
target resource.
0 commit comments