Skip to content

Commit e41cc5a

Browse files
authored
Add 'headers.content_type' to APIs that accept a body
1 parent ed78f42 commit e41cc5a

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/close_point_in_time.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"stability":"stable",
88
"visibility":"public",
99
"headers":{
10-
"accept": [ "application/json"]
10+
"accept": [ "application/json"],
11+
"content_type": ["application/json"]
1112
},
1213
"url":{
1314
"paths":[

rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"stability":"stable",
88
"visibility":"public",
99
"headers":{
10-
"accept": [ "application/json"]
10+
"accept": [ "application/json"],
11+
"content_type": ["application/json"]
1112
},
1213
"url":{
1314
"paths":[

rest-api-spec/src/main/resources/rest-api-spec/api/ml.delete_expired_data.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"stability":"stable",
88
"visibility":"public",
99
"headers":{
10-
"accept": [ "application/json"]
10+
"accept": [ "application/json"],
11+
"content_type": ["application/json"]
1112
},
1213
"url":{
1314
"paths":[

rest-api-spec/src/main/resources/rest-api-spec/api/ml.preview_datafeed.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"stability":"stable",
88
"visibility":"public",
99
"headers":{
10-
"accept": [ "application/json"]
10+
"accept": [ "application/json"],
11+
"content_type": ["application/json"]
1112
},
1213
"url":{
1314
"paths":[

rest-api-spec/src/main/resources/rest-api-spec/api/ml.stop_datafeed.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"stability":"stable",
88
"visibility":"public",
99
"headers":{
10-
"accept": [ "application/json"]
10+
"accept": [ "application/json"],
11+
"content_type": ["application/json"]
1112
},
1213
"url":{
1314
"paths":[

0 commit comments

Comments
 (0)