435
435
<section title =" Submitting data for processing" >
436
436
<t >
437
437
The <xref target =" submissionSchema" >"submissionSchema"</xref > and
438
- <xref target =" submissionEncType " >"submissionEncType "</xref > keywords
438
+ <xref target =" submissionMediaType " >"submissionMediaType "</xref > keywords
439
439
describe the ___domain of the processing function implemented by the target
440
440
resource. Otherwise, as noted above, the submission schema and encoding are
441
441
ignored for operations to which they are not relevant.
@@ -1064,7 +1064,7 @@ GET /foo/
1064
1064
</section >
1065
1065
<section title =" Security Considerations for " targetSchema" " >
1066
1066
<t >
1067
- This property has similar security concerns to that of "mediaType ".
1067
+ This property has similar security concerns to that of "targetMediaType ".
1068
1068
Clients MUST NOT use the value of this property to aid in the interpretation
1069
1069
of the data received in response to following the link, as this leaves
1070
1070
"safe" data open to re-interpretation.
@@ -1205,7 +1205,7 @@ GET /foo/
1205
1205
</section >
1206
1206
</section >
1207
1207
1208
- <section title =" mediaType " >
1208
+ <section title =" targetMediaType " >
1209
1209
<t >
1210
1210
The value of this property is advisory only, and represents the media type
1211
1211
<xref target =" RFC2046" >RFC 2046</xref >, that is expected to be returned when
@@ -1253,15 +1253,15 @@ GET /foo/
1253
1253
}, {
1254
1254
"rel": "alternate",
1255
1255
"href": "/{id}/html",
1256
- "mediaType ": "text/html"
1256
+ "targetMediaType ": "text/html"
1257
1257
}, {
1258
1258
"rel": "alternate",
1259
1259
"href": "/{id}/rss",
1260
- "mediaType ": "application/rss+xml"
1260
+ "targetMediaType ": "application/rss+xml"
1261
1261
}, {
1262
1262
"rel": "icon",
1263
1263
"href": "{id}/icon",
1264
- "mediaType ": "image/*"
1264
+ "targetMediaType ": "image/*"
1265
1265
}]
1266
1266
}
1267
1267
]]>
@@ -1293,18 +1293,18 @@ GET /foo/
1293
1293
feed, had it been displayed in the main view.
1294
1294
</t >
1295
1295
1296
- <section title =" Security concerns for " mediaType " " >
1296
+ <section title =" Security concerns for " targetMediaType " " >
1297
1297
<t >
1298
- The "mediaType " property in link definitions defines the expected format of
1299
- the link's target.
1298
+ The "targetMediaType " property in link definitions defines the expected
1299
+ format of the link's target.
1300
1300
However, this is advisory only, and MUST NOT be considered authoritative.
1301
1301
</t >
1302
1302
1303
1303
<t >
1304
1304
When choosing how to interpret data, the type information provided by the
1305
1305
server (or inferred from the filename, or any other usual method) MUST be
1306
- the only consideration, and the "mediaType " property of the link MUST NOT be
1307
- used.
1306
+ the only consideration, and the "targetMediaType " property of the link
1307
+ MUST NOT be used.
1308
1308
User agents MAY use this information to determine how they represent the
1309
1309
link or where to display it (for example hover-text, opening in a new tab).
1310
1310
If user agents decide to pass the link to an external program, they SHOULD
@@ -1436,7 +1436,7 @@ GET /foo/
1436
1436
</section >
1437
1437
</section >
1438
1438
1439
- <section title =" submissionEncType " anchor =" submissionEncType " >
1439
+ <section title =" submissionMediaType " anchor =" submissionMediaType " >
1440
1440
<t >
1441
1441
If present, this property indicates the media type format the
1442
1442
client should use for the request payload described by
@@ -1446,7 +1446,7 @@ GET /foo/
1446
1446
Omitting this keyword has the same behavior as a value of application/json.
1447
1447
</t >
1448
1448
<t >
1449
- Note that "submissionEncType " and "submissionSchema"
1449
+ Note that "submissionMediaType " and "submissionSchema"
1450
1450
are not restricted to HTTP URIs.
1451
1451
1452
1452
<figure >
@@ -1459,7 +1459,7 @@ GET /foo/
1459
1459
<artwork >
1460
1460
<![CDATA[ {
1461
1461
"links": [{
1462
- "submissionEncType ": "multipart/alternative; boundary=ab12 ",
1462
+ "submissionMediaType ": "multipart/alternative; boundary=ab2 ",
1463
1463
"rel": "author",
1464
1464
"href": "mailto:[email protected] {?subject}",
1465
1465
"hrefSchema": {
@@ -1493,7 +1493,7 @@ GET /foo/
1493
1493
<section title =" submissionSchema" anchor =" submissionSchema" >
1494
1494
<t >
1495
1495
This property contains a schema which defines the acceptable structure
1496
- of the document to be encoded according to the "submissionEncType " property
1496
+ of the document to be encoded according to the "submissionMediaType " property
1497
1497
and sent to the target resource for processing. This can be viewed as
1498
1498
describing the ___domain of the processing function implemented by the
1499
1499
target resource.
0 commit comments