diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/0_PUT/response.json index e50c9e7fd..d0f564d8f 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["384"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/fa37dea0-b008-590f-990c-e7e8c5ae9bc6"]},{"Key":"X-Request-ID","Value":["91641eca99dfa449"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:47 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853647.127098,VS0,VE150"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["377"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/fa37dea0-b008-590f-990c-e7e8c5ae9bc6"]},{"Key":"X-Request-ID","Value":["09792c0d570e0643"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861731.342205,VS0,VE104"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/0_PUT/response_content.json index b20fb36b1..5f21d0abf 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "fa37dea0-b008-590f-990c-e7e8c5ae9bc6", "name": "Hooray!", - "codename": "hooray__fa37dea", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "37302811b05f429284006ea94c68333", - "last_modified": "2021-08-13T11:20:47.192933Z" + "last_modified": "2021-08-13T13:35:31.3855168Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/request.json index a63a87861..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__fa37dea/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/response.json index d6bad5d91..8019c0376 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/fa37dea0-b008-590f-990c-e7e8c5ae9bc6/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["fcfd8d61af7a344a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:47 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853647.304715,VS0,VE203"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__fa37dea/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/fa37dea0-b008-590f-990c-e7e8c5ae9bc6/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["8f737057ec2b5040"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861731.480860,VS0,VE177"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/response_content.json index 0a74884a3..a174c3ecd 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:47.3179524Z" + "last_modified": "2021-08-13T13:35:31.4949018Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/2_PUT/response.json index 8a683e7b1..1f8b83ca7 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["238ec79217ebe94f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:49 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853648.528691,VS0,VE1732"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["44"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["39790423677ec24d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861732.679924,VS0,VE216"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["44"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/3_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/3_PUT/response.json index a196e313b..ea72021f6 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/3_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/3_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["0cabe7d66805664e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:49 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853649.282843,VS0,VE174"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/cancel-scheduled-publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b150f2d12b16904d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861732.919286,VS0,VE213"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/cancel-scheduled-publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/4_GET/response.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/4_GET/response.json index 34ef81ea2..3dd373600 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/4_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/4_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["142c636bf52b9b41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:49 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853649.483789,VS0,VE20"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["dc8077a435b4774d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861732.155301,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/4_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/4_GET/response_content.json index 0a74884a3..a174c3ecd 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/4_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/4_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:47.3179524Z" + "last_modified": "2021-08-13T13:35:31.4949018Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/5_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/5_DELETE/response.json index 220a35e00..517726eab 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/5_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelPublishingOfVariant_CancelsPublishingOfVariant_199/5_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f90db5e91936fa42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:49 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853650.518603,VS0,VE147"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ce776e01ef4a5442"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861732.186466,VS0,VE457"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/0_PUT/response.json index 608dc47d1..0f726c90e 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["385"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/fa37dea0-b008-590f-990c-e7e8c5ae9bc6"]},{"Key":"X-Request-ID","Value":["2f18e1fece28ad4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853627.056997,VS0,VE147"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["385"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/fa37dea0-b008-590f-990c-e7e8c5ae9bc6"]},{"Key":"X-Request-ID","Value":["e481b81fbf96ee4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:10 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861710.965287,VS0,VE131"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/0_PUT/response_content.json index 2b799ea7a..b098c15b4 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/0_PUT/response_content.json @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "37302811b05f429284006ea94c68333", - "last_modified": "2021-08-13T11:20:27.1138938Z" + "last_modified": "2021-08-13T13:35:10.0102516Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/1_PUT/response.json index 108a26a5f..b94c9426b 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/fa37dea0-b008-590f-990c-e7e8c5ae9bc6/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["8983e11d908e1946"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853627.227718,VS0,VE211"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__fa37dea/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/fa37dea0-b008-590f-990c-e7e8c5ae9bc6/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["856897c9a4417145"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:10 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861710.118362,VS0,VE261"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__fa37dea/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/1_PUT/response_content.json index c35e02d9e..acd79c7cb 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:27.2545008Z" + "last_modified": "2021-08-13T13:35:10.1509023Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/2_PUT/response.json index 85d3584a5..fbdd0016f 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["29151ae4cf91c24c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853627.461542,VS0,VE495"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d7bd4dca5ab1094a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:10 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861710.402150,VS0,VE224"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/3_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/3_PUT/response.json index e40be1a95..b8746b948 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/3_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/3_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["62bb9046d0e3d146"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853628.980276,VS0,VE153"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["44"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/unpublish-and-archive","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5325a5c287460147"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:10 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861711.659628,VS0,VE173"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["44"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/unpublish-and-archive","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/4_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/4_PUT/response.json index a950f62eb..23f1343c4 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/4_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/4_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d7e3039293ec5a4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853628.160918,VS0,VE120"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/cancel-scheduled-unpublish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3c2ad7238ee15248"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:11 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861711.853390,VS0,VE205"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES/cancel-scheduled-unpublish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/5_GET/response.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/5_GET/response.json index 5a63c3c93..479f959c7 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/5_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/5_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2cf17c37a3813542"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853628.305279,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c329dbeb3ad5e743"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:11 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861711.081441,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/5_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/5_GET/response_content.json index 2fd502978..3bdb2fa18 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/5_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/5_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:27.2545008Z" + "last_modified": "2021-08-13T13:35:10.1509023Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/6_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/6_DELETE/response.json index a2f3518f6..67aff360a 100644 --- a/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/6_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant_227/6_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["1e392c77c38b7046"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853628.342427,VS0,VE173"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["1c492c37c6e34348"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:11 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861711.118697,VS0,VE199"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/37302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/0_PUT/response.json index c1c2b89a7..7e137f6c6 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["385"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/10685bbe-bfd4-556b-9427-90dbe9b010ac"]},{"Key":"X-Request-ID","Value":["dcfeffd4b146364d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:43 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19146-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.270607,VS0,VE167"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/11102811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["377"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/10685bbe-bfd4-556b-9427-90dbe9b010ac"]},{"Key":"X-Request-ID","Value":["de1b9fecf7441a47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.439040,VS0,VE104"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/11102811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/0_PUT/response_content.json index 1ed0f7328..9544a5324 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "10685bbe-bfd4-556b-9427-90dbe9b010ac", "name": "Hooray!", - "codename": "hooray__10685bb", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "11102811b05f429284006ea94c68333", - "last_modified": "2021-08-13T11:20:43.3335625Z" + "last_modified": "2021-08-13T13:35:26.4792266Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/request.json index 2026d5ace..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__10685bb/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/response.json index 6657244c0..04a770af6 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/10685bbe-bfd4-556b-9427-90dbe9b010ac/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["f8b5e91f01569143"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:43 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19146-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.460311,VS0,VE193"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__10685bb/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/10685bbe-bfd4-556b-9427-90dbe9b010ac/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["4afe08fbd6d66d4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861727.564935,VS0,VE225"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/response_content.json index 465b231f8..99d361d0e 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:43.4897843Z" + "last_modified": "2021-08-13T13:35:26.5885904Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/2_PUT/response.json index 5437c4e0a..3965c41b6 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["676cd193ef05c347"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:43 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19146-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853644.684334,VS0,VE168"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/11102811b05f429284006ea94c68333/variants/codename/es-ES/workflow/codename/test","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cfaa0776cd287e40"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861727.818477,VS0,VE208"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/11102811b05f429284006ea94c68333/variants/codename/es-ES/workflow/codename/test","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/3_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/3_GET/response.json index 53b3255f4..2f7e5e03d 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/3_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/3_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["1c7a621ebaba0544"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:43 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19146-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853644.878206,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/11102811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d57f17fd55711141"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861727.051489,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/11102811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/3_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/3_GET/response_content.json index 4bfd85624..3b4a43c26 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/3_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/3_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:43.4897843Z" + "last_modified": "2021-08-13T13:35:26.5885904Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/4_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/4_GET/response.json index 94b879a5f..61ff4595e 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/4_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/4_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["995"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["66431c95e964ac42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:43 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19146-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853644.912048,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/workflow","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["995"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cf287670a2cb8e42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861727.089462,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/workflow","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/5_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/5_DELETE/response.json index 60f0aa2c7..4c67a9a89 100644 --- a/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/5_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant_28/5_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9096c3c454d7a642"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:44 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19146-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853644.952554,VS0,VE167"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/11102811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["087ea70c9fb86342"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861727.120209,VS0,VE182"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/11102811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/0_POST/response.json index e350bab0b..d80a3afd6 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4e1521db0805b343"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19178-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853636.588095,VS0,VE73"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["image/png"]},{"Key":"Content-Length","Value":["5719"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/kentico_rgb_bigger.png","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2e486ac8e7930e48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:18 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861719.721607,VS0,VE74"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["image/png"]},{"Key":"Content-Length","Value":["5719"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/kentico_rgb_bigger.png","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/0_POST/response_content.json index f26c6c099..e4c4eaad5 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/0_POST/response_content.json @@ -1,4 +1,4 @@ { - "id": "9847c78b-30c8-4149-87cf-86f14325085e", + "id": "3e69f57d-2efc-4fd8-b520-7e7873d9ff32", "type": "internal" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/request_content.json index 9b90bbba3..b4cc6fef2 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/request_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/request_content.json @@ -1 +1 @@ -{"file_reference":{"id":"9847c78b-30c8-4149-87cf-86f14325085e","type":"internal"},"descriptions":[],"title":"My new asset"} \ No newline at end of file +{"file_reference":{"id":"3e69f57d-2efc-4fd8-b520-7e7873d9ff32","type":"internal"},"descriptions":[],"title":"My new asset"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/response.json index 1d3e9f570..e40ece0bb 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["796"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/77317f4e-58b1-4a7d-aace-d63ad393a4d7"]},{"Key":"X-Request-ID","Value":["35596f5b2da53d46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19178-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853636.691717,VS0,VE107"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["123"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["795"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/0a1d27aa-05cc-4232-9991-1ed48d5d0e6e"]},{"Key":"X-Request-ID","Value":["4a3b58ff5854d742"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:18 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861719.817414,VS0,VE37"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["123"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/response_content.json index c066c3721..8a31a82f8 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/1_POST/response_content.json @@ -1,14 +1,14 @@ { - "id": "77317f4e-58b1-4a7d-aace-d63ad393a4d7", + "id": "0a1d27aa-05cc-4232-9991-1ed48d5d0e6e", "file_name": "kentico_rgb_bigger.png", "title": "My new asset", "size": 5719, "type": "image/png", - "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/9847c78b-30c8-4149-87cf-86f14325085e/kentico_rgb_bigger.png", + "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/3e69f57d-2efc-4fd8-b520-7e7873d9ff32/kentico_rgb_bigger.png", "image_width": 550, "image_height": 250, "file_reference": { - "id": "9847c78b-30c8-4149-87cf-86f14325085e", + "id": "3e69f57d-2efc-4fd8-b520-7e7873d9ff32", "type": "internal" }, "descriptions": [ @@ -25,5 +25,5 @@ "description": null } ], - "last_modified": "2021-08-13T11:20:35.7077114Z" + "last_modified": "2021-08-13T13:35:18.822832Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/2_DELETE/request.json index b763bb5aa..c4b6e1a11 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/2_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/2_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/77317f4e-58b1-4a7d-aace-d63ad393a4d7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/0a1d27aa-05cc-4232-9991-1ed48d5d0e6e","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/2_DELETE/response.json index b62505f14..271c22800 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_FromFileSystem_Uploads_CreatesAsset_273/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["afc35745b985734f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19178-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853636.819508,VS0,VE53"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/77317f4e-58b1-4a7d-aace-d63ad393a4d7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5e492efdccb31942"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:18 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861719.878432,VS0,VE50"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/0a1d27aa-05cc-4232-9991-1ed48d5d0e6e","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/0_POST/response.json index dbbb0f00f..50db26072 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4a37d74a41bc7e41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19172-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.112755,VS0,VE53"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["text/plain"]},{"Key":"Content-Length","Value":["82"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/Hello.txt","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["6f061087ac8ddf4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19148-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861723.538798,VS0,VE57"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["text/plain"]},{"Key":"Content-Length","Value":["82"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/Hello.txt","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/0_POST/response_content.json index cc98d2f99..c8632640a 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/0_POST/response_content.json @@ -1,4 +1,4 @@ { - "id": "742dfabf-2f0d-407a-99f3-031cd44318a8", + "id": "0c807975-5cbf-4358-9f02-8e173a49b3f5", "type": "internal" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/request_content.json index 00ae52ece..515e35249 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/request_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/request_content.json @@ -1 +1 @@ -{"file_reference":{"id":"742dfabf-2f0d-407a-99f3-031cd44318a8","type":"internal"},"descriptions":[{"language":{"id":"78dbefe8-831b-457e-9352-f4c4eacd5024"},"description":"Spanish descriptión"}],"title":"New title"} \ No newline at end of file +{"file_reference":{"id":"0c807975-5cbf-4358-9f02-8e173a49b3f5","type":"internal"},"descriptions":[{"language":{"id":"78dbefe8-831b-457e-9352-f4c4eacd5024"},"description":"Spanish descriptión"}],"title":"New title"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/response.json index e78669486..be8b79b1d 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["786"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/b12bb525-3653-4f2c-a9db-5f0f9fabe31c"]},{"Key":"X-Request-ID","Value":["486d16b285a4b246"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19172-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.188988,VS0,VE37"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["215"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["786"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/a1ddc777-d06d-4fcf-b43e-372b462a08df"]},{"Key":"X-Request-ID","Value":["6e78f5cacdfe704c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19148-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861723.616990,VS0,VE37"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["215"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/response_content.json index 4b09b6179..572b87730 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/1_POST/response_content.json @@ -1,14 +1,14 @@ { - "id": "b12bb525-3653-4f2c-a9db-5f0f9fabe31c", + "id": "a1ddc777-d06d-4fcf-b43e-372b462a08df", "file_name": "Hello.txt", "title": "New title", "size": 82, "type": "text/plain", - "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/742dfabf-2f0d-407a-99f3-031cd44318a8/Hello.txt", + "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/0c807975-5cbf-4358-9f02-8e173a49b3f5/Hello.txt", "image_width": null, "image_height": null, "file_reference": { - "id": "742dfabf-2f0d-407a-99f3-031cd44318a8", + "id": "0c807975-5cbf-4358-9f02-8e173a49b3f5", "type": "internal" }, "descriptions": [ @@ -25,5 +25,5 @@ "description": "Spanish descriptión" } ], - "last_modified": "2021-08-13T11:20:39.1921362Z" + "last_modified": "2021-08-13T13:35:22.6197475Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/2_DELETE/request.json index 1b40f2b11..a1a02784a 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/2_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/2_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/b12bb525-3653-4f2c-a9db-5f0f9fabe31c","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/a1ddc777-d06d-4fcf-b43e-372b462a08df","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/2_DELETE/response.json index ecf9532f9..9fe63da20 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithFile_Uploads_CreatesAsset_240/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["24a8b2c1721bc043"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19172-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.487291,VS0,VE43"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/b12bb525-3653-4f2c-a9db-5f0f9fabe31c","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["02829babf5be3c45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19148-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861723.668525,VS0,VE51"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/a1ddc777-d06d-4fcf-b43e-372b462a08df","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/0_POST/response.json index 26dc17a9c..05da8638a 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["229822d00e0c474e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19133-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853630.024606,VS0,VE100"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["text/plain"]},{"Key":"Content-Length","Value":["84"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/Hello.txt","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["fae0164aa4cf084f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:12 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861712.112483,VS0,VE53"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["text/plain"]},{"Key":"Content-Length","Value":["84"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/Hello.txt","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/0_POST/response_content.json index 3acd2e986..dc7adbc92 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/0_POST/response_content.json @@ -1,4 +1,4 @@ { - "id": "202294d4-99d7-437c-bbbf-38f55227c4e4", + "id": "739ecda6-c009-461e-8927-a0a44019699f", "type": "internal" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/request_content.json index 9b05b73b0..d86bf2d47 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/request_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/request_content.json @@ -1 +1 @@ -{"file_reference":{"id":"202294d4-99d7-437c-bbbf-38f55227c4e4","type":"internal"},"descriptions":[]} \ No newline at end of file +{"file_reference":{"id":"739ecda6-c009-461e-8927-a0a44019699f","type":"internal"},"descriptions":[]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/response.json index 5470477c6..98414fff4 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["761"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/c8726929-1636-4de1-ba75-9ed4960787aa"]},{"Key":"X-Request-ID","Value":["2ed137660e58e647"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19133-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853630.159338,VS0,VE37"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["100"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["760"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/e889cc61-7619-49ff-bc26-065cd8dd0e07"]},{"Key":"X-Request-ID","Value":["939b6fb239454640"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:12 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861712.189179,VS0,VE40"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["100"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/response_content.json index f933d9b71..73748de19 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/1_POST/response_content.json @@ -1,14 +1,14 @@ { - "id": "c8726929-1636-4de1-ba75-9ed4960787aa", + "id": "e889cc61-7619-49ff-bc26-065cd8dd0e07", "file_name": "Hello.txt", "title": null, "size": 84, "type": "text/plain", - "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/202294d4-99d7-437c-bbbf-38f55227c4e4/Hello.txt", + "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/739ecda6-c009-461e-8927-a0a44019699f/Hello.txt", "image_width": null, "image_height": null, "file_reference": { - "id": "202294d4-99d7-437c-bbbf-38f55227c4e4", + "id": "739ecda6-c009-461e-8927-a0a44019699f", "type": "internal" }, "descriptions": [ @@ -25,5 +25,5 @@ "description": null } ], - "last_modified": "2021-08-13T11:20:30.1764502Z" + "last_modified": "2021-08-13T13:35:12.197766Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/2_DELETE/request.json index 5290ef3e8..fa913283e 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/2_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/2_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/c8726929-1636-4de1-ba75-9ed4960787aa","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/e889cc61-7619-49ff-bc26-065cd8dd0e07","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/2_DELETE/response.json index dd854fe09..6ddda3b57 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateAsset_WithStream_Uploads_CreatesAsset_150/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["a06c13f2e943ea4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19133-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853630.230155,VS0,VE49"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/c8726929-1636-4de1-ba75-9ed4960787aa","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["71bf4a16cb712044"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:12 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861712.243559,VS0,VE48"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/e889cc61-7619-49ff-bc26-065cd8dd0e07","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/0_POST/response.json index 73caac46c..c3d831d89 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/0abb2caf-825e-40fe-8db4-527fd57072c1"]},{"Key":"X-Request-ID","Value":["454850a4ec1d8b4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:56 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19140-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853656.357804,VS0,VE56"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["77"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/f58da9d1-197f-408b-9e55-d4c26dd45154"]},{"Key":"X-Request-ID","Value":["eeaaa9a4a0c4cd46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861741.500060,VS0,VE51"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["77"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/0_POST/response_content.json index 69458e34d..397192e9b 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/0_POST/response_content.json @@ -1,5 +1,5 @@ { - "id": "0abb2caf-825e-40fe-8db4-527fd57072c1", + "id": "f58da9d1-197f-408b-9e55-d4c26dd45154", "name": "Hooray!", "codename": "hooray_codename", "type": { @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:56.3700807Z" + "last_modified": "2021-08-13T13:35:40.5106136Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/1_DELETE/response.json index 00856926d..ec20c3459 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateContentItem_CreatesContentItem_17/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["405cce9ec9f3e64f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:56 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19140-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853656.440888,VS0,VE136"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_codename","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7abaf8a01fd4a448"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861741.574744,VS0,VE97"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_codename","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/request_content.json rename to Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/response.json similarity index 77% rename from Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/response.json index 9387da38b..99dd84f6e 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["495"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/61b25929-60f2-54f4-a0eb-91c287dc2ea7"]},{"Key":"X-Request-ID","Value":["bc7c0f699c523f4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19127-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.214536,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["286"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["494"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/61b25929-60f2-54f4-a0eb-91c287dc2ea7"]},{"Key":"X-Request-ID","Value":["cfc9d1959dc2f040"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.307010,VS0,VE30"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["286"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/response_content.json similarity index 89% rename from Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/response_content.json rename to Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/response_content.json index 75f665264..3731145fb 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/0_POST/response_content.json @@ -1,7 +1,7 @@ { "id": "61b25929-60f2-54f4-a0eb-91c287dc2ea7", "codename": "hooray_codename_type", - "last_modified": "2021-08-13T11:20:53.2138221Z", + "last_modified": "2021-08-13T13:35:37.307476Z", "external_id": "hooray_codename_external_id", "name": "HoorayType!", "content_groups": [], diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/request.json rename to Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/response.json similarity index 70% rename from Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/response.json index fedd161a6..a89ae1152 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d9ba69ed82414b45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19127-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.269980,VS0,VE50"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/hooray_codename_type","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5d96e5ad0457af41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.360781,VS0,VE54"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/hooray_codename_type","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_220/1_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/CreateContentType_CreatesContentType_159/1_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/0_PUT/response.json index 7a36ac4a7..d4b6db4ee 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["385"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/7b648994-b2eb-5ad7-9be0-836bf48e95ba"]},{"Key":"X-Request-ID","Value":["37973ed599663949"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853636.919321,VS0,VE151"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["377"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/7b648994-b2eb-5ad7-9be0-836bf48e95ba"]},{"Key":"X-Request-ID","Value":["df1a7b5441a4c144"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:19 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861719.981252,VS0,VE135"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/0_PUT/response_content.json index 1ce054cd9..b6f09e55a 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "7b648994-b2eb-5ad7-9be0-836bf48e95ba", "name": "Hooray!", - "codename": "hooray__7b64899", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "33302811b05f429284006ea94c68333", - "last_modified": "2021-08-13T11:20:35.9733842Z" + "last_modified": "2021-08-13T13:35:19.0415865Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/request.json index f81ef1c1d..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__7b64899/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/response.json index 853e5a192..a0460a8ff 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5104"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/7b648994-b2eb-5ad7-9be0-836bf48e95ba/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["1b027a52cc840248"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853636.093860,VS0,VE194"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__7b64899/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/7b648994-b2eb-5ad7-9be0-836bf48e95ba/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["66ba1a1ac1bf6f46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:19 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861719.140476,VS0,VE255"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/response_content.json index f9d166e37..69b77f8e3 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:36.113961Z" + "last_modified": "2021-08-13T13:35:19.1666102Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/2_PUT/response.json index aa72203ee..bc12c0eac 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3cf5ee06bf5c5349"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853636.312276,VS0,VE210"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["436f394c27fe0e44"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:19 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861719.416252,VS0,VE232"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/3_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/3_PUT/response.json index b772c3195..260ad3df3 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/3_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/3_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["8e8cefbb65e8b246"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853637.546151,VS0,VE161"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333/variants/codename/es-ES/new-version","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["17e836446eb63c44"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:19 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861720.669091,VS0,VE155"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333/variants/codename/es-ES/new-version","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/4_GET/response.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/4_GET/response.json index 01a3862aa..208b4013b 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/4_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/4_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5104"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["68137690c9c5a743"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853637.735857,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e423bd5cc4fe2e46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:19 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861720.852854,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/4_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/4_GET/response_content.json index f9d166e37..69b77f8e3 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/4_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/4_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:36.113961Z" + "last_modified": "2021-08-13T13:35:19.1666102Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/5_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/5_DELETE/response.json index 45125cf72..abf6241e9 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/5_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant_114/5_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["20d54b7d58cbbb48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853637.774013,VS0,VE201"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["09c68b6879cc6a4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:20 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861720.898320,VS0,VE202"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/33302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/request_content.json rename to Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/response.json similarity index 81% rename from Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/response.json index 6b4ab9fc8..d073aff48 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["471"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/66571b03-66fa-509c-9ae8-bdccb3086d21"]},{"Key":"X-Request-ID","Value":["4489ce985e552141"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:46 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19123-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853647.936718,VS0,VE29"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["243"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["471"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/66571b03-66fa-509c-9ae8-bdccb3086d21"]},{"Key":"X-Request-ID","Value":["e2c7475ef1be9342"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861731.162776,VS0,VE28"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["243"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/response_content.json similarity index 88% rename from Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/response_content.json rename to Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/response_content.json index 310873a8f..821feec78 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/0_POST/response_content.json @@ -1,5 +1,5 @@ { - "last_modified": "2021-08-13T11:20:46.9429495Z", + "last_modified": "2021-08-13T13:35:31.1667813Z", "id": "66571b03-66fa-509c-9ae8-bdccb3086d21", "name": "taxonomiesCreate!", "codename": "taxonomies_codename_create", diff --git a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/request.json rename to Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/response.json similarity index 76% rename from Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/response.json index 89bd6cbb4..7de4c058d 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c39c00b185bcb64b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:47 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19123-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853647.989780,VS0,VE28"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_create","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f51a67852812ee47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861731.211504,VS0,VE28"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_create","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_67/1_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/CreateTaxonomyGroup_CreatesTaxonomyGroup_68/1_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/0_POST/response.json index 37462003f..fd7bb3b1a 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["684"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/d9b11a81-0e05-4851-826a-5346ef1db797"]},{"Key":"X-Request-ID","Value":["43e917cfb955f04d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:50 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.811903,VS0,VE45"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["257"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["684"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/622eec5f-f6eb-4abc-8d87-3aa3d069fe0d"]},{"Key":"X-Request-ID","Value":["b5b250050b1e6947"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19137-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861735.138842,VS0,VE44"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["257"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/0_POST/response_content.json index a1c57d3fa..a3297870c 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/0_POST/response_content.json @@ -1,6 +1,6 @@ { - "last_modified": "2021-08-13T11:20:50.8208326Z", - "id": "d9b11a81-0e05-4851-826a-5346ef1db797", + "last_modified": "2021-08-13T13:35:35.1355547Z", + "id": "622eec5f-f6eb-4abc-8d87-3aa3d069fe0d", "name": "webhookTestName", "url": "http://url", "secret": "secret", diff --git a/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/1_DELETE/request.json index be6387e0f..80c1ef16d 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/1_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/1_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/d9b11a81-0e05-4851-826a-5346ef1db797","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/622eec5f-f6eb-4abc-8d87-3aa3d069fe0d","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/1_DELETE/response.json index 0ba2d38a6..11b9815c2 100644 --- a/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/CreateWebhookGroup_CreatesWebhookGroup_40/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d02024acb81cac44"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:50 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.887266,VS0,VE56"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/d9b11a81-0e05-4851-826a-5346ef1db797","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["559bde2bcf656e4a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19137-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861735.206195,VS0,VE57"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/622eec5f-f6eb-4abc-8d87-3aa3d069fe0d","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/0_POST/response.json index 0f6093e60..fe6364b5a 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e7618715-351c-43c0-89a7-5c7d1c148a87"]},{"Key":"X-Request-ID","Value":["e7fa67700ffcd24a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19149-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853626.531870,VS0,VE90"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/f52ca3a6-b5b9-46f3-aa08-d879e4b74eae"]},{"Key":"X-Request-ID","Value":["5669fe47bae43d41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861708.782747,VS0,VE76"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/0_POST/response_content.json index 40995a752..45a27ab9a 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/0_POST/response_content.json @@ -1,7 +1,7 @@ { - "id": "e7618715-351c-43c0-89a7-5c7d1c148a87", + "id": "f52ca3a6-b5b9-46f3-aa08-d879e4b74eae", "name": "Hooray!", - "codename": "hooray__e761871", + "codename": "hooray__f52ca3a", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:25.5669966Z" + "last_modified": "2021-08-13T13:35:07.7914711Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/request.json index f0849e580..136f494fc 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__e761871/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__f52ca3a/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/response.json index 3dbddc05e..c426855b8 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e7618715-351c-43c0-89a7-5c7d1c148a87/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["5379441f739d9547"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19149-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853626.645225,VS0,VE148"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__e761871/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/f52ca3a6-b5b9-46f3-aa08-d879e4b74eae/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["b66f719b4db8594b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:08 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861709.556612,VS0,VE201"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__f52ca3a/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/response_content.json index 37665fda5..9da3e57b3 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -200,10 +200,10 @@ "id": "eee6db3b-545a-4785-8e86-e3772c8756f9" }, "item": { - "id": "e7618715-351c-43c0-89a7-5c7d1c148a87" + "id": "f52ca3a6-b5b9-46f3-aa08-d879e4b74eae" }, "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:25.6763511Z" + "last_modified": "2021-08-13T13:35:08.6040178Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/2_DELETE/request.json index c30976abb..f393e1b00 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/2_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/2_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__e761871/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__f52ca3a/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/2_DELETE/response.json index 41cff9ffa..2add365f4 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant_483/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9256b037b966924e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19149-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853626.816747,VS0,VE226"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__e761871/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cc26a7a291313f4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:08 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861709.788420,VS0,VE171"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__f52ca3a/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/0_POST/response.json index 0918f9ea8..e3a0a027c 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/aecc220f-fc7d-417c-abeb-e81b5ceeaefb"]},{"Key":"X-Request-ID","Value":["7c8677544731864e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:34 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853635.823554,VS0,VE71"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["324"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/5ade2b30-0308-4428-893d-3be33cfec1d8"]},{"Key":"X-Request-ID","Value":["b6adf55397f65b47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:18 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861718.971351,VS0,VE44"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/0_POST/response_content.json index b503afc88..3b39beed3 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/0_POST/response_content.json @@ -1,7 +1,7 @@ { - "id": "aecc220f-fc7d-417c-abeb-e81b5ceeaefb", + "id": "5ade2b30-0308-4428-893d-3be33cfec1d8", "name": "Hooray!", - "codename": "hooray__aecc220", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:34.8326985Z" + "last_modified": "2021-08-13T13:35:17.9791006Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/request.json index b1ba469a0..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__aecc220/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/response.json index e2367d088..ecda7597b 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/aecc220f-fc7d-417c-abeb-e81b5ceeaefb/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["269c68c67df2dd4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853635.919632,VS0,VE142"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__aecc220/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/5ade2b30-0308-4428-893d-3be33cfec1d8/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["b6a057b19ad36c4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:18 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861718.036320,VS0,VE156"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/response_content.json index fa08cb8e9..188978ae9 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -200,10 +200,10 @@ "id": "eee6db3b-545a-4785-8e86-e3772c8756f9" }, "item": { - "id": "aecc220f-fc7d-417c-abeb-e81b5ceeaefb" + "id": "5ade2b30-0308-4428-893d-3be33cfec1d8" }, "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:34.9420748Z" + "last_modified": "2021-08-13T13:35:18.0728284Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/2_DELETE/request.json index a8ee56df7..89863f7fe 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/2_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/2_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__aecc220/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/2_DELETE/response.json index 22891ad80..ab2ad3ac0 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant_466/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["85a3fad13d2b964c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853635.084748,VS0,VE178"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__aecc220/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9b93a76a7b055d45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:18 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861718.216616,VS0,VE195"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/0_PUT/response.json index df881f15f..faaf1f5ca 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/c2667297-d877-5368-a2f3-223b9c6c30a7"]},{"Key":"X-Request-ID","Value":["59fb1180ab09134e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:54 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19171-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853654.915165,VS0,VE140"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f4fe87222b6b46739bc673f6e5165c12","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/c2667297-d877-5368-a2f3-223b9c6c30a7"]},{"Key":"X-Request-ID","Value":["c002d76e61fe7148"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19158-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861738.773052,VS0,VE119"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f4fe87222b6b46739bc673f6e5165c12","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/0_PUT/response_content.json index 981a1ae5e..cccba9211 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "c2667297-d877-5368-a2f3-223b9c6c30a7", "name": "Hooray!", - "codename": "hooray__c266729", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "f4fe87222b6b46739bc673f6e5165c12", - "last_modified": "2021-08-13T11:20:53.9638161Z" + "last_modified": "2021-08-13T13:35:37.8074663Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/request.json index 8c17c57ee..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__c266729/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/response.json index 8e5a57e9f..241ecc54c 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/c2667297-d877-5368-a2f3-223b9c6c30a7/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["690f466b92225c4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:54 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19171-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853654.079315,VS0,VE208"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__c266729/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/c2667297-d877-5368-a2f3-223b9c6c30a7/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["4ca7e4990a36a248"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19158-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861738.912824,VS0,VE193"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/response_content.json index 4ab174840..baf828e5f 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:54.1044437Z" + "last_modified": "2021-08-13T13:35:37.9324366Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/2_DELETE/response.json index bf1ae40f7..1472427d4 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant_517/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3158c5e3246aea45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:54 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19171-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853654.309217,VS0,VE204"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f4fe87222b6b46739bc673f6e5165c12/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["876816021959e540"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19158-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861738.361730,VS0,VE173"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f4fe87222b6b46739bc673f6e5165c12/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/0_PUT/response.json index 1b552285a..3aa3f1da8 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["384"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/8ceea240-72ea-55d3-99ef-e4eab3c65455"]},{"Key":"X-Request-ID","Value":["abb72f5ccb757645"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:55 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853655.385595,VS0,VE131"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/90285b1a983c43299638c8a835f16b81","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/8ceea240-72ea-55d3-99ef-e4eab3c65455"]},{"Key":"X-Request-ID","Value":["b963a0f33ce6e64a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861739.493790,VS0,VE259"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/90285b1a983c43299638c8a835f16b81","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/0_PUT/response_content.json index b532fbb0b..d42d82a45 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "8ceea240-72ea-55d3-99ef-e4eab3c65455", "name": "Hooray!", - "codename": "hooray__8ceea24", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "90285b1a983c43299638c8a835f16b81", - "last_modified": "2021-08-13T11:20:55.44818Z" + "last_modified": "2021-08-13T13:35:39.6512045Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/request.json index e7eb8e2bb..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__8ceea24/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/response.json index 16a02c2d2..74650ce01 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/8ceea240-72ea-55d3-99ef-e4eab3c65455/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["a7c411c229f5f840"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:55 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853656.540592,VS0,VE206"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__8ceea24/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/8ceea240-72ea-55d3-99ef-e4eab3c65455/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["4648c2d003c0724e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861740.773451,VS0,VE199"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/response_content.json index fcd46053a..5de83a403 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:55.5731823Z" + "last_modified": "2021-08-13T13:35:39.7918296Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/2_DELETE/response.json index f27062728..d9c9c0566 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant_500/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3b4f7b942f5ef345"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:56 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853656.781354,VS0,VE255"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/90285b1a983c43299638c8a835f16b81/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["aac28aa5b1647b4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861740.992830,VS0,VE212"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/90285b1a983c43299638c8a835f16b81/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/0_POST/response.json index 26952cc77..30a7e37c6 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/b10f6b21-d452-4bac-b3b8-8b04a4963214"]},{"Key":"X-Request-ID","Value":["ef858f70d41e8648"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853623.889595,VS0,VE82"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/67a63b80-aa67-4db6-95fd-7c6f3de1f2c2"]},{"Key":"X-Request-ID","Value":["cbcc0cd73808d243"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:05 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19152-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861705.301696,VS0,VE80"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/0_POST/response_content.json index 788e77b68..44d116a64 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/0_POST/response_content.json @@ -1,7 +1,7 @@ { - "id": "b10f6b21-d452-4bac-b3b8-8b04a4963214", + "id": "67a63b80-aa67-4db6-95fd-7c6f3de1f2c2", "name": "Hooray!", - "codename": "hooray__b10f6b2", + "codename": "hooray__67a63b8", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:22.9107254Z" + "last_modified": "2021-08-13T13:35:05.3071035Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/request.json index a9e51236d..014b64056 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__b10f6b2/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__67a63b8/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/response.json index 40b3da0d9..3948c62ea 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/b10f6b21-d452-4bac-b3b8-8b04a4963214/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["624399196d53c242"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853623.031511,VS0,VE193"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__b10f6b2/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/67a63b80-aa67-4db6-95fd-7c6f3de1f2c2/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["fddfc6fc3fb58347"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:05 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19152-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861705.445803,VS0,VE183"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__67a63b8/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/response_content.json index 3a4bcf8e3..97f229151 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -200,10 +200,10 @@ "id": "eee6db3b-545a-4785-8e86-e3772c8756f9" }, "item": { - "id": "b10f6b21-d452-4bac-b3b8-8b04a4963214" + "id": "67a63b80-aa67-4db6-95fd-7c6f3de1f2c2" }, "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:23.0981979Z" + "last_modified": "2021-08-13T13:35:05.5101987Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/2_DELETE/request.json index 9cd3e16fb..251809c01 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/2_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/2_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/b10f6b21-d452-4bac-b3b8-8b04a4963214/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/67a63b80-aa67-4db6-95fd-7c6f3de1f2c2/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/2_DELETE/response.json index 7c6ccb309..d3bbe9342 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant_434/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["16e1898b8b6abc4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853623.273116,VS0,VE232"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/b10f6b21-d452-4bac-b3b8-8b04a4963214/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e373bd1f9ee7854c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:05 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19152-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.656356,VS0,VE198"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/67a63b80-aa67-4db6-95fd-7c6f3de1f2c2/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/0_POST/response.json index 10166ed06..cfa2dcf7b 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4cbef27e-66ce-481a-a3d3-b337187119d5"]},{"Key":"X-Request-ID","Value":["6203219f1384f048"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19137-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853632.936570,VS0,VE60"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["324"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/9fcda23b-0a24-429f-a1f2-76066a903eaf"]},{"Key":"X-Request-ID","Value":["ac564d90a802734e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:14 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861714.056958,VS0,VE61"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/0_POST/response_content.json index 11190a88a..3b6e73784 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/0_POST/response_content.json @@ -1,7 +1,7 @@ { - "id": "4cbef27e-66ce-481a-a3d3-b337187119d5", + "id": "9fcda23b-0a24-429f-a1f2-76066a903eaf", "name": "Hooray!", - "codename": "hooray__4cbef27", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:31.9420815Z" + "last_modified": "2021-08-13T13:35:14.0727902Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/request.json index 37836aa29..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__4cbef27/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/response.json index f6a1fe2d8..0eead3612 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4cbef27e-66ce-481a-a3d3-b337187119d5/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["50a7cf5dc6dccf49"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19137-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853632.024420,VS0,VE175"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__4cbef27/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/9fcda23b-0a24-429f-a1f2-76066a903eaf/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["a50cd679ad57da43"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:14 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861714.140186,VS0,VE169"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/response_content.json index 7cfece219..e692cbfb8 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -200,10 +200,10 @@ "id": "eee6db3b-545a-4785-8e86-e3772c8756f9" }, "item": { - "id": "4cbef27e-66ce-481a-a3d3-b337187119d5" + "id": "9fcda23b-0a24-429f-a1f2-76066a903eaf" }, "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:32.0670718Z" + "last_modified": "2021-08-13T13:35:14.1978337Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/2_DELETE/request.json index 8b6e1cfcc..c4fc4fe34 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/2_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/2_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4cbef27e-66ce-481a-a3d3-b337187119d5/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/9fcda23b-0a24-429f-a1f2-76066a903eaf/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/2_DELETE/response.json index fd3699ee2..46984659c 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItemVariant_ById_LanguageId_DeletesVariant_450/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5a90c96ec265ca42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19137-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853632.243340,VS0,VE176"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4cbef27e-66ce-481a-a3d3-b337187119d5/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["bc6c8cff0668f340"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:14 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861714.340609,VS0,VE197"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/9fcda23b-0a24-429f-a1f2-76066a903eaf/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/0_POST/response.json index 96e5d58de..3ea1e4c9c 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/1dcb7a3b-f6d6-48b0-9c92-bb5a5fe90dc0"]},{"Key":"X-Request-ID","Value":["2d4af6b018468143"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853635.314508,VS0,VE54"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["323"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e5d1c492-45d0-4905-882f-6eb93bdf1f7f"]},{"Key":"X-Request-ID","Value":["743cf9d89b7ef54e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:18 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861718.456579,VS0,VE43"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/0_POST/response_content.json index a76223585..df5252588 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/0_POST/response_content.json @@ -1,7 +1,7 @@ { - "id": "1dcb7a3b-f6d6-48b0-9c92-bb5a5fe90dc0", + "id": "e5d1c492-45d0-4905-882f-6eb93bdf1f7f", "name": "Hooray!", - "codename": "hooray__1dcb7a3", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:35.3171195Z" + "last_modified": "2021-08-13T13:35:18.463458Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/1_DELETE/request.json index fc4fceb61..78e26d4e2 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/1_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/1_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__1dcb7a3","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/1_DELETE/response.json index 2cb744d34..3bd18c3e4 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByCodename_DeletesContentItem_295/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4f278eb5ccd18f4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853635.400662,VS0,VE93"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__1dcb7a3","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["67be94c6decdaf4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:18 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861719.519962,VS0,VE110"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/0_PUT/response.json index 91e2e30c2..22f4b527c 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/835d01eb-8d43-59b4-a69e-cb1ab8495c02"]},{"Key":"X-Request-ID","Value":["cfa75a79af69cc4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:52 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19173-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.664711,VS0,VE79"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/341bcf72988d49729ec34c8682710536","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["377"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/835d01eb-8d43-59b4-a69e-cb1ab8495c02"]},{"Key":"X-Request-ID","Value":["337b2d6a24a11042"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19149-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.653345,VS0,VE119"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/341bcf72988d49729ec34c8682710536","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/0_PUT/response_content.json index d26e703b3..942cea2f7 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "835d01eb-8d43-59b4-a69e-cb1ab8495c02", "name": "Hooray!", - "codename": "hooray__835d01e", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "341bcf72988d49729ec34c8682710536", - "last_modified": "2021-08-13T11:20:52.6825296Z" + "last_modified": "2021-08-13T13:35:36.698096Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/1_DELETE/response.json index 1f100b5d8..793a211ac 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ByExternalId_DeletesContentItem_314/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["32349ad3c33d6742"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:52 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19173-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.765627,VS0,VE114"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/341bcf72988d49729ec34c8682710536","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cd3e6e85103f234b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19149-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.802579,VS0,VE77"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/341bcf72988d49729ec34c8682710536","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/0_POST/response.json index 54dd4dc5d..1d35cb6f9 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/2f46efca-7c02-4abb-86f8-184a8ea0b3b2"]},{"Key":"X-Request-ID","Value":["5c6a0f5998840947"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19125-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853623.512024,VS0,VE88"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["332"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/19b16382-9303-44c8-bf2f-bb7066339be5"]},{"Key":"X-Request-ID","Value":["b3cd26dcdde8aa4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:05 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861705.017891,VS0,VE57"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["48"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/0_POST/response_content.json index 547c290bf..2d5b66870 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/0_POST/response_content.json @@ -1,7 +1,7 @@ { - "id": "2f46efca-7c02-4abb-86f8-184a8ea0b3b2", + "id": "19b16382-9303-44c8-bf2f-bb7066339be5", "name": "Hooray!", - "codename": "hooray__2f46efc", + "codename": "hooray__19b1638", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:22.5356961Z" + "last_modified": "2021-08-13T13:35:05.0258178Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/1_DELETE/request.json index fb3374573..7dfdec4d1 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/1_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/1_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/2f46efca-7c02-4abb-86f8-184a8ea0b3b2","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/19b16382-9303-44c8-bf2f-bb7066339be5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/1_DELETE/response.json index 16b26c427..ad7e891a4 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentItem_ById_DeletesContentItem_276/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["40abe4d11c446145"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19125-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853623.650242,VS0,VE107"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/2f46efca-7c02-4abb-86f8-184a8ea0b3b2","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d8cb7406bb5f124e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:05 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861705.116575,VS0,VE80"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/19b16382-9303-44c8-bf2f-bb7066339be5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/request_content.json new file mode 100644 index 000000000..7ed0c36fd --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/request_content.json @@ -0,0 +1 @@ +{"codename":"c_deletecontenttype_bycodename_deletescont_120","name":"deletecontenttype_bycodename_deletescont_120","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"g_eid_deletecontenttype_bycodename_deletescont_120","id":"00000000-0000-0000-0000-000000000000","codename":"g_c_deletecontenttype_bycodename_deletescont_120"}],"external_id":"eid_deletecontenttype_bycodename_deletescont_120"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/response.json similarity index 72% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/response.json index 54d0b9305..bfd520927 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["907"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/a000647e-53ad-5e42-af60-26cad670cc33"]},{"Key":"X-Request-ID","Value":["b3bb4b1b52ade247"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853654.648221,VS0,VE32"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["584"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["632"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/81fd8f96-b563-540f-93bc-63788384f035"]},{"Key":"X-Request-ID","Value":["9e56d2b1bc94b24c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861707.125450,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["423"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/response_content.json new file mode 100644 index 000000000..7333cc02a --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/0_POST/response_content.json @@ -0,0 +1,17 @@ +{ + "id": "81fd8f96-b563-540f-93bc-63788384f035", + "codename": "c_deletecontenttype_bycodename_deletescont_120", + "last_modified": "2021-08-13T13:35:07.1352161Z", + "external_id": "eid_deletecontenttype_bycodename_deletescont_120", + "name": "deletecontenttype_bycodename_deletescont_120", + "content_groups": [], + "elements": [ + { + "guidelines": "

Guidelines

", + "type": "guidelines", + "external_id": "g_eid_deletecontenttype_bycodename_deletescont_120", + "id": "bef5ea5c-fa25-5289-bcc1-f876c9fcdc86", + "codename": "g_c_deletecontenttype_bycodename_deletescont_120" + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/request.json new file mode 100644 index 000000000..7ca5a2b48 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_deletecontenttype_bycodename_deletescont_120","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/response.json similarity index 57% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/response.json index 222be0c1c..25af5bd63 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["a744d25d05e41c4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853654.802801,VS0,VE55"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_add_into","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["51d1e188b032964d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861707.180183,VS0,VE63"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_deletecontenttype_bycodename_deletescont_120","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_118/1_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/request_content.json deleted file mode 100644 index b40d2879e..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"codename":"test_delete_codename","name":"TestDeleteByCodename!","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"guidelines_test_delete_codename","id":"00000000-0000-0000-0000-000000000000","codename":"guidelines_codename"}],"external_id":"test_delete_externalId_codename"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/response_content.json deleted file mode 100644 index 376dd51ee..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/response_content.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "id": "4b1ddd19-99c6-55fa-9d0b-af3c0fc4dc06", - "codename": "test_delete_codename", - "last_modified": "2021-08-13T11:20:24.8013729Z", - "external_id": "test_delete_externalId_codename", - "name": "TestDeleteByCodename!", - "content_groups": [], - "elements": [ - { - "guidelines": "

Guidelines

", - "type": "guidelines", - "external_id": "guidelines_test_delete_codename", - "id": "d0c25ad2-d783-5d58-80f1-0b3d7353c2c7", - "codename": "guidelines_codename" - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/request.json deleted file mode 100644 index 9787d07c0..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/test_delete_codename","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/request_content.json new file mode 100644 index 000000000..e8455064a --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/request_content.json @@ -0,0 +1 @@ +{"codename":"c_deletecontenttype_byexternalid_deletesco_140","name":"deletecontenttype_byexternalid_deletesco_140","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"g_eid_deletecontenttype_byexternalid_deletesco_140","id":"00000000-0000-0000-0000-000000000000","codename":"g_c_deletecontenttype_byexternalid_deletesco_140"}],"external_id":"eid_deletecontenttype_byexternalid_deletesco_140"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/response.json new file mode 100644 index 000000000..14f928d24 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["632"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/7ab687f3-469c-53de-92d1-ccf060eaf5eb"]},{"Key":"X-Request-ID","Value":["376fb0275866074b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19173-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861736.271417,VS0,VE127"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["423"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/response_content.json new file mode 100644 index 000000000..e78f67df0 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/0_POST/response_content.json @@ -0,0 +1,17 @@ +{ + "id": "7ab687f3-469c-53de-92d1-ccf060eaf5eb", + "codename": "c_deletecontenttype_byexternalid_deletesco_140", + "last_modified": "2021-08-13T13:35:36.3387014Z", + "external_id": "eid_deletecontenttype_byexternalid_deletesco_140", + "name": "deletecontenttype_byexternalid_deletesco_140", + "content_groups": [], + "elements": [ + { + "guidelines": "

Guidelines

", + "type": "guidelines", + "external_id": "g_eid_deletecontenttype_byexternalid_deletesco_140", + "id": "896a4bde-1cc1-57cb-9772-de5efe74cdd6", + "codename": "g_c_deletecontenttype_byexternalid_deletesco_140" + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/request.json new file mode 100644 index 000000000..e1e033c24 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/external-id/eid_deletecontenttype_byexternalid_deletesco_140","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/response.json similarity index 51% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/response.json index 9ce34a51d..4ad14f0cc 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cea55a8d1453f04f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19162-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853624.697228,VS0,VE294"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_replace","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["84d64e0110c9ef43"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19173-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861736.412864,VS0,VE102"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/external-id/eid_deletecontenttype_byexternalid_deletesco_140","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_138/1_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/request_content.json deleted file mode 100644 index ae37db808..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"codename":"test_delete_externalid","name":"TestDeleteByExternalId!","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"guidelines_test_delete_externalid","id":"00000000-0000-0000-0000-000000000000","codename":"guidelines_externalid"}],"external_id":"test_delete_externalId_externalid"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/response_content.json deleted file mode 100644 index d85bb957f..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/response_content.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "id": "007ac32d-aa28-54b6-9515-2fb5b5bbf27a", - "codename": "test_delete_externalid", - "last_modified": "2021-08-13T11:20:51.7282327Z", - "external_id": "test_delete_externalId_externalid", - "name": "TestDeleteByExternalId!", - "content_groups": [], - "elements": [ - { - "guidelines": "

Guidelines

", - "type": "guidelines", - "external_id": "guidelines_test_delete_externalid", - "id": "24d8acee-fa99-5fa4-9db1-db81c1a067a3", - "codename": "guidelines_externalid" - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/request.json deleted file mode 100644 index 21d541a25..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/external-id/test_delete_externalId_externalid","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/request_content.json index c4bb689c8..98221e825 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/request_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/request_content.json @@ -1 +1 @@ -{"codename":"test_delete_id","name":"TestDeleteById!","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"guidelines_test_delete_id","id":"00000000-0000-0000-0000-000000000000","codename":"guidelines_codename"}],"external_id":"test_delete_externalId_id"} \ No newline at end of file +{"codename":"c_deletecontenttype_byid_deletescontenttyp_101","name":"deletecontenttype_byid_deletescontenttyp_101","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"g_eid_deletecontenttype_byid_deletescontenttyp_101","id":"00000000-0000-0000-0000-000000000000","codename":"g_c_deletecontenttype_byid_deletescontenttyp_101"}],"external_id":"eid_deletecontenttype_byid_deletescontenttyp_101"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/response.json index e7bb0de6e..535d4c424 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["494"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/f189bdde-61f1-5cff-b9b9-1786abec113a"]},{"Key":"X-Request-ID","Value":["c2bb14f83f95c946"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:56 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19146-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853656.086141,VS0,VE31"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["285"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["632"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/0080ab2e-8ca1-532e-92e5-dcc45ec82138"]},{"Key":"X-Request-ID","Value":["37df4c7bc7d2074d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861740.252257,VS0,VE32"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["423"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/response_content.json index b7097ef2c..5f275c375 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/0_POST/response_content.json @@ -1,17 +1,17 @@ { - "id": "f189bdde-61f1-5cff-b9b9-1786abec113a", - "codename": "test_delete_id", - "last_modified": "2021-08-13T11:20:56.0888532Z", - "external_id": "test_delete_externalId_id", - "name": "TestDeleteById!", + "id": "0080ab2e-8ca1-532e-92e5-dcc45ec82138", + "codename": "c_deletecontenttype_byid_deletescontenttyp_101", + "last_modified": "2021-08-13T13:35:40.2606174Z", + "external_id": "eid_deletecontenttype_byid_deletescontenttyp_101", + "name": "deletecontenttype_byid_deletescontenttyp_101", "content_groups": [], "elements": [ { "guidelines": "

Guidelines

", "type": "guidelines", - "external_id": "guidelines_test_delete_id", - "id": "51630e94-dc57-5826-8d63-f506bf3bc4ce", - "codename": "guidelines_codename" + "external_id": "g_eid_deletecontenttype_byid_deletescontenttyp_101", + "id": "bff059c2-2051-5761-babc-198771cdc795", + "codename": "g_c_deletecontenttype_byid_deletescontenttyp_101" } ] } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/1_DELETE/request.json index 6b4d372c7..0f75d9243 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/1_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/1_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/f189bdde-61f1-5cff-b9b9-1786abec113a","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/0080ab2e-8ca1-532e-92e5-dcc45ec82138","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/1_DELETE/response.json index bdb949c86..0524c55ca 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ById_DeletesContentType_99/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ff30a2757d80f142"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:56 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19146-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853656.139565,VS0,VE58"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/f189bdde-61f1-5cff-b9b9-1786abec113a","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["526825a7b559a648"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861740.306960,VS0,VE53"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/0080ab2e-8ca1-532e-92e5-dcc45ec82138","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/request_content.json deleted file mode 100644 index 13748561f..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"taxonomiesDeletecodename!","codename":"taxonomies_codename_delete","external_id":"taxonomies_codename_external_id_deletecodename","terms":[{"name":"name","codename":"taxonomies_term_codename_deletecodename","external_id":"taxonomies_term_external_id_deletecodename","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/response_content.json deleted file mode 100644 index c352ef34d..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/response_content.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:51.572018Z", - "id": "0f248060-f5d2-51d6-b42d-7878ff90f203", - "name": "taxonomiesDeletecodename!", - "codename": "taxonomies_codename_delete", - "external_id": "taxonomies_codename_external_id_deletecodename", - "terms": [ - { - "id": "5b19189e-e825-5be1-b328-95eed0ea2cba", - "name": "name", - "codename": "taxonomies_term_codename_deletecodename", - "external_id": "taxonomies_term_external_id_deletecodename", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/request.json deleted file mode 100644 index 5a5806940..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_delete","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/response.json deleted file mode 100644 index 9cd49ef81..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c80a6f678c28c244"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19131-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853652.617082,VS0,VE27"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_delete","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/request_content.json new file mode 100644 index 000000000..2b69e813e --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/request_content.json @@ -0,0 +1 @@ +{"name":"deletetaxonomygroup_bycodename_deletesta_105","codename":"c_deletetaxonomygroup_bycodename_deletesta_105","external_id":"eid_deletetaxonomygroup_bycodename_deletesta_105","terms":[{"name":"name1_deletetaxonomygroup_bycodename_deletesta_105","codename":"t_c_1deletetaxonomygroup_bycodename_deletesta_105","external_id":"eid1_deletetaxonomygroup_bycodename_deletesta_105","terms":[]},{"name":"name2_deletetaxonomygroup_bycodename_deletesta_105","codename":"t_c_2deletetaxonomygroup_bycodename_deletesta_105","external_id":"eid2_deletetaxonomygroup_bycodename_deletesta_105","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/response.json similarity index 68% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/response.json index c3c9e3d79..b7298fd2b 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["515"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/0f248060-f5d2-51d6-b42d-7878ff90f203"]},{"Key":"X-Request-ID","Value":["be1e93347bdf6740"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19131-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853652.567685,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["288"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["923"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/d954bb72-8a18-5e26-8d2f-a9712783a44d"]},{"Key":"X-Request-ID","Value":["db26e28f455b8f42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861736.878118,VS0,VE27"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["594"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/response_content.json new file mode 100644 index 000000000..11f2aee31 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/0_POST/response_content.json @@ -0,0 +1,23 @@ +{ + "last_modified": "2021-08-13T13:35:35.8855669Z", + "id": "d954bb72-8a18-5e26-8d2f-a9712783a44d", + "name": "deletetaxonomygroup_bycodename_deletesta_105", + "codename": "c_deletetaxonomygroup_bycodename_deletesta_105", + "external_id": "eid_deletetaxonomygroup_bycodename_deletesta_105", + "terms": [ + { + "id": "1d4923bb-a8cd-5b4c-b20d-6a8ec7135b3f", + "name": "name1_deletetaxonomygroup_bycodename_deletesta_105", + "codename": "t_c_1deletetaxonomygroup_bycodename_deletesta_105", + "external_id": "eid1_deletetaxonomygroup_bycodename_deletesta_105", + "terms": [] + }, + { + "id": "0b5de7f3-6d6c-5571-98c3-4d2f805aa170", + "name": "name2_deletetaxonomygroup_bycodename_deletesta_105", + "codename": "t_c_2deletetaxonomygroup_bycodename_deletesta_105", + "external_id": "eid2_deletetaxonomygroup_bycodename_deletesta_105", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/request.json new file mode 100644 index 000000000..900a87e85 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_deletetaxonomygroup_bycodename_deletesta_105","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/response.json new file mode 100644 index 000000000..68e1cc708 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["033ed4b259ba684b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861736.162981,VS0,VE30"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_deletetaxonomygroup_bycodename_deletesta_105","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_102/1_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup_103/1_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/request_content.json new file mode 100644 index 000000000..119c123e1 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/request_content.json @@ -0,0 +1 @@ +{"name":"deletetaxonomygroup_byexternalid_deletes_147","codename":"c_deletetaxonomygroup_byexternalid_deletes_147","external_id":"eid_deletetaxonomygroup_byexternalid_deletes_147","terms":[{"name":"name1_deletetaxonomygroup_byexternalid_deletes_147","codename":"t_c_1deletetaxonomygroup_byexternalid_deletes_147","external_id":"eid1_deletetaxonomygroup_byexternalid_deletes_147","terms":[]},{"name":"name2_deletetaxonomygroup_byexternalid_deletes_147","codename":"t_c_2deletetaxonomygroup_byexternalid_deletes_147","external_id":"eid2_deletetaxonomygroup_byexternalid_deletes_147","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/response.json similarity index 68% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/response.json index a5e798a67..c01c7b5ab 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["509"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/2ce2abcf-b61a-57b8-80cc-b942f09c4328"]},{"Key":"X-Request-ID","Value":["7eca93afb97f694f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:41 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19170-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853642.705363,VS0,VE27"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["281"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["923"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/5faf4bc4-456e-5a62-8821-05acd56ef2e3"]},{"Key":"X-Request-ID","Value":["eb71b966e169cb47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19120-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861725.016782,VS0,VE34"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["594"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/response_content.json new file mode 100644 index 000000000..f16ac1bfb --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/0_POST/response_content.json @@ -0,0 +1,23 @@ +{ + "last_modified": "2021-08-13T13:35:25.0260221Z", + "id": "5faf4bc4-456e-5a62-8821-05acd56ef2e3", + "name": "deletetaxonomygroup_byexternalid_deletes_147", + "codename": "c_deletetaxonomygroup_byexternalid_deletes_147", + "external_id": "eid_deletetaxonomygroup_byexternalid_deletes_147", + "terms": [ + { + "id": "8b357cd7-952a-5e42-a2b6-a3ab8ea17101", + "name": "name1_deletetaxonomygroup_byexternalid_deletes_147", + "codename": "t_c_1deletetaxonomygroup_byexternalid_deletes_147", + "external_id": "eid1_deletetaxonomygroup_byexternalid_deletes_147", + "terms": [] + }, + { + "id": "bea19468-1e79-535e-b4da-2bd3f940098d", + "name": "name2_deletetaxonomygroup_byexternalid_deletes_147", + "codename": "t_c_2deletetaxonomygroup_byexternalid_deletes_147", + "external_id": "eid2_deletetaxonomygroup_byexternalid_deletes_147", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/request.json new file mode 100644 index 000000000..a56c3a3a9 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/external-id/eid_deletetaxonomygroup_byexternalid_deletes_147","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/response.json new file mode 100644 index 000000000..ed07e228e --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["981133713c1baa4a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19120-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861725.072559,VS0,VE29"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/external-id/eid_deletetaxonomygroup_byexternalid_deletes_147","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_145/1_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/request_content.json deleted file mode 100644 index aa9b3b7a7..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"taxonomiesDeletEexternalId!","codename":"taxonomies_codename_deleteexternalid","external_id":"taxonomies_external_id_deleteexternalid","terms":[{"name":"name","codename":"taxonomies_term_codename_deleteid","external_id":"taxonomies_term_external_id_deleteid","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/response_content.json deleted file mode 100644 index 0a7d7527c..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/0_POST/response_content.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:41.7085561Z", - "id": "2ce2abcf-b61a-57b8-80cc-b942f09c4328", - "name": "taxonomiesDeletEexternalId!", - "codename": "taxonomies_codename_deleteexternalid", - "external_id": "taxonomies_external_id_deleteexternalid", - "terms": [ - { - "id": "38936890-d4c1-5b7c-b509-d2cf396c8dcc", - "name": "name", - "codename": "taxonomies_term_codename_deleteid", - "external_id": "taxonomies_term_external_id_deleteid", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/request.json deleted file mode 100644 index 590f894d0..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/external-id/taxonomies_external_id_deleteexternalid","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/response.json deleted file mode 100644 index 47e1fc721..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup_180/1_DELETE/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f8933bcd9c1bee4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:41 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19170-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853642.755761,VS0,VE24"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/external-id/taxonomies_external_id_deleteexternalid","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/request_content.json new file mode 100644 index 000000000..c9cb02c5e --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/request_content.json @@ -0,0 +1 @@ +{"name":"deletetaxonomygroup_byid_deletestaxonomy_126","codename":"c_deletetaxonomygroup_byid_deletestaxonomy_126","external_id":"eid_deletetaxonomygroup_byid_deletestaxonomy_126","terms":[{"name":"name1_deletetaxonomygroup_byid_deletestaxonomy_126","codename":"t_c_1deletetaxonomygroup_byid_deletestaxonomy_126","external_id":"eid1_deletetaxonomygroup_byid_deletestaxonomy_126","terms":[]},{"name":"name2_deletetaxonomygroup_byid_deletestaxonomy_126","codename":"t_c_2deletetaxonomygroup_byid_deletestaxonomy_126","external_id":"eid2_deletetaxonomygroup_byid_deletestaxonomy_126","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/response.json similarity index 68% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/response.json index ca6bc7163..3ccdb6278 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["494"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/99b80ea1-c488-55a8-aede-ae9e7f8a6c76"]},{"Key":"X-Request-ID","Value":["1e3009b53c5a264d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.258235,VS0,VE34"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["266"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["923"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/f7396c5c-ac9b-527e-af7a-daba88c8360a"]},{"Key":"X-Request-ID","Value":["afcb5248be61b14d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19163-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861736.558723,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["594"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/response_content.json new file mode 100644 index 000000000..387994524 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/0_POST/response_content.json @@ -0,0 +1,23 @@ +{ + "last_modified": "2021-08-13T13:35:35.5574357Z", + "id": "f7396c5c-ac9b-527e-af7a-daba88c8360a", + "name": "deletetaxonomygroup_byid_deletestaxonomy_126", + "codename": "c_deletetaxonomygroup_byid_deletestaxonomy_126", + "external_id": "eid_deletetaxonomygroup_byid_deletestaxonomy_126", + "terms": [ + { + "id": "de2e64b4-be92-5ab0-8062-ecfb50e7dc66", + "name": "name1_deletetaxonomygroup_byid_deletestaxonomy_126", + "codename": "t_c_1deletetaxonomygroup_byid_deletestaxonomy_126", + "external_id": "eid1_deletetaxonomygroup_byid_deletestaxonomy_126", + "terms": [] + }, + { + "id": "330e39c5-5ed1-5868-b82f-e8e59420035b", + "name": "name2_deletetaxonomygroup_byid_deletestaxonomy_126", + "codename": "t_c_2deletetaxonomygroup_byid_deletestaxonomy_126", + "external_id": "eid2_deletetaxonomygroup_byid_deletestaxonomy_126", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/request.json similarity index 80% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/request.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/request.json index da5fbcae9..60b625f05 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_addinto","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/f7396c5c-ac9b-527e-af7a-daba88c8360a","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/response.json similarity index 65% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/response.json index 6a54aefd6..9e7bd0ee1 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["07e110c5e1a99741"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.469339,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_replace","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2e9a378cfa80694d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19163-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861736.608456,VS0,VE28"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/f7396c5c-ac9b-527e-af7a-daba88c8360a","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_124/1_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/request_content.json deleted file mode 100644 index aefd56581..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"taxonomiesDeleteId!","codename":"taxonomies_codename_deleteid","external_id":"taxonomies_codename_external_id_deleteid","terms":[{"name":"name","codename":"taxonomies_term_codename_deleteid","external_id":"taxonomies_term_external_id_deleteid","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/response_content.json deleted file mode 100644 index 5ad210adf..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/0_POST/response_content.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:51.2739678Z", - "id": "99b80ea1-c488-55a8-aede-ae9e7f8a6c76", - "name": "taxonomiesDeleteId!", - "codename": "taxonomies_codename_deleteid", - "external_id": "taxonomies_codename_external_id_deleteid", - "terms": [ - { - "id": "38936890-d4c1-5b7c-b509-d2cf396c8dcc", - "name": "name", - "codename": "taxonomies_term_codename_deleteid", - "external_id": "taxonomies_term_external_id_deleteid", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/request.json deleted file mode 100644 index 6f12a72fd..000000000 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/99b80ea1-c488-55a8-aede-ae9e7f8a6c76","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/0_POST/response.json index 7d713711a..47a43f06f 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["684"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/3023151f-02a9-4a02-b903-b47eebb3e2f7"]},{"Key":"X-Request-ID","Value":["e7071fe1cb72ee49"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19136-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853633.592518,VS0,VE52"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["257"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["684"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/198351b3-27ea-43ae-8126-96937bf3d961"]},{"Key":"X-Request-ID","Value":["cd9101b46ea1aa4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:14 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861715.651247,VS0,VE45"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["257"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/0_POST/response_content.json index a4aeca8e0..2d549b8bb 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/0_POST/response_content.json @@ -1,6 +1,6 @@ { - "last_modified": "2021-08-13T11:20:32.5983214Z", - "id": "3023151f-02a9-4a02-b903-b47eebb3e2f7", + "last_modified": "2021-08-13T13:35:14.6509269Z", + "id": "198351b3-27ea-43ae-8126-96937bf3d961", "name": "webhookTestName", "url": "http://url", "secret": "secret", diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/1_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/1_DELETE/request.json index 2ccf92bab..67c01af3f 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/1_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/1_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/3023151f-02a9-4a02-b903-b47eebb3e2f7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/198351b3-27ea-43ae-8126-96937bf3d961","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/1_DELETE/response.json index 70ae469c3..2d71b7fa2 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DeleteWebhook_ById_DeletesWebhook_83/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4f1b25f6fdff3d45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19136-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853633.668478,VS0,VE58"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/3023151f-02a9-4a02-b903-b47eebb3e2f7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["1ee84958b9c4fe4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:14 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861715.718265,VS0,VE53"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/198351b3-27ea-43ae-8126-96937bf3d961","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/0_POST/response.json index cd8a22526..d8207e62a 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["534"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/5b2cde23-c7e5-46cd-ad81-811c5d11fd70"]},{"Key":"X-Request-ID","Value":["eecdc1fcc78ae945"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:42 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.758565,VS0,VE53"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["192"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["535"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/40d015b3-8aa6-44a2-a6fd-ea25e99456d6"]},{"Key":"X-Request-ID","Value":["302fc358103f0b47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.825174,VS0,VE52"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["192"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/0_POST/response_content.json index 1a0041587..7a7d5d345 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/0_POST/response_content.json @@ -1,6 +1,6 @@ { - "last_modified": "2021-08-13T11:20:42.755419Z", - "id": "5b2cde23-c7e5-46cd-ad81-811c5d11fd70", + "last_modified": "2021-08-13T13:35:25.8229245Z", + "id": "40d015b3-8aa6-44a2-a6fd-ea25e99456d6", "name": "enabledWebhook", "url": "http://url", "secret": "secret", diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/1_PUT/request.json index c2bcef8ad..21555ea92 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/5b2cde23-c7e5-46cd-ad81-811c5d11fd70/disable","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/40d015b3-8aa6-44a2-a6fd-ea25e99456d6/disable","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/1_PUT/response.json index 154ecad87..4ec1f6f6c 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["8c291efe0b26b44e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:42 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.858176,VS0,VE35"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/5b2cde23-c7e5-46cd-ad81-811c5d11fd70/disable","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["10abefa2cdf90e47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.900541,VS0,VE35"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/40d015b3-8aa6-44a2-a6fd-ea25e99456d6/disable","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/request.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/request.json index 37e5c080a..42beb3c22 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/5b2cde23-c7e5-46cd-ad81-811c5d11fd70","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/40d015b3-8aa6-44a2-a6fd-ea25e99456d6","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/response.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/response.json index fbb26bc67..660b3eecb 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["535"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["35d92edc19de494d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:42 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.915215,VS0,VE46"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/5b2cde23-c7e5-46cd-ad81-811c5d11fd70","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["536"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d64c0a8b54fe0344"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.949195,VS0,VE34"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/40d015b3-8aa6-44a2-a6fd-ea25e99456d6","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/response_content.json index 0df92a96c..9c87c721a 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/2_GET/response_content.json @@ -1,6 +1,6 @@ { - "last_modified": "2021-08-13T11:20:42.755419Z", - "id": "5b2cde23-c7e5-46cd-ad81-811c5d11fd70", + "last_modified": "2021-08-13T13:35:25.8229245Z", + "id": "40d015b3-8aa6-44a2-a6fd-ea25e99456d6", "name": "enabledWebhook", "url": "http://url", "secret": "secret", diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/3_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/3_DELETE/request.json index 31302580f..4f4451111 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/3_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/3_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/5b2cde23-c7e5-46cd-ad81-811c5d11fd70","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/40d015b3-8aa6-44a2-a6fd-ea25e99456d6","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/3_DELETE/response.json index 5af02546d..ccce9ec09 100644 --- a/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/DisableWebhook_ById_DisablesWebhook_165/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7de481f4a72f0b44"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:43 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.991136,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/5b2cde23-c7e5-46cd-ad81-811c5d11fd70","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e84ffd34f6adb54d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.248443,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/40d015b3-8aa6-44a2-a6fd-ea25e99456d6","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/0_POST/response.json index 864b1014c..d3e3a7bcb 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["544"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/f8a38ad9-894c-4f03-80b1-e47fa0172528"]},{"Key":"X-Request-ID","Value":["61cdba34707a9f49"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853624.040240,VS0,VE46"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["189"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["544"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/b0f9978b-7a52-4f20-bda0-905c394d59e7"]},{"Key":"X-Request-ID","Value":["cce25157fe253d4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.134681,VS0,VE55"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["189"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/0_POST/response_content.json index e9f84a10a..14f05b04f 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/0_POST/response_content.json @@ -1,6 +1,6 @@ { - "last_modified": "2021-08-13T11:20:24.0357085Z", - "id": "f8a38ad9-894c-4f03-80b1-e47fa0172528", + "last_modified": "2021-08-13T13:35:06.1352093Z", + "id": "b0f9978b-7a52-4f20-bda0-905c394d59e7", "name": "disabledWebhook", "url": "http://url", "secret": "secret", diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/1_PUT/request.json index 2c3ee8d89..edba2a4c7 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/f8a38ad9-894c-4f03-80b1-e47fa0172528/enable","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/b0f9978b-7a52-4f20-bda0-905c394d59e7/enable","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/1_PUT/response.json index 46fd21d00..695bed4d8 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["a2223440645ce046"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853624.108414,VS0,VE36"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/f8a38ad9-894c-4f03-80b1-e47fa0172528/enable","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["1491d6cf79bcb947"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.211508,VS0,VE39"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/b0f9978b-7a52-4f20-bda0-905c394d59e7/enable","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/request.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/request.json index ff87e0e14..89234e2d2 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/request.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/f8a38ad9-894c-4f03-80b1-e47fa0172528","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/b0f9978b-7a52-4f20-bda0-905c394d59e7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/response.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/response.json index 8fb4abebb..f523d2f74 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["543"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["277b2292862e554b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853624.159169,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/f8a38ad9-894c-4f03-80b1-e47fa0172528","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["543"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c786399f356f0846"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.266909,VS0,VE31"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/b0f9978b-7a52-4f20-bda0-905c394d59e7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/response_content.json index e9d356f59..7c416fa5e 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/2_GET/response_content.json @@ -1,6 +1,6 @@ { - "last_modified": "2021-08-13T11:20:24.0357085Z", - "id": "f8a38ad9-894c-4f03-80b1-e47fa0172528", + "last_modified": "2021-08-13T13:35:06.1352093Z", + "id": "b0f9978b-7a52-4f20-bda0-905c394d59e7", "name": "disabledWebhook", "url": "http://url", "secret": "secret", diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/3_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/3_DELETE/request.json index cdf6e24c6..1fbcc45e1 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/3_DELETE/request.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/3_DELETE/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/f8a38ad9-894c-4f03-80b1-e47fa0172528","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/b0f9978b-7a52-4f20-bda0-905c394d59e7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/3_DELETE/response.json index dbed852ab..1e81462a0 100644 --- a/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/EnableWebhook_ById_EnablesWebhook_126/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["410a6acb663a794a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853624.210368,VS0,VE47"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/f8a38ad9-894c-4f03-80b1-e47fa0172528","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["0cc428a906bfb843"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.313805,VS0,VE38"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/b0f9978b-7a52-4f20-bda0-905c394d59e7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetAsset_WhenGivenAssetId_ReturnsGivenAsset_358/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetAsset_WhenGivenAssetId_ReturnsGivenAsset_358/0_GET/response.json index 0f2dcaa7a..5d8b042ea 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetAsset_WhenGivenAssetId_ReturnsGivenAsset_358/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetAsset_WhenGivenAssetId_ReturnsGivenAsset_358/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["844"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["21bc000feb546244"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19175-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853632.467254,VS0,VE79"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/01647205-c8c4-4b41-b524-1a98a7b12750","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["844"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["a22d3b61cb7aa44e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:14 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19155-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861715.576856,VS0,VE20"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/01647205-c8c4-4b41-b524-1a98a7b12750","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetAsset_WhenGivenAssetId_ReturnsGivenAsset_358/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetAsset_WhenGivenAssetId_ReturnsGivenAsset_358/0_GET/response_content.json index 2875b2e1f..6add87559 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetAsset_WhenGivenAssetId_ReturnsGivenAsset_358/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetAsset_WhenGivenAssetId_ReturnsGivenAsset_358/0_GET/response_content.json @@ -25,5 +25,5 @@ "description": "Bolso de cafe en grano" } ], - "last_modified": "2021-08-13T11:20:29.7389269Z" + "last_modified": "2021-08-13T13:35:11.9165157Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant_365/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant_365/0_GET/response.json index af3de7107..c4c6f4b3b 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant_365/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant_365/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["617c245780912443"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:41 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19132-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.117674,VS0,VE30"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7986949df920984a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19149-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861724.464684,VS0,VE36"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant_365/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant_365/0_GET/response_content.json index ca76b72a6..08948ec3d 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant_365/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant_365/0_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:30.4264281Z" + "last_modified": "2021-08-13T13:35:12.5571963Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageId_GetsVariant_348/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageId_GetsVariant_348/0_GET/response.json index 8324e5056..ddbd8d82c 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageId_GetsVariant_348/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageId_GetsVariant_348/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3afb40f51225ee4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19164-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.773500,VS0,VE66"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c7cad8f5bdbb634c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861722.165570,VS0,VE48"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageId_GetsVariant_348/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageId_GetsVariant_348/0_GET/response_content.json index ca76b72a6..08948ec3d 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageId_GetsVariant_348/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByCodename_LanguageId_GetsVariant_348/0_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:30.4264281Z" + "last_modified": "2021-08-13T13:35:12.5571963Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/0_PUT/response.json index c0cd83efc..7b150c948 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/d89c47f9-d76a-591c-9874-35cfd1baf4b3"]},{"Key":"X-Request-ID","Value":["42fb9165bcb21642"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:50 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853650.176408,VS0,VE128"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f9cfaa3e00f64e22a144fdacf4cba3e5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/d89c47f9-d76a-591c-9874-35cfd1baf4b3"]},{"Key":"X-Request-ID","Value":["9445c4b83dae5943"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861733.111657,VS0,VE116"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f9cfaa3e00f64e22a144fdacf4cba3e5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/0_PUT/response_content.json index 1ac2798fe..6f230fbe7 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "d89c47f9-d76a-591c-9874-35cfd1baf4b3", "name": "Hooray!", - "codename": "hooray__d89c47f", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "f9cfaa3e00f64e22a144fdacf4cba3e5", - "last_modified": "2021-08-13T11:20:50.2399041Z" + "last_modified": "2021-08-13T13:35:33.1667761Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/request.json index e77f1cdd1..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__d89c47f/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/response.json index 0e355a77b..4ff48b7aa 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/d89c47f9-d76a-591c-9874-35cfd1baf4b3/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["7f26da2c99e4384c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:50 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853650.320301,VS0,VE185"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__d89c47f/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/d89c47f9-d76a-591c-9874-35cfd1baf4b3/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["0250c781ea7be949"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861733.248684,VS0,VE194"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/response_content.json index 1e4572d83..a90c31eb2 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:50.3492118Z" + "last_modified": "2021-08-13T13:35:33.2761432Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/2_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/2_GET/response.json index 863145b2a..33a867cb0 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/2_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/2_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9f15837a13211849"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:50 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.534027,VS0,VE27"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f9cfaa3e00f64e22a144fdacf4cba3e5/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["052a33e76c1bc74d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861733.466669,VS0,VE24"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f9cfaa3e00f64e22a144fdacf4cba3e5/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/2_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/2_GET/response_content.json index 1e4572d83..a90c31eb2 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/2_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/2_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:50.3492118Z" + "last_modified": "2021-08-13T13:35:33.2761432Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/3_DELETE/response.json index 73ada0d4a..b73319aeb 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant_382/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["59cd3ad4b5840743"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:50 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.577989,VS0,VE187"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f9cfaa3e00f64e22a144fdacf4cba3e5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2bc2ee9173a93149"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861734.512607,VS0,VE1576"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/f9cfaa3e00f64e22a144fdacf4cba3e5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/0_PUT/response.json index fe4acc0bb..448c0c741 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/ba97c3d2-d2a3-502e-bc12-0eb2e986d222"]},{"Key":"X-Request-ID","Value":["65cd3e721b25d64b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:45 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853645.112787,VS0,VE130"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/ad66f70ed9bb4b8694116c9119c4a930","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/ba97c3d2-d2a3-502e-bc12-0eb2e986d222"]},{"Key":"X-Request-ID","Value":["9c03404b94d67c49"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861729.116648,VS0,VE90"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/ad66f70ed9bb4b8694116c9119c4a930","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/0_PUT/response_content.json index 93f373dfc..59c2798a6 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "ba97c3d2-d2a3-502e-bc12-0eb2e986d222", "name": "Hooray!", - "codename": "hooray__ba97c3d", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "ad66f70ed9bb4b8694116c9119c4a930", - "last_modified": "2021-08-13T11:20:45.1616923Z" + "last_modified": "2021-08-13T13:35:29.1354982Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/request.json index f700a8f4c..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__ba97c3d/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/response.json index 9ed71f309..6f55e9298 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/ba97c3d2-d2a3-502e-bc12-0eb2e986d222/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["86de864a3dc49c4a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:45 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853645.270424,VS0,VE197"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__ba97c3d/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/ba97c3d2-d2a3-502e-bc12-0eb2e986d222/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["925746971d79274e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861729.230670,VS0,VE187"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/response_content.json index 5f2545ae5..df6fa193a 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:45.3023692Z" + "last_modified": "2021-08-13T13:35:29.2448476Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/2_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/2_GET/response.json index fdfdeef49..710162cb6 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/2_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/2_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d870fd2d71492944"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:45 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853645.494547,VS0,VE24"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/ad66f70ed9bb4b8694116c9119c4a930/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ba09035308fc7c40"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861729.438939,VS0,VE25"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/ad66f70ed9bb4b8694116c9119c4a930/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/2_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/2_GET/response_content.json index 5f2545ae5..df6fa193a 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/2_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/2_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:45.3023692Z" + "last_modified": "2021-08-13T13:35:29.2448476Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/3_DELETE/response.json index 13d74a871..07e78eb63 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ByExternalId_ReturnsVariant_409/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cca69b712c3d7448"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:45 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853646.534444,VS0,VE167"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/ad66f70ed9bb4b8694116c9119c4a930","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c150344be20ddd48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861729.491788,VS0,VE219"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/ad66f70ed9bb4b8694116c9119c4a930","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageCodename_GetsVariant_331/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageCodename_GetsVariant_331/0_GET/response.json index e98f4cc1a..5c0a97468 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageCodename_GetsVariant_331/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageCodename_GetsVariant_331/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["1ff1905fc2e71a4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19140-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.510478,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c9c404ca39e6c84d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861707.613795,VS0,VE20"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageCodename_GetsVariant_331/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageCodename_GetsVariant_331/0_GET/response_content.json index 057d57a87..81a8b46da 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageCodename_GetsVariant_331/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageCodename_GetsVariant_331/0_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:19:58.9104241Z" + "last_modified": "2021-08-13T13:34:27.9725215Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageId_GetsVariant_314/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageId_GetsVariant_314/0_GET/response.json index b7356fb34..67451d15b 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageId_GetsVariant_314/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageId_GetsVariant_314/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c0c27d908f40434e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:56 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19178-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853656.284308,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b429de9b4c521a4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19140-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861740.443676,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageId_GetsVariant_314/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageId_GetsVariant_314/0_GET/response_content.json index af3c47557..5046fb8f5 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageId_GetsVariant_314/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItemVariant_ById_LanguageId_GetsVariant_314/0_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:45.7866725Z" + "last_modified": "2021-08-13T13:35:29.7917757Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByCodename_GetsContentItem_243/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByCodename_GetsContentItem_243/0_GET/response.json index f6c24c134..63b9fea88 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByCodename_GetsContentItem_243/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByCodename_GetsContentItem_243/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["325"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f6238a40c120b14f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19128-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.714961,VS0,VE25"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["325"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4e2f8dc1ce1a4949"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19120-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861724.983701,VS0,VE136"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/0_PUT/response.json index c15a73eb7..d9463f995 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/6a3e77d9-b0c8-535a-b534-0b67758f1294"]},{"Key":"X-Request-ID","Value":["16f87bc9789fcd45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:49 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19173-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853650.793755,VS0,VE102"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/e5a8de5b584f4182b879c78b696dff09","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/6a3e77d9-b0c8-535a-b534-0b67758f1294"]},{"Key":"X-Request-ID","Value":["a48d8ccb1d329e4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19153-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861733.747582,VS0,VE72"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/e5a8de5b584f4182b879c78b696dff09","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/0_PUT/response_content.json index a26cb349f..40d226686 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "6a3e77d9-b0c8-535a-b534-0b67758f1294", "name": "Hooray!", - "codename": "hooray__6a3e77d", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "e5a8de5b584f4182b879c78b696dff09", - "last_modified": "2021-08-13T11:20:49.8336092Z" + "last_modified": "2021-08-13T13:35:32.7605356Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/1_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/1_GET/response.json index 1fea0e821..d9b325bd3 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/1_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/1_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["070db0a8864f6a4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:49 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19173-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853650.921613,VS0,VE20"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/e5a8de5b584f4182b879c78b696dff09","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["42853442408d0d43"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19153-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861733.844897,VS0,VE46"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/e5a8de5b584f4182b879c78b696dff09","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/1_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/1_GET/response_content.json index a26cb349f..40d226686 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/1_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/1_GET/response_content.json @@ -1,7 +1,7 @@ { "id": "6a3e77d9-b0c8-535a-b534-0b67758f1294", "name": "Hooray!", - "codename": "hooray__6a3e77d", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "e5a8de5b584f4182b879c78b696dff09", - "last_modified": "2021-08-13T11:20:49.8336092Z" + "last_modified": "2021-08-13T13:35:32.7605356Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/2_DELETE/response.json index 03dedea4f..a4027b5f6 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ByExternalId_GetsContentItem_255/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["1f50b1e02f84dc45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:50 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19173-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853650.956357,VS0,VE74"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/e5a8de5b584f4182b879c78b696dff09","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ec0768210eb62740"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19153-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861733.906847,VS0,VE78"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/e5a8de5b584f4182b879c78b696dff09","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ById_GetsContentItem_231/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ById_GetsContentItem_231/0_GET/response.json index 201ce1ddd..ac799dd85 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentItem_ById_GetsContentItem_231/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentItem_ById_GetsContentItem_231/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["325"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["efb98f35d552874d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:44 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19136-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853644.166966,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["325"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["8a249ab0f7c3f347"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19123-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861727.349314,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentType_ByCodename_GetsContentType_73/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentType_ByCodename_GetsContentType_73/0_GET/response.json index 5c11e9cac..c1c75a966 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentType_ByCodename_GetsContentType_73/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentType_ByCodename_GetsContentType_73/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["7417"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["06fb55d3ac87cb45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:47 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19139-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853647.060709,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/article","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["7417"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4850e56d167ba141"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861731.281226,VS0,VE21"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/article","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentType_ByCodename_GetsContentType_73/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentType_ByCodename_GetsContentType_73/0_GET/response_content.json index 8d27617b9..2403f7677 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentType_ByCodename_GetsContentType_73/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentType_ByCodename_GetsContentType_73/0_GET/response_content.json @@ -7,7 +7,7 @@ "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

\n

Guidelines sample

\n

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

\n

Use the following keywords: grinders, dripper, coffee.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

Guidelines sample

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

Use the following keywords: grinders, dripper, coffee.

", "type": "guidelines", "external_id": "2a3a744e-0529-dd13-793c-9e668133d48b", "id": "f9f65756-5ed8-55ed-9d2a-43f9fe7974cd", @@ -16,7 +16,7 @@ { "maximum_text_length": null, "name": "Title", - "guidelines": "The title should fit within 60 characters.\nOur voice and tone recommendations:\n — avoid coffee jargon.", + "guidelines": "The title should fit within 60 characters.Our voice and tone recommendations: — avoid coffee jargon.", "is_required": false, "type": "text", "external_id": "85d5efc6-f47e-2fde-a6f5-0950fe89ecd1", @@ -89,7 +89,7 @@ { "maximum_text_length": null, "name": "Summary", - "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.\nThe summary should fit within 160 characters.", + "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.The summary should fit within 160 characters.", "is_required": false, "type": "text", "external_id": "90550cbe-7bff-40a9-2947-9c81489fe562", @@ -114,7 +114,7 @@ "paragraph" ], "name": "Body Copy", - "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.\nPreferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", + "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.Preferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", "is_required": false, "type": "rich_text", "external_id": "108ed7c0-fc8c-c0ec-d0b5-5a8071408b54", diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentType_ByExternalId_GetsContentType_87/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentType_ByExternalId_GetsContentType_87/0_GET/response.json index cb82a03db..39da5e122 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentType_ByExternalId_GetsContentType_87/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentType_ByExternalId_GetsContentType_87/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["7417"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["30d155411660d746"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19145-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853633.814433,VS0,VE21"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/external-id/b7aa4a53-d9b1-48cf-b7a6-ed0b182c4b89","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["7417"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c3d3c3d86600a742"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:14 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19124-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861715.872186,VS0,VE51"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/external-id/b7aa4a53-d9b1-48cf-b7a6-ed0b182c4b89","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentType_ByExternalId_GetsContentType_87/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentType_ByExternalId_GetsContentType_87/0_GET/response_content.json index 8d27617b9..2403f7677 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentType_ByExternalId_GetsContentType_87/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentType_ByExternalId_GetsContentType_87/0_GET/response_content.json @@ -7,7 +7,7 @@ "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

\n

Guidelines sample

\n

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

\n

Use the following keywords: grinders, dripper, coffee.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

Guidelines sample

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

Use the following keywords: grinders, dripper, coffee.

", "type": "guidelines", "external_id": "2a3a744e-0529-dd13-793c-9e668133d48b", "id": "f9f65756-5ed8-55ed-9d2a-43f9fe7974cd", @@ -16,7 +16,7 @@ { "maximum_text_length": null, "name": "Title", - "guidelines": "The title should fit within 60 characters.\nOur voice and tone recommendations:\n — avoid coffee jargon.", + "guidelines": "The title should fit within 60 characters.Our voice and tone recommendations: — avoid coffee jargon.", "is_required": false, "type": "text", "external_id": "85d5efc6-f47e-2fde-a6f5-0950fe89ecd1", @@ -89,7 +89,7 @@ { "maximum_text_length": null, "name": "Summary", - "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.\nThe summary should fit within 160 characters.", + "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.The summary should fit within 160 characters.", "is_required": false, "type": "text", "external_id": "90550cbe-7bff-40a9-2947-9c81489fe562", @@ -114,7 +114,7 @@ "paragraph" ], "name": "Body Copy", - "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.\nPreferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", + "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.Preferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", "is_required": false, "type": "rich_text", "external_id": "108ed7c0-fc8c-c0ec-d0b5-5a8071408b54", diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentType_ById_GetsContentType_61/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetContentType_ById_GetsContentType_61/0_GET/response.json index 273977fcc..9e6de4d30 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentType_ById_GetsContentType_61/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentType_ById_GetsContentType_61/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["7417"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["95457160a5dd314e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.498592,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["7417"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b019edc0bc53c54d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19131-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861736.809308,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetContentType_ById_GetsContentType_61/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetContentType_ById_GetsContentType_61/0_GET/response_content.json index 8d27617b9..2403f7677 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetContentType_ById_GetsContentType_61/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetContentType_ById_GetsContentType_61/0_GET/response_content.json @@ -7,7 +7,7 @@ "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

\n

Guidelines sample

\n

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

\n

Use the following keywords: grinders, dripper, coffee.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

Guidelines sample

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

Use the following keywords: grinders, dripper, coffee.

", "type": "guidelines", "external_id": "2a3a744e-0529-dd13-793c-9e668133d48b", "id": "f9f65756-5ed8-55ed-9d2a-43f9fe7974cd", @@ -16,7 +16,7 @@ { "maximum_text_length": null, "name": "Title", - "guidelines": "The title should fit within 60 characters.\nOur voice and tone recommendations:\n — avoid coffee jargon.", + "guidelines": "The title should fit within 60 characters.Our voice and tone recommendations: — avoid coffee jargon.", "is_required": false, "type": "text", "external_id": "85d5efc6-f47e-2fde-a6f5-0950fe89ecd1", @@ -89,7 +89,7 @@ { "maximum_text_length": null, "name": "Summary", - "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.\nThe summary should fit within 160 characters.", + "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.The summary should fit within 160 characters.", "is_required": false, "type": "text", "external_id": "90550cbe-7bff-40a9-2947-9c81489fe562", @@ -114,7 +114,7 @@ "paragraph" ], "name": "Body Copy", - "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.\nPreferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", + "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.Preferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", "is_required": false, "type": "rich_text", "external_id": "108ed7c0-fc8c-c0ec-d0b5-5a8071408b54", diff --git a/Kentico.Kontent.Management.Tests/Data/GetLanguage_ById_GetsLanguages_28/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetLanguage_ById_GetsLanguages_28/0_GET/response.json index 6a92218ac..1f3d60f9e 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetLanguage_ById_GetsLanguages_28/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetLanguage_ById_GetsLanguages_28/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["234"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["53526fe5b993b744"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.780422,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["234"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3f90280e37850d48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19128-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861724.160214,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetLanguages_ByCodename_GetsLanguages_40/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetLanguages_ByCodename_GetsLanguages_40/0_GET/response.json index 794be8e1d..c42fee615 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetLanguages_ByCodename_GetsLanguages_40/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetLanguages_ByCodename_GetsLanguages_40/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["234"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["29f804fc5e3cee43"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19125-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.992094,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["234"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["a99f84ad4108db4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19177-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861735.310902,VS0,VE16"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetLanguages_ByExternalId_GetsLanguages_53/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetLanguages_ByExternalId_GetsLanguages_53/0_GET/response.json index 03602e2a0..c3d358efa 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetLanguages_ByExternalId_GetsLanguages_53/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetLanguages_ByExternalId_GetsLanguages_53/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["273"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["44a4d94a2a6b0d44"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853629.562587,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/external-id/standard_german","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["273"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["36cd4fdf7b1e1e40"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:11 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19170-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861711.363231,VS0,VE16"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/external-id/standard_german","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant_551/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant_551/0_GET/response.json index 4054d9c96..ab3ece6f3 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant_551/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant_551/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["afef89f04e326246"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19126-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.422574,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ce32feac33ef6d40"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19169-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861736.712103,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant_551/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant_551/0_GET/response_content.json index af3c47557..5046fb8f5 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant_551/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant_551/0_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:45.7866725Z" + "last_modified": "2021-08-13T13:35:29.7917757Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/request.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/request.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/request_content.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/request_content.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/response.json similarity index 78% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/response.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/response.json index 4e8f38da4..1bc8b20a5 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1049"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e75148b4378a634f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.059485,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/manufacturer","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1049"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f4258a30a23dff42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19168-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.161171,VS0,VE21"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/manufacturer","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_42/0_GET/response_content.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup_43/0_GET/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/response.json deleted file mode 100644 index 4d800a947..000000000 --- a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1049"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["0cc1c681ad4c9d4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19167-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853630.318590,VS0,VE42"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/external-id/4ce421e9-c403-eee8-fdc2-74f09392a749","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/request.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/request.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/request_content.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/request_content.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/response.json new file mode 100644 index 000000000..0e5c67d79 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1049"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["6477b389cb6c2743"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:12 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19128-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861712.331937,VS0,VE175"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/external-id/4ce421e9-c403-eee8-fdc2-74f09392a749","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_55/0_GET/response_content.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup_56/0_GET/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/request.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/request.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/request_content.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/request_content.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/response.json similarity index 78% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/response.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/response.json index b80ccefe6..5c7da12b2 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1049"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d4751cc792f6a14d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853638.971524,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/f6851a6e-a342-5253-8bc6-e8abc8f56b15","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1049"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["6c7175891ae6b943"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:21 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861721.272383,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/f6851a6e-a342-5253-8bc6-e8abc8f56b15","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_30/0_GET/response_content.json rename to Kentico.Kontent.Management.Tests/Data/GetTaxonomyGroup_ById_GetsTaxonomyGroup_31/0_GET/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/GetWebhook_ById_GetsWebhook_28/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/GetWebhook_ById_GetsWebhook_28/0_GET/response.json index 5ac3bd228..efbeb7a4b 100644 --- a/Kentico.Kontent.Management.Tests/Data/GetWebhook_ById_GetsWebhook_28/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/GetWebhook_ById_GetsWebhook_28/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1629"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["153bb17a7bc5b442"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19128-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853622.250366,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/ef6eb5e6-24f6-4a3a-a291-1cff8d4eecc5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1629"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2b11288806a5d54a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:04 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861705.732987,VS0,VE61"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks/ef6eb5e6-24f6-4a3a-a291-1cff8d4eecc5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListAssets_ListsAssets_21/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListAssets_ListsAssets_21/0_GET/response.json index e8b1c6682..e314ac6f6 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListAssets_ListsAssets_21/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListAssets_ListsAssets_21/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["38648"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["bc9b371efa50fd4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853638.866871,VS0,VE47"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["38648"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7126f3b771593549"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:21 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861721.196348,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListAssets_ListsAssets_21/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListAssets_ListsAssets_21/0_GET/response_content.json index 5a85efc34..6b35dbf5f 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListAssets_ListsAssets_21/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListAssets_ListsAssets_21/0_GET/response_content.json @@ -27,7 +27,7 @@ "description": "Bolso de cafe en grano" } ], - "last_modified": "2021-08-13T11:20:29.7389269Z" + "last_modified": "2021-08-13T13:35:11.9165157Z" }, { "id": "01d693f5-2e53-48ae-ac95-88e46e9fd8c5", diff --git a/Kentico.Kontent.Management.Tests/Data/ListAssets_WithContinuation_ListsAllAssets_123/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListAssets_WithContinuation_ListsAllAssets_123/0_GET/response.json index 83f570d4b..d83b63e4f 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListAssets_WithContinuation_ListsAllAssets_123/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListAssets_WithContinuation_ListsAllAssets_123/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["38648"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e26079bc78868540"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19153-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.134969,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["38648"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e22e976c8a9cd342"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.228616,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListAssets_WithContinuation_ListsAllAssets_123/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListAssets_WithContinuation_ListsAllAssets_123/0_GET/response_content.json index 5a85efc34..6b35dbf5f 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListAssets_WithContinuation_ListsAllAssets_123/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListAssets_WithContinuation_ListsAllAssets_123/0_GET/response_content.json @@ -27,7 +27,7 @@ "description": "Bolso de cafe en grano" } ], - "last_modified": "2021-08-13T11:20:29.7389269Z" + "last_modified": "2021-08-13T13:35:11.9165157Z" }, { "id": "01d693f5-2e53-48ae-ac95-88e46e9fd8c5", diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByCodename_ListsVariants_279/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByCodename_ListsVariants_279/0_GET/response.json index 93bd648f1..e58ace216 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByCodename_ListsVariants_279/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByCodename_ListsVariants_279/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["14026"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d274b845ebdeec46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19153-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853622.356292,VS0,VE74"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["14026"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2753aaee10f4324d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:04 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861705.888092,VS0,VE51"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByCodename_ListsVariants_279/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByCodename_ListsVariants_279/0_GET/response_content.json index be2f54e56..414692364 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByCodename_ListsVariants_279/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByCodename_ListsVariants_279/0_GET/response_content.json @@ -95,7 +95,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

There’s nothing complicated about roasting. It’s as easy as baking a pie, maybe even simpler as there’s just one ingredient. What’s complicated is fine-tuning the whole process to perfection. It’s also a huge responsibility. You can easily ruin something that’s been in the works for months and has been perfect up until now.

\n

Light Roasts

\n

Usually roasted for 6-8 minutes or simply until achieving a light brown color. This method is used for milder coffee varieties and for coffee tasting. This type of roasting allows the natural characteristics of each coffee to show. The aroma of coffees produced from light roasts is usually more intense. The cup itself is more acidic and the concentration of caffeine is higher.

\n\n

Medium roast

\n

These exempt a stronger flavor than light roasts. The beans are still more matte than oily. Caffeine contents are decreased. Medium roasts lack the grainy taste of lighter roasts. You also get a more balanced flavor, aroma and acidity.

\n

Dark Roasts

\n

Dark roast beans are achieved by a 12-13 minute roasting process. The beans have a heavier body, a surface that appears a little oily and a somewhat shiny. Darker roasts have a more chocolate-like flavor. The sugars in the coffee caramelize more than with light roasts and make their way to the surface of the bean. This makes the beans less acidic as well.

\n

To put it in points, these are general rules that apply to different levels of roasts:

\n\n

You can easily imprint your own signature into each coffee that you make during the roasting process. At Dancing Goat, though, we choose to instead highlight what makes of the varietal great and unique.

" + "value": "

There’s nothing complicated about roasting. It’s as easy as baking a pie, maybe even simpler as there’s just one ingredient. What’s complicated is fine-tuning the whole process to perfection. It’s also a huge responsibility. You can easily ruin something that’s been in the works for months and has been perfect up until now.

Light Roasts

Usually roasted for 6-8 minutes or simply until achieving a light brown color. This method is used for milder coffee varieties and for coffee tasting. This type of roasting allows the natural characteristics of each coffee to show. The aroma of coffees produced from light roasts is usually more intense. The cup itself is more acidic and the concentration of caffeine is higher.

Medium roast

These exempt a stronger flavor than light roasts. The beans are still more matte than oily. Caffeine contents are decreased. Medium roasts lack the grainy taste of lighter roasts. You also get a more balanced flavor, aroma and acidity.

Dark Roasts

Dark roast beans are achieved by a 12-13 minute roasting process. The beans have a heavier body, a surface that appears a little oily and a somewhat shiny. Darker roasts have a more chocolate-like flavor. The sugars in the coffee caramelize more than with light roasts and make their way to the surface of the bean. This makes the beans less acidic as well.

To put it in points, these are general rules that apply to different levels of roasts:

You can easily imprint your own signature into each coffee that you make during the roasting process. At Dancing Goat, though, we choose to instead highlight what makes of the varietal great and unique.

" }, { "element": { @@ -318,7 +318,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -429,6 +429,6 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:19:58.9104241Z" + "last_modified": "2021-08-13T13:34:27.9725215Z" } ] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/0_PUT/response.json index 2ff313007..1387e7401 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e5f4029b-adab-54b4-a9cf-84aa597db4f6"]},{"Key":"X-Request-ID","Value":["cebb43c03afca24c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19127-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853631.278045,VS0,VE138"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/0220e6ec5b77401ea113b5273c8cdd5e","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2f878c32cc47694f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:13 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19120-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861714.583511,VS0,VE45"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/0220e6ec5b77401ea113b5273c8cdd5e","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/0_PUT/response_content.json index 03fdbd8e3..3fb83c19d 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "e5f4029b-adab-54b4-a9cf-84aa597db4f6", "name": "Hooray!", - "codename": "hooray__e5f4029", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "0220e6ec5b77401ea113b5273c8cdd5e", - "last_modified": "2021-08-13T11:20:31.3014128Z" + "last_modified": "2021-08-13T13:34:28.9569052Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/request.json index 6abb2ff0f..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__e5f4029/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/response.json index 52a79c9fc..d78319dd2 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e5f4029b-adab-54b4-a9cf-84aa597db4f6/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["b56e199e07fbd847"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19127-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853631.440332,VS0,VE212"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__e5f4029/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2a27a9bcb5065344"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:13 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19120-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861714.647722,VS0,VE141"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/response_content.json index 683bf40d8..03f071bfa 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:31.4576888Z" + "last_modified": "2021-08-13T13:35:13.6665309Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/2_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/2_GET/response.json index e20ea81a1..5345664d1 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/2_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/2_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5529"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2bd2319c28c5d340"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19127-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853632.673673,VS0,VE49"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/0220e6ec5b77401ea113b5273c8cdd5e/variants","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5529"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7d3c944a7801534e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:13 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19120-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861714.809941,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/0220e6ec5b77401ea113b5273c8cdd5e/variants","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/2_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/2_GET/response_content.json index e65833c73..58ffa45ad 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/2_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/2_GET/response_content.json @@ -95,7 +95,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -206,6 +206,6 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:31.4576888Z" + "last_modified": "2021-08-13T13:35:13.6665309Z" } ] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/3_DELETE/response.json index 3b0ff40f6..7842a8696 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ByExternalId_ListsVariants_292/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["70a11ddd77a43e44"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19127-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853632.739566,VS0,VE148"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/0220e6ec5b77401ea113b5273c8cdd5e","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["138fe66812975849"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:14 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19120-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861714.847808,VS0,VE161"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/0220e6ec5b77401ea113b5273c8cdd5e","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ById_ListsVariants_266/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ById_ListsVariants_266/0_GET/response.json index fde64358c..d9f8ad878 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ById_ListsVariants_266/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ById_ListsVariants_266/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["14026"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["71eec11db124274b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:43 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19176-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.098413,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["14026"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9aca1f28d4926f4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19124-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.320257,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ById_ListsVariants_266/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ById_ListsVariants_266/0_GET/response_content.json index aa891fcfd..5d8fb3b3a 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ById_ListsVariants_266/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItemVariants_ById_ListsVariants_266/0_GET/response_content.json @@ -95,7 +95,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

There’s nothing complicated about roasting. It’s as easy as baking a pie, maybe even simpler as there’s just one ingredient. What’s complicated is fine-tuning the whole process to perfection. It’s also a huge responsibility. You can easily ruin something that’s been in the works for months and has been perfect up until now.

\n

Light Roasts

\n

Usually roasted for 6-8 minutes or simply until achieving a light brown color. This method is used for milder coffee varieties and for coffee tasting. This type of roasting allows the natural characteristics of each coffee to show. The aroma of coffees produced from light roasts is usually more intense. The cup itself is more acidic and the concentration of caffeine is higher.

\n\n

Medium roast

\n

These exempt a stronger flavor than light roasts. The beans are still more matte than oily. Caffeine contents are decreased. Medium roasts lack the grainy taste of lighter roasts. You also get a more balanced flavor, aroma and acidity.

\n

Dark Roasts

\n

Dark roast beans are achieved by a 12-13 minute roasting process. The beans have a heavier body, a surface that appears a little oily and a somewhat shiny. Darker roasts have a more chocolate-like flavor. The sugars in the coffee caramelize more than with light roasts and make their way to the surface of the bean. This makes the beans less acidic as well.

\n

To put it in points, these are general rules that apply to different levels of roasts:

\n\n

You can easily imprint your own signature into each coffee that you make during the roasting process. At Dancing Goat, though, we choose to instead highlight what makes of the varietal great and unique.

" + "value": "

There’s nothing complicated about roasting. It’s as easy as baking a pie, maybe even simpler as there’s just one ingredient. What’s complicated is fine-tuning the whole process to perfection. It’s also a huge responsibility. You can easily ruin something that’s been in the works for months and has been perfect up until now.

Light Roasts

Usually roasted for 6-8 minutes or simply until achieving a light brown color. This method is used for milder coffee varieties and for coffee tasting. This type of roasting allows the natural characteristics of each coffee to show. The aroma of coffees produced from light roasts is usually more intense. The cup itself is more acidic and the concentration of caffeine is higher.

Medium roast

These exempt a stronger flavor than light roasts. The beans are still more matte than oily. Caffeine contents are decreased. Medium roasts lack the grainy taste of lighter roasts. You also get a more balanced flavor, aroma and acidity.

Dark Roasts

Dark roast beans are achieved by a 12-13 minute roasting process. The beans have a heavier body, a surface that appears a little oily and a somewhat shiny. Darker roasts have a more chocolate-like flavor. The sugars in the coffee caramelize more than with light roasts and make their way to the surface of the bean. This makes the beans less acidic as well.

To put it in points, these are general rules that apply to different levels of roasts:

You can easily imprint your own signature into each coffee that you make during the roasting process. At Dancing Goat, though, we choose to instead highlight what makes of the varietal great and unique.

" }, { "element": { @@ -318,7 +318,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -429,6 +429,6 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:30.4264281Z" + "last_modified": "2021-08-13T13:35:12.5571963Z" } ] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItems_ListsContentItems_44/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentItems_ListsContentItems_44/0_GET/response.json index 24ae6c918..5e5eaa9ec 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItems_ListsContentItems_44/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItems_ListsContentItems_44/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["39846"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cb76a329adc1d343"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":["Ww0KICB7DQogICAgInRva2VuIjogIitSSUQ6fnpDazNBTUtyemdZS1RoMEFBQUFBQlE9PSNSVDoxI1RSQzoxMDAjSVNWOjIjSUVPOjY1NTUxI1FDRjo3I0ZQQzpBZ2gxQUFBQUFCUUFBSGdBQUFBQUZBQUFkUUFBQUFBVUFBQVdBQWtPQUdURDQrRUIyM3NQSHZCME5RRGdBVUFBS0lCNEFBQUFBQlFBQUJZQTE1MTdoQ01Bd0E4UEFEd0FNd0E4UEFhUDV6MVNnUT09IiwNCiAgICAicmFuZ2UiOiB7DQogICAgICAibWluIjogIjA1QzFEN0YxMkY2OTlDIiwNCiAgICAgICJtYXgiOiAiMDVDMUUxNTlDOUJCMUEiDQogICAgfQ0KICB9DQpd"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19162-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853633.241042,VS0,VE81"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["39869"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["895b6ef1a6a75f4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":["Ww0KICB7DQogICAgInRva2VuIjogIitSSUQ6fnpDazNBTUtyemdZS1RoMEFBQUFBQlE9PSNSVDoxI1RSQzoxMDAjSVNWOjIjSUVPOjY1NTUxI1FDRjo3I0ZQQzpBZ2gxQUFBQUFCUUFBSGdBQUFBQUZBQUFkUUFBQUFBVUFBQVdBQWtPQUdURDQrRUIyM3NQSHZCME5RRGdBVUFBS0lCNEFBQUFBQlFBQUJvQVc2SWpBTUFQRHdBOEFETUFQRHdHaitjOVVvRnppU0VBQlFBPSIsDQogICAgInJhbmdlIjogew0KICAgICAgIm1pbiI6ICIwNUMxRDdGMTJGNjk5QyIsDQogICAgICAibWF4IjogIjA1QzFFMTU5QzlCQjFBIg0KICAgIH0NCiAgfQ0KXQ=="]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:16 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861716.246907,VS0,VE119"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentItems_ListsContentItems_44/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListContentItems_ListsContentItems_44/0_GET/response_content.json index 15094ebbf..a11cb6f09 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentItems_ListsContentItems_44/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentItems_ListsContentItems_44/0_GET/response_content.json @@ -2,7 +2,7 @@ "items": [ { "id": "0f79b41f-53d3-41b5-8fa0-153c87f60bc1", - "name": "Ciao!", + "name": "regenerated_codename", "codename": "ciao_codename", "type": { "id": "9a622a46-e299-5d1c-b9e0-45ddf3f95803" @@ -11,7 +11,7 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:08.6292637Z" + "last_modified": "2021-08-13T13:34:12.2022174Z" }, { "id": "60214236-d2b8-40dd-a050-b59c1c7a52ef", @@ -1303,7 +1303,7 @@ } ], "pagination": { - "continuation_token": "Ww0KICB7DQogICAgInRva2VuIjogIitSSUQ6fnpDazNBTUtyemdZS1RoMEFBQUFBQlE9PSNSVDoxI1RSQzoxMDAjSVNWOjIjSUVPOjY1NTUxI1FDRjo3I0ZQQzpBZ2gxQUFBQUFCUUFBSGdBQUFBQUZBQUFkUUFBQUFBVUFBQVdBQWtPQUdURDQrRUIyM3NQSHZCME5RRGdBVUFBS0lCNEFBQUFBQlFBQUJZQTE1MTdoQ01Bd0E4UEFEd0FNd0E4UEFhUDV6MVNnUT09IiwNCiAgICAicmFuZ2UiOiB7DQogICAgICAibWluIjogIjA1QzFEN0YxMkY2OTlDIiwNCiAgICAgICJtYXgiOiAiMDVDMUUxNTlDOUJCMUEiDQogICAgfQ0KICB9DQpd", + "continuation_token": "Ww0KICB7DQogICAgInRva2VuIjogIitSSUQ6fnpDazNBTUtyemdZS1RoMEFBQUFBQlE9PSNSVDoxI1RSQzoxMDAjSVNWOjIjSUVPOjY1NTUxI1FDRjo3I0ZQQzpBZ2gxQUFBQUFCUUFBSGdBQUFBQUZBQUFkUUFBQUFBVUFBQVdBQWtPQUdURDQrRUIyM3NQSHZCME5RRGdBVUFBS0lCNEFBQUFBQlFBQUJvQVc2SWpBTUFQRHdBOEFETUFQRHdHaitjOVVvRnppU0VBQlFBPSIsDQogICAgInJhbmdlIjogew0KICAgICAgIm1pbiI6ICIwNUMxRDdGMTJGNjk5QyIsDQogICAgICAibWF4IjogIjA1QzFFMTU5QzlCQjFBIg0KICAgIH0NCiAgfQ0KXQ==", "next_page": "https://manage.kontent.ai/v2/projects/a9931a80-9af4-010b-0590-ecb1273cf1b8/items" } } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentTypes_ListsContentTypes_21/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentTypes_ListsContentTypes_21/0_GET/response.json index 3c6be9090..d348c55b5 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentTypes_ListsContentTypes_21/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentTypes_ListsContentTypes_21/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["58226"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["08fd9f6b7c024f4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:55 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19177-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853655.307889,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["58226"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d6aea488bb61ff49"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19172-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861739.414066,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentTypes_ListsContentTypes_21/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListContentTypes_ListsContentTypes_21/0_GET/response_content.json index 5d0bdf32d..6e25fb8ca 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentTypes_ListsContentTypes_21/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentTypes_ListsContentTypes_21/0_GET/response_content.json @@ -1,63 +1,102 @@ { "types": [ { - "id": "069aa172-cee9-51b4-910b-9978c2d991b1", - "codename": "home", - "last_modified": "2021-06-02T11:08:27.4745834Z", - "external_id": "a29399c3-5281-47ab-9916-acd4a6f887b7", - "name": "Home", + "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7", + "codename": "article", + "last_modified": "2021-07-26T14:58:19.1748311Z", + "external_id": "b7aa4a53-d9b1-48cf-b7a6-ed0b182c4b89", + "name": "Article", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations, or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

\n

Home page is modular

\n

The home page is built of multiple content items based on smaller content types to embrace a modular approach. This lets you compose pages of independent modules.

\n

For example, a Hero unit,  Articles, or Fact about us are smaller content chunks that you can create independently and then assign to a homepage to have it all together.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

Guidelines sample

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

Use the following keywords: grinders, dripper, coffee.

", "type": "guidelines", - "external_id": "9367da14-3d08-4ed1-4841-24bf8055f916", - "id": "4cb65a0b-3747-51db-a6f3-c0bb90b70b1a", - "codename": "n9367da14_3d08_4ed1_4841_24bf8055f916" + "external_id": "2a3a744e-0529-dd13-793c-9e668133d48b", + "id": "f9f65756-5ed8-55ed-9d2a-43f9fe7974cd", + "codename": "n2a3a744e_0529_dd13_793c_9e668133d48b" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Hero unit", - "guidelines": "Assign 1 Hero unit that has been prepared for a home page. ", + "maximum_text_length": null, + "name": "Title", + "guidelines": "The title should fit within 60 characters.Our voice and tone recommendations: — avoid coffee jargon.", "is_required": false, - "type": "modular_content", - "external_id": "2b15a8f3-2e5f-7d01-4d8e-5b22e222aa76", - "id": "5a1f5c5e-b2ff-5cf2-927e-80aa2d6d2e40", - "codename": "hero_unit" + "type": "text", + "external_id": "85d5efc6-f47e-2fde-a6f5-0950fe89ecd1", + "id": "ba7c8840-bcbc-5e3b-b292-24d0a60f3977", + "codename": "title" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Articles", - "guidelines": "Assign all articles which should be displayed on the home page.", + "source_url": "https://example.com", + "json_parameters": null, + "allowed_elements": [], + "name": "SelectedForm", + "guidelines": null, "is_required": false, - "type": "modular_content", - "external_id": "222f3a69-a54f-3e92-83ac-05f8a08e667f", - "id": "d1d8d364-7bf0-5c0f-b763-f261fb5d175d", - "codename": "articles" + "type": "custom", + "id": "47bf7d6d-285d-4ed0-9919-1d1a98b43acd", + "codename": "selectedform" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Our story", - "guidelines": "Assign 1 Fact about us which will be displayed on the home page.", + "name": "Rating", + "guidelines": null, "is_required": false, - "type": "modular_content", - "external_id": "617bccc0-4844-4beb-4ede-6247e954633a", - "id": "9e239a77-a610-5c29-898e-379932980b0a", - "codename": "our_story" + "type": "number", + "id": "773940f4-9e67-4a26-a93f-67e55fd7d837", + "codename": "rating" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Cafes", - "guidelines": "Assign 4 Cafes which will be displayed on the home page.", + "mode": "multiple", + "options": [ + { + "id": "00c0f86a-7c51-4e60-abeb-a150e9092e53", + "codename": "paid", + "name": "Paid" + }, + { + "id": "8972dc90-ae2e-416e-995d-95df6c77e3b2", + "codename": "featured", + "name": "Featured" + } + ], + "name": "Options", + "guidelines": null, "is_required": false, - "type": "modular_content", - "external_id": "6356c948-0fd6-00d0-8fc1-e2484180ae7c", - "id": "aa4aed47-18c7-59a2-a28f-ad2204509f70", - "codename": "cafes" + "type": "multiple_choice", + "id": "53a25074-b136-4a1f-a16d-3c130f696c66", + "codename": "options" + }, + { + "asset_count_limit": null, + "maximum_file_size": null, + "allowed_file_types": "adjustable", + "image_width_limit": null, + "image_height_limit": null, + "name": "Teaser image", + "guidelines": "Upload an image at a resolution of at least 600 × 1200 px.", + "is_required": false, + "type": "asset", + "external_id": "62eb9881-e222-6b81-91d2-fdf052726414", + "id": "9c6a4fbc-3f73-585f-9521-8d57636adf56", + "codename": "teaser_image" + }, + { + "name": "Post date", + "guidelines": "Provide a date that will appear on the live site as the date this article was posted live. This date will also influence the order of the articles. ", + "is_required": false, + "type": "date_time", + "external_id": "4ae5f7a9-fe1f-1e8c-bfec-d321455139c4", + "id": "0827e079-3754-5a1d-9381-8ff695a5bbf7", + "codename": "post_date" + }, + { + "maximum_text_length": null, + "name": "Summary", + "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.The summary should fit within 160 characters.", + "is_required": false, + "type": "text", + "external_id": "90550cbe-7bff-40a9-2947-9c81489fe562", + "id": "15517aa3-da8a-5551-a4d4-555461fd5226", + "codename": "summary" }, { "maximum_text_length": null, @@ -76,13 +115,56 @@ "allowed_table_text_blocks": [ "paragraph" ], - "name": "Contact", - "guidelines": "Add Contact us information to be displayed on the home page.", + "name": "Body Copy", + "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.Preferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", "is_required": false, "type": "rich_text", - "external_id": "ee854076-236b-5312-0ed5-8c3cd55ca9e0", - "id": "9aea8064-c23c-5c0c-9119-3bc2b1470a90", - "codename": "contact" + "external_id": "108ed7c0-fc8c-c0ec-d0b5-5a8071408b54", + "id": "55a88ab3-4009-5bf9-a590-f32162f09b92", + "codename": "body_copy" + }, + { + "item_count_limit": null, + "allowed_content_types": [], + "name": "Related articles", + "guidelines": "Provide articles with related topics. ", + "is_required": true, + "type": "modular_content", + "external_id": "ee7c3687-b469-6c56-3ac6-c8dfdc8b58b5", + "id": "77108990-3c30-5ffb-8dcd-8eb85fc52cb1", + "codename": "related_articles" + }, + { + "maximum_text_length": null, + "name": "Meta keywords", + "guidelines": "Enter tags separated with a comma. Example: coffee, \"coffee roast”, grinder", + "is_required": false, + "type": "text", + "external_id": "5efb2425-5987-a4a6-a2d3-b14712b56e73", + "id": "0ee20a72-0aaa-521f-8801-df3d9293b7dd", + "codename": "meta_keywords" + }, + { + "guidelines": "Provide all personas for which this article is relevant.", + "taxonomy_group": { + "id": "7fad4cb0-c96c-5bce-a6c4-ec02a0280632" + }, + "is_required": false, + "term_count_limit": null, + "type": "taxonomy", + "external_id": "0a16b642-ac3e-584d-a45a-ba354a30b2bd", + "id": "c1dc36b5-558d-55a2-8f31-787430a68e4d", + "codename": "personas" + }, + { + "maximum_text_length": null, + "name": "Meta description", + "guidelines": "Sum up the blog for SEO purposes. Limit for the meta description is 160 characters.", + "is_required": false, + "type": "text", + "external_id": "b9dc537c-2518-e4f5-8325-ce4fce26171e", + "id": "7df0048f-eaaf-50f8-85cf-fa0fc0d6d815", + "codename": "meta_description" }, { "depends_on": { @@ -97,8 +179,8 @@ "guidelines": "Provide a SEO-friendly URL.", "is_required": false, "type": "url_slug", - "external_id": "dd70db4b-ee97-5ab4-b752-4f9d70389426", - "id": "61ab1348-3d94-5c0b-84b8-444529bbf8dc", + "external_id": "f2ff5e3f-a9ca-4604-58b0-34a2ad6a7cf1", + "id": "1f37e15b-27a0-5f48-b314-03b401c19cee", "codename": "url_pattern" }, { @@ -106,8 +188,8 @@ "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" }, "type": "snippet", - "external_id": "255d6748-ba3a-1b59-af5c-afd4a7d6cb4f", - "id": "ff8f4177-08d7-5494-9edb-60142a01891c", + "external_id": "08c3994a-02f2-1278-7bed-e8fd9d26f3a4", + "id": "328810f4-7209-504e-b676-b4d48d11a6fb", "codename": "metadata" } ] @@ -121,7 +203,7 @@ "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", "external_id": "b1c3aca8-8503-40a8-f299-57bb4c69a43c", "id": "07bb57dc-f82f-5c68-b01d-e017cd821a20", @@ -179,19 +261,19 @@ ] }, { - "id": "a9591fcd-a8c4-561d-ae2a-626ebcb766ad", - "codename": "accessory", - "last_modified": "2021-06-02T11:08:27.162074Z", - "external_id": "d9748663-f567-4c51-a922-c24a1d6b935a", - "name": "Accessory", + "id": "31c039c6-eae2-5653-97c6-1f4c22bc9f6a", + "codename": "coffee", + "last_modified": "2021-06-02T11:08:27.2714302Z", + "external_id": "929985ac-4aa5-436b-85a2-94c2d4fbbebd", + "name": "Coffee", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", - "external_id": "327e98b0-f269-c0e5-230a-46b7d0be0f45", - "id": "6d73a092-aace-57d3-a8ea-676421fea646", - "codename": "n327e98b0_f269_c0e5_230a_46b7d0be0f45" + "external_id": "8ad0be53-f2c7-db7d-edd8-9927860d4134", + "id": "ea59d9e4-a05b-513f-9910-e5d1efbfb304", + "codename": "n8ad0be53_f2c7_db7d_edd8_9927860d4134" }, { "maximum_text_length": null, @@ -199,8 +281,8 @@ "guidelines": "Include a product display name.", "is_required": false, "type": "text", - "external_id": "f9e2672c-5035-412e-3985-d6112b3781bd", - "id": "ebc9437c-cd20-5a0c-9f82-a819617b3809", + "external_id": "edaec5c4-e653-9109-eb0d-fc40ccf3c810", + "id": "ed31d584-e2a5-5125-bcd8-343e55937743", "codename": "product_name" }, { @@ -208,8 +290,8 @@ "guidelines": "Include a product price.", "is_required": false, "type": "number", - "external_id": "51d63ac3-d40d-15ea-c219-be207714077c", - "id": "8132b5ea-b770-5024-bce8-11ce35960054", + "external_id": "624592dc-49b2-330a-7185-e1f2396ce90c", + "id": "434b3e21-7902-52cb-8da8-cadb218efa1e", "codename": "price" }, { @@ -219,35 +301,13 @@ "image_width_limit": null, "image_height_limit": null, "name": "Image", - "guidelines": "Upload one product image; the recommended size is 300 × 300 px.", + "guidelines": "Upload a product image; the recommended size is 300 × 300 px.", "is_required": false, "type": "asset", - "external_id": "f0db12e6-86e4-8597-903b-c5984076d6b3", - "id": "1163fd00-bf10-5aa7-b635-d6e12047f9dc", + "external_id": "30ac3ccc-1e7f-1490-e1f6-915c64176a55", + "id": "adedd7e6-1cba-57eb-8242-880fc3cab1f4", "codename": "image" }, - { - "maximum_text_length": null, - "name": "Manufacturer", - "guidelines": "Include a manufacturer's name.", - "is_required": false, - "type": "text", - "external_id": "ab75ff46-b629-5ce5-aac9-79ed8a7b869c", - "id": "fec42a2e-82e6-54ce-a097-9ef03597f582", - "codename": "manufacturer" - }, - { - "guidelines": "Add a product status if the product is included in a special offering.", - "taxonomy_group": { - "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" - }, - "is_required": false, - "term_count_limit": null, - "type": "taxonomy", - "external_id": "ef13b1f4-b558-f707-35a4-86146dbe4518", - "id": "8a7948e1-4998-561e-a540-0f7533c73cce", - "codename": "product_status" - }, { "maximum_text_length": null, "maximum_image_size": null, @@ -269,8 +329,8 @@ "guidelines": "Include a short description that fits within 160 characters.", "is_required": false, "type": "rich_text", - "external_id": "9740e2d0-87e8-52f5-ff4c-566fa00b1253", - "id": "2a211ea9-f9ac-5130-aab1-d231af4f1c13", + "external_id": "b5a3263a-a1d7-92b7-865a-329f833285fa", + "id": "25bcabd3-65e3-5f10-86fe-6b3d2c4ebfc1", "codename": "short_description" }, { @@ -294,237 +354,14 @@ "guidelines": "Include a full product description.", "is_required": false, "type": "rich_text", - "external_id": "1f961774-a589-4e21-9f8e-a8c4908ea476", - "id": "8c7bfa94-82bd-595e-bc48-40a1d82a9974", + "external_id": "d468a0aa-e0fa-0cae-41db-6e006bff2527", + "id": "468ead74-1d8e-5aec-8fd4-bdb3a9cfe2c9", "codename": "long_description" }, { - "depends_on": { - "snippet": { - "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" - }, - "element": { - "id": "f85f9ef6-ced1-5f04-9d92-163349d50e36" - } - }, - "name": "URL pattern", - "guidelines": "Provide a SEO-friendly URL.", - "is_required": false, - "type": "url_slug", - "external_id": "69e4af48-f1ac-1146-e6c9-d20d55ca5792", - "id": "c604e5c9-4d23-58dc-b254-fd96c1f6ae0f", - "codename": "url_pattern" - }, - { - "snippet": { - "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" - }, - "type": "snippet", - "external_id": "8abb0298-218b-de99-ccfe-d49630fad6fd", - "id": "b3400b75-8f6c-5a4c-b566-8f653c711b61", - "codename": "metadata" - } - ] - }, - { - "id": "02c151a5-028e-5eb9-b6e1-cf3908f54694", - "codename": "office", - "last_modified": "2021-06-02T11:08:26.7714235Z", - "external_id": "e097306b-3893-4a42-9973-2525fad14d66", - "name": "Office", - "content_groups": [], - "elements": [ - { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", - "type": "guidelines", - "external_id": "dc7e08ba-3279-9cc8-629b-8e258624c4d1", - "id": "add319f7-ae94-547d-91ec-23fbe42ef044", - "codename": "guidelines" - }, - { - "maximum_text_length": null, - "name": "Name", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "bb81a11d-886c-2a32-e480-29f01cea667f", - "id": "1e409b88-b6d0-5aed-8329-b879289b2975", - "codename": "name" - }, - { - "maximum_text_length": null, - "name": "Street", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "f7eb7ab2-4e41-aca0-7e93-dbbbdca330eb", - "id": "0e704f9d-0712-5c17-815f-c80bf42fbe39", - "codename": "street" - }, - { - "maximum_text_length": null, - "name": "City", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "95477abc-d6b4-a6b3-5b72-c92763da55bf", - "id": "b0a0642c-473d-5135-b646-f6f46fbeccc9", - "codename": "city" - }, - { - "maximum_text_length": null, - "name": "Country", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "4fbc7779-652d-7716-2673-7419aaaceed1", - "id": "abd69a6e-eae1-5b2f-a4db-93fc42f2e51a", - "codename": "country" - }, - { - "maximum_text_length": null, - "name": "State", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "08df2f10-52b8-d451-fab1-b6da8ddb3fd2", - "id": "6745d2f0-1c6e-5aa7-a89e-80b6ade49dac", - "codename": "state" - }, - { - "maximum_text_length": null, - "name": "Zip code", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "e7141da8-8792-a66d-d1c8-1fe704758393", - "id": "0239121c-5e71-57f0-bcc4-bb5e8dc81dfb", - "codename": "zip_code" - }, - { - "maximum_text_length": null, - "name": "Phone", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "2ac708e2-cd0e-67b0-67f8-71725625dc6d", - "id": "8c2bb075-dbf0-5082-936d-f2c52848add5", - "codename": "phone" - }, - { - "maximum_text_length": null, - "name": "Email", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "251dc38f-43a3-d924-a328-8708ecb00ef1", - "id": "c6e4bf03-15e5-5d69-ac12-092594e6f047", - "codename": "email" - } - ] - }, - { - "id": "31c039c6-eae2-5653-97c6-1f4c22bc9f6a", - "codename": "coffee", - "last_modified": "2021-06-02T11:08:27.2714302Z", - "external_id": "929985ac-4aa5-436b-85a2-94c2d4fbbebd", - "name": "Coffee", - "content_groups": [], - "elements": [ - { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", - "type": "guidelines", - "external_id": "8ad0be53-f2c7-db7d-edd8-9927860d4134", - "id": "ea59d9e4-a05b-513f-9910-e5d1efbfb304", - "codename": "n8ad0be53_f2c7_db7d_edd8_9927860d4134" - }, - { - "maximum_text_length": null, - "name": "Product name", - "guidelines": "Include a product display name.", - "is_required": false, - "type": "text", - "external_id": "edaec5c4-e653-9109-eb0d-fc40ccf3c810", - "id": "ed31d584-e2a5-5125-bcd8-343e55937743", - "codename": "product_name" - }, - { - "name": "Price", - "guidelines": "Include a product price.", - "is_required": false, - "type": "number", - "external_id": "624592dc-49b2-330a-7185-e1f2396ce90c", - "id": "434b3e21-7902-52cb-8da8-cadb218efa1e", - "codename": "price" - }, - { - "asset_count_limit": null, - "maximum_file_size": null, - "allowed_file_types": "adjustable", - "image_width_limit": null, - "image_height_limit": null, - "name": "Image", - "guidelines": "Upload a product image; the recommended size is 300 × 300 px.", - "is_required": false, - "type": "asset", - "external_id": "30ac3ccc-1e7f-1490-e1f6-915c64176a55", - "id": "adedd7e6-1cba-57eb-8242-880fc3cab1f4", - "codename": "image" - }, - { - "maximum_text_length": null, - "maximum_image_size": null, - "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Short description", - "guidelines": "Include a short description that fits within 160 characters.", - "is_required": false, - "type": "rich_text", - "external_id": "b5a3263a-a1d7-92b7-865a-329f833285fa", - "id": "25bcabd3-65e3-5f10-86fe-6b3d2c4ebfc1", - "codename": "short_description" - }, - { - "maximum_text_length": null, - "maximum_image_size": null, - "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Long description", - "guidelines": "Include a full product description.", - "is_required": false, - "type": "rich_text", - "external_id": "d468a0aa-e0fa-0cae-41db-6e006bff2527", - "id": "468ead74-1d8e-5aec-8fd4-bdb3a9cfe2c9", - "codename": "long_description" - }, - { - "guidelines": "Add a product status if the product is included in a special offering.", - "taxonomy_group": { - "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" + "guidelines": "Add a product status if the product is included in a special offering.", + "taxonomy_group": { + "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" }, "is_required": false, "term_count_limit": null, @@ -614,88 +451,34 @@ ] }, { - "id": "014f98c0-40e2-5052-8fe1-00740752ce24", - "codename": "about_us", - "last_modified": "2021-06-02T11:08:28.1621546Z", - "external_id": "b2c14f2c-6467-460b-a70b-bca17972a33a", - "name": "About us", + "id": "9a622a46-e299-5d1c-b9e0-45ddf3f95803", + "codename": "cafe", + "last_modified": "2021-06-02T11:08:27.3964586Z", + "external_id": "fe41ae5a-5fe2-420a-8560-f7d6d3533dc2", + "name": "Cafe", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", - "external_id": "1a0d5bc9-a269-e705-494d-f9657cf113a5", - "id": "14f8fb57-6d36-530d-a417-cb523858e438", - "codename": "n1a0d5bc9_a269_e705_494d_f9657cf113a5" + "external_id": "2f836bce-e062-b2cd-5265-f5c3be3aa6f5", + "id": "7460f472-b814-5a53-9dea-2d1db5ccea98", + "codename": "n2f836bce_e062_b2cd_5265_f5c3be3aa6f5" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Facts", - "guidelines": "Assign all facts about our company which will be displayed on the about us page.", + "maximum_text_length": null, + "name": "Street", + "guidelines": null, "is_required": false, - "type": "modular_content", - "external_id": "cff560dc-ed24-7036-cbb6-b7a1b61b196a", - "id": "2cce36cd-3aac-5fee-9b6a-c071257aab24", - "codename": "facts" + "type": "text", + "external_id": "866afdba-d334-f01a-1d52-a9ca3f57cb4b", + "id": "3f7a5449-2f87-5e61-acf9-dc66d45a6516", + "codename": "street" }, { - "depends_on": { - "snippet": { - "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" - }, - "element": { - "id": "f85f9ef6-ced1-5f04-9d92-163349d50e36" - } - }, - "name": "URL pattern", - "guidelines": "Provide a SEO-friendly URL.", - "is_required": false, - "type": "url_slug", - "external_id": "50cb9acf-45f5-a186-5c00-9a9e4a37d84a", - "id": "0db832ad-1ad4-5a0a-882b-9b2dd9194d4e", - "codename": "url_pattern" - }, - { - "snippet": { - "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" - }, - "type": "snippet", - "external_id": "a8131aca-9210-a0e4-6239-3af2231f7ca9", - "id": "64d55a22-9997-5c6f-a5ba-24eb261e8979", - "codename": "metadata" - } - ] - }, - { - "id": "9a622a46-e299-5d1c-b9e0-45ddf3f95803", - "codename": "cafe", - "last_modified": "2021-06-02T11:08:27.3964586Z", - "external_id": "fe41ae5a-5fe2-420a-8560-f7d6d3533dc2", - "name": "Cafe", - "content_groups": [], - "elements": [ - { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", - "type": "guidelines", - "external_id": "2f836bce-e062-b2cd-5265-f5c3be3aa6f5", - "id": "7460f472-b814-5a53-9dea-2d1db5ccea98", - "codename": "n2f836bce_e062_b2cd_5265_f5c3be3aa6f5" - }, - { - "maximum_text_length": null, - "name": "Street", - "guidelines": null, - "is_required": false, - "type": "text", - "external_id": "866afdba-d334-f01a-1d52-a9ca3f57cb4b", - "id": "3f7a5449-2f87-5e61-acf9-dc66d45a6516", - "codename": "street" - }, - { - "maximum_text_length": null, - "name": "City", - "guidelines": null, + "maximum_text_length": null, + "name": "City", + "guidelines": null, "is_required": false, "type": "text", "external_id": "339e6d4f-67c1-5f5e-6921-3b374eb96f5b", @@ -768,6 +551,60 @@ } ] }, + { + "id": "014f98c0-40e2-5052-8fe1-00740752ce24", + "codename": "about_us", + "last_modified": "2021-06-02T11:08:28.1621546Z", + "external_id": "b2c14f2c-6467-460b-a70b-bca17972a33a", + "name": "About us", + "content_groups": [], + "elements": [ + { + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "type": "guidelines", + "external_id": "1a0d5bc9-a269-e705-494d-f9657cf113a5", + "id": "14f8fb57-6d36-530d-a417-cb523858e438", + "codename": "n1a0d5bc9_a269_e705_494d_f9657cf113a5" + }, + { + "item_count_limit": null, + "allowed_content_types": [], + "name": "Facts", + "guidelines": "Assign all facts about our company which will be displayed on the about us page.", + "is_required": false, + "type": "modular_content", + "external_id": "cff560dc-ed24-7036-cbb6-b7a1b61b196a", + "id": "2cce36cd-3aac-5fee-9b6a-c071257aab24", + "codename": "facts" + }, + { + "depends_on": { + "snippet": { + "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" + }, + "element": { + "id": "f85f9ef6-ced1-5f04-9d92-163349d50e36" + } + }, + "name": "URL pattern", + "guidelines": "Provide a SEO-friendly URL.", + "is_required": false, + "type": "url_slug", + "external_id": "50cb9acf-45f5-a186-5c00-9a9e4a37d84a", + "id": "0db832ad-1ad4-5a0a-882b-9b2dd9194d4e", + "codename": "url_pattern" + }, + { + "snippet": { + "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" + }, + "type": "snippet", + "external_id": "a8131aca-9210-a0e4-6239-3af2231f7ca9", + "id": "64d55a22-9997-5c6f-a5ba-24eb261e8979", + "codename": "metadata" + } + ] + }, { "id": "17ff8a28-ebe6-5c9d-95ea-18fe1ff86d2d", "codename": "tweet", @@ -837,170 +674,255 @@ ] }, { - "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7", - "codename": "article", - "last_modified": "2021-07-26T14:58:19.1748311Z", - "external_id": "b7aa4a53-d9b1-48cf-b7a6-ed0b182c4b89", - "name": "Article", + "id": "02c151a5-028e-5eb9-b6e1-cf3908f54694", + "codename": "office", + "last_modified": "2021-06-02T11:08:26.7714235Z", + "external_id": "e097306b-3893-4a42-9973-2525fad14d66", + "name": "Office", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

\n

Guidelines sample

\n

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

\n

Use the following keywords: grinders, dripper, coffee.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", - "external_id": "2a3a744e-0529-dd13-793c-9e668133d48b", - "id": "f9f65756-5ed8-55ed-9d2a-43f9fe7974cd", - "codename": "n2a3a744e_0529_dd13_793c_9e668133d48b" + "external_id": "dc7e08ba-3279-9cc8-629b-8e258624c4d1", + "id": "add319f7-ae94-547d-91ec-23fbe42ef044", + "codename": "guidelines" }, { "maximum_text_length": null, - "name": "Title", - "guidelines": "The title should fit within 60 characters.\nOur voice and tone recommendations:\n — avoid coffee jargon.", + "name": "Name", + "guidelines": "", "is_required": false, "type": "text", - "external_id": "85d5efc6-f47e-2fde-a6f5-0950fe89ecd1", - "id": "ba7c8840-bcbc-5e3b-b292-24d0a60f3977", - "codename": "title" - }, - { - "source_url": "https://example.com", - "json_parameters": null, - "allowed_elements": [], - "name": "SelectedForm", - "guidelines": null, - "is_required": false, - "type": "custom", - "id": "47bf7d6d-285d-4ed0-9919-1d1a98b43acd", - "codename": "selectedform" + "external_id": "bb81a11d-886c-2a32-e480-29f01cea667f", + "id": "1e409b88-b6d0-5aed-8329-b879289b2975", + "codename": "name" }, { - "name": "Rating", - "guidelines": null, + "maximum_text_length": null, + "name": "Street", + "guidelines": "", "is_required": false, - "type": "number", - "id": "773940f4-9e67-4a26-a93f-67e55fd7d837", - "codename": "rating" + "type": "text", + "external_id": "f7eb7ab2-4e41-aca0-7e93-dbbbdca330eb", + "id": "0e704f9d-0712-5c17-815f-c80bf42fbe39", + "codename": "street" }, { - "mode": "multiple", - "options": [ - { - "id": "00c0f86a-7c51-4e60-abeb-a150e9092e53", - "codename": "paid", - "name": "Paid" - }, - { - "id": "8972dc90-ae2e-416e-995d-95df6c77e3b2", - "codename": "featured", - "name": "Featured" - } - ], - "name": "Options", - "guidelines": null, + "maximum_text_length": null, + "name": "City", + "guidelines": "", "is_required": false, - "type": "multiple_choice", - "id": "53a25074-b136-4a1f-a16d-3c130f696c66", - "codename": "options" + "type": "text", + "external_id": "95477abc-d6b4-a6b3-5b72-c92763da55bf", + "id": "b0a0642c-473d-5135-b646-f6f46fbeccc9", + "codename": "city" }, { - "asset_count_limit": null, - "maximum_file_size": null, - "allowed_file_types": "adjustable", - "image_width_limit": null, - "image_height_limit": null, - "name": "Teaser image", - "guidelines": "Upload an image at a resolution of at least 600 × 1200 px.", + "maximum_text_length": null, + "name": "Country", + "guidelines": "", "is_required": false, - "type": "asset", - "external_id": "62eb9881-e222-6b81-91d2-fdf052726414", - "id": "9c6a4fbc-3f73-585f-9521-8d57636adf56", - "codename": "teaser_image" + "type": "text", + "external_id": "4fbc7779-652d-7716-2673-7419aaaceed1", + "id": "abd69a6e-eae1-5b2f-a4db-93fc42f2e51a", + "codename": "country" }, { - "name": "Post date", - "guidelines": "Provide a date that will appear on the live site as the date this article was posted live. This date will also influence the order of the articles. ", + "maximum_text_length": null, + "name": "State", + "guidelines": "", "is_required": false, - "type": "date_time", - "external_id": "4ae5f7a9-fe1f-1e8c-bfec-d321455139c4", - "id": "0827e079-3754-5a1d-9381-8ff695a5bbf7", - "codename": "post_date" + "type": "text", + "external_id": "08df2f10-52b8-d451-fab1-b6da8ddb3fd2", + "id": "6745d2f0-1c6e-5aa7-a89e-80b6ade49dac", + "codename": "state" }, { "maximum_text_length": null, - "name": "Summary", - "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.\nThe summary should fit within 160 characters.", + "name": "Zip code", + "guidelines": "", "is_required": false, "type": "text", - "external_id": "90550cbe-7bff-40a9-2947-9c81489fe562", - "id": "15517aa3-da8a-5551-a4d4-555461fd5226", - "codename": "summary" + "external_id": "e7141da8-8792-a66d-d1c8-1fe704758393", + "id": "0239121c-5e71-57f0-bcc4-bb5e8dc81dfb", + "codename": "zip_code" }, { "maximum_text_length": null, - "maximum_image_size": null, - "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Body Copy", - "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.\nPreferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", + "name": "Phone", + "guidelines": "", "is_required": false, - "type": "rich_text", - "external_id": "108ed7c0-fc8c-c0ec-d0b5-5a8071408b54", - "id": "55a88ab3-4009-5bf9-a590-f32162f09b92", - "codename": "body_copy" - }, - { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Related articles", - "guidelines": "Provide articles with related topics. ", - "is_required": true, - "type": "modular_content", - "external_id": "ee7c3687-b469-6c56-3ac6-c8dfdc8b58b5", - "id": "77108990-3c30-5ffb-8dcd-8eb85fc52cb1", - "codename": "related_articles" + "type": "text", + "external_id": "2ac708e2-cd0e-67b0-67f8-71725625dc6d", + "id": "8c2bb075-dbf0-5082-936d-f2c52848add5", + "codename": "phone" }, { "maximum_text_length": null, - "name": "Meta keywords", - "guidelines": "Enter tags separated with a comma. Example: coffee, \"coffee roast”, grinder", + "name": "Email", + "guidelines": "", "is_required": false, "type": "text", - "external_id": "5efb2425-5987-a4a6-a2d3-b14712b56e73", - "id": "0ee20a72-0aaa-521f-8801-df3d9293b7dd", - "codename": "meta_keywords" - }, - { - "guidelines": "Provide all personas for which this article is relevant.", - "taxonomy_group": { - "id": "7fad4cb0-c96c-5bce-a6c4-ec02a0280632" + "external_id": "251dc38f-43a3-d924-a328-8708ecb00ef1", + "id": "c6e4bf03-15e5-5d69-ac12-092594e6f047", + "codename": "email" + } + ] + }, + { + "id": "2aac8b91-0b3b-5bf4-aae6-7e3f23c461cf", + "codename": "hosted_video", + "last_modified": "2021-06-02T11:08:27.5839673Z", + "external_id": "269202ad-1d9d-47fd-b3e8-bdb05b3e3cf0", + "name": "Hosted video", + "content_groups": [], + "elements": [ + { + "maximum_text_length": null, + "name": "Video ID", + "guidelines": "", + "is_required": true, + "type": "text", + "external_id": "116a2441-6441-7124-c85b-46a4fef5dcb9", + "id": "5eb37505-779c-5698-9ad5-32d274acbf7b", + "codename": "video_id" + }, + { + "mode": "single", + "options": [ + { + "id": "d10c9c1f-e6d8-5f8d-a5ee-17e8971398a9", + "codename": "youtube", + "name": "YouTube", + "external_id": "523e6231-8d80-a158-3601-dffde4e64a78" + }, + { + "id": "d8449cb2-db62-5768-8451-690c4478003a", + "codename": "vimeo", + "name": "Vimeo", + "external_id": "d66ffa49-86ff-eeaa-c33b-e5d9eefe8b81" + } + ], + "name": "Video host", + "guidelines": "", + "is_required": true, + "type": "multiple_choice", + "external_id": "87924912-4861-aa84-176a-1eae7b22529b", + "id": "d03dea5c-9d55-549f-8323-52349444ae71", + "codename": "video_host" + } + ] + }, + { + "id": "ed8f75df-fc02-5627-80fb-7a54563fa395", + "codename": "brewer", + "last_modified": "2021-06-02T11:08:26.8651707Z", + "external_id": "7bc932b3-ce2a-4aa7-954e-04cbcbd214fc", + "name": "Brewer", + "content_groups": [], + "elements": [ + { + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "type": "guidelines", + "external_id": "f36c8ba2-fad1-60d1-147e-b00623dd71a8", + "id": "9e719b3b-4432-51e6-849e-aabe4baefa35", + "codename": "f36c8ba2_fad1_60d1_147e_b00623dd71a8" + }, + { + "maximum_text_length": null, + "name": "Product name", + "guidelines": "Include a product display name.", + "is_required": false, + "type": "text", + "external_id": "01d6c6c7-92ff-a675-e413-861e5a9a4034", + "id": "ae819df3-b549-5f89-b235-d692806f1f6c", + "codename": "product_name" + }, + { + "name": "Price", + "guidelines": "Include a product price.", + "is_required": false, + "type": "number", + "external_id": "48ebe0fc-afe7-2b93-d351-0e352332bc52", + "id": "45ec9b9c-6db9-5458-98e2-bab3e59ab62c", + "codename": "price" + }, + { + "asset_count_limit": null, + "maximum_file_size": null, + "allowed_file_types": "adjustable", + "image_width_limit": null, + "image_height_limit": null, + "name": "Image", + "guidelines": "Upload one product image; the recommended size is 300 × 300 px.", + "is_required": false, + "type": "asset", + "external_id": "d0c1e9e7-7d5d-e61f-8564-56a8cb758cb8", + "id": "3efe3435-c451-50da-bfb1-1f5f70809d73", + "codename": "image" + }, + { + "guidelines": "Add a product status if the product is included in a special offering.", + "taxonomy_group": { + "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" }, "is_required": false, "term_count_limit": null, "type": "taxonomy", - "external_id": "0a16b642-ac3e-584d-a45a-ba354a30b2bd", - "id": "c1dc36b5-558d-55a2-8f31-787430a68e4d", - "codename": "personas" + "external_id": "960d0011-ff3b-41ac-1447-8eac6ee66eaa", + "id": "2776d0ce-df89-582a-a532-e2250e8d534e", + "codename": "product_status" }, { "maximum_text_length": null, - "name": "Meta description", - "guidelines": "Sum up the blog for SEO purposes. Limit for the meta description is 160 characters.", + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "any", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Short description", + "guidelines": "Include a short description that fits within 160 characters.", "is_required": false, - "type": "text", - "external_id": "b9dc537c-2518-e4f5-8325-ce4fce26171e", - "id": "7df0048f-eaaf-50f8-85cf-fa0fc0d6d815", - "codename": "meta_description" + "type": "rich_text", + "external_id": "8c235a7f-034e-f803-e612-9c47c8a49506", + "id": "a1c3a174-6c98-57b0-8e90-70994853143c", + "codename": "short_description" + }, + { + "maximum_text_length": null, + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "adjustable", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Long description", + "guidelines": "Include a full product description.", + "is_required": false, + "type": "rich_text", + "external_id": "14510bef-fd86-7d5d-992a-c1e091cbcb97", + "id": "c06d8ee5-bc73-5d51-b2f2-d9185ec8a53f", + "codename": "long_description" }, { "depends_on": { @@ -1015,17 +937,29 @@ "guidelines": "Provide a SEO-friendly URL.", "is_required": false, "type": "url_slug", - "external_id": "f2ff5e3f-a9ca-4604-58b0-34a2ad6a7cf1", - "id": "1f37e15b-27a0-5f48-b314-03b401c19cee", + "external_id": "737c85be-f532-c8fe-a308-2a0f2c512f3e", + "id": "7da55a24-dba1-5655-88b3-9a0518b4b8d8", "codename": "url_pattern" }, + { + "guidelines": null, + "taxonomy_group": { + "id": "f6851a6e-a342-5253-8bc6-e8abc8f56b15" + }, + "is_required": false, + "term_count_limit": null, + "type": "taxonomy", + "external_id": "53b6bddb-fe8a-a8b2-9765-343479bf9fc2", + "id": "8147a6c7-b048-5398-baec-611a1aee3e6a", + "codename": "manufacturer" + }, { "snippet": { "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" }, "type": "snippet", - "external_id": "08c3994a-02f2-1278-7bed-e8fd9d26f3a4", - "id": "328810f4-7209-504e-b676-b4d48d11a6fb", + "external_id": "86fb5937-e145-d13b-9aa2-4284a0e826ce", + "id": "aa345b0a-947f-5123-af8e-d5f9f95485f9", "codename": "metadata" } ] @@ -1039,7 +973,7 @@ "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content entry. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content entry. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", "external_id": "14cba67c-fc38-63f9-93c7-c29c03c20292", "id": "55bd6dec-5390-5b65-91fa-a1532cb8153a", @@ -1083,47 +1017,225 @@ "name": "Manufacturer", "guidelines": "Include a manufacturer's name.", "is_required": false, - "type": "text", - "external_id": "2c389736-7dfa-b03e-8996-7eba451cfdb5", - "id": "69e47b7b-5135-5c40-ad2d-abbfcb1d871e", - "codename": "manufacturer" + "type": "text", + "external_id": "2c389736-7dfa-b03e-8996-7eba451cfdb5", + "id": "69e47b7b-5135-5c40-ad2d-abbfcb1d871e", + "codename": "manufacturer" + }, + { + "guidelines": "Add a product status if the product is included in a special offering.", + "taxonomy_group": { + "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" + }, + "is_required": false, + "term_count_limit": null, + "type": "taxonomy", + "external_id": "54120e88-82cc-2202-e72d-9cae0ced3f51", + "id": "a8160201-d60f-5944-8ed8-21810001d9e2", + "codename": "product_status" + }, + { + "maximum_text_length": null, + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "any", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Short description", + "guidelines": "Include a short description that fits within 160 characters.", + "is_required": false, + "type": "rich_text", + "external_id": "23ee310f-9732-9193-ad5e-80f75bfc276d", + "id": "2a2b1070-b2fe-5497-8c06-654af5feaf34", + "codename": "short_description" + }, + { + "maximum_text_length": null, + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "any", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Long description", + "guidelines": "Include a full product description.", + "is_required": false, + "type": "rich_text", + "external_id": "21e77286-e87b-d6e3-902d-13b5814b5e75", + "id": "bf7f428c-a3d4-507b-b30e-d826415c76e9", + "codename": "long_description" + }, + { + "depends_on": { + "snippet": { + "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" + }, + "element": { + "id": "f85f9ef6-ced1-5f04-9d92-163349d50e36" + } + }, + "name": "URL pattern", + "guidelines": "Provide a SEO-friendly URL.", + "is_required": false, + "type": "url_slug", + "external_id": "bf6ad588-11e5-ba0d-2c18-ccd50064a32a", + "id": "dab8d1dd-2503-54d5-9765-15f16b7cc8ff", + "codename": "url_pattern" + }, + { + "snippet": { + "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" + }, + "type": "snippet", + "external_id": "75c6b7ad-eabf-e936-2843-bd31f0cfff1d", + "id": "15305a25-375f-58c9-8136-892648686cdf", + "codename": "metadata" + } + ] + }, + { + "id": "94dfdc89-729d-53c1-896b-5991e7f0e9ec", + "codename": "hero_unit", + "last_modified": "2021-06-02T11:08:28.0683463Z", + "external_id": "f4deeb7e-fe9b-49a2-a5f6-a51a9be6ac73", + "name": "Hero Unit", + "content_groups": [], + "elements": [ + { + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "type": "guidelines", + "external_id": "333df39a-c14c-1865-0f59-69098e3a7084", + "id": "0879d9b0-5566-503d-97a1-1f4432381e76", + "codename": "n333df39a_c14c_1865_0f59_69098e3a7084" + }, + { + "maximum_text_length": null, + "name": "Title", + "guidelines": "Provide a title that fits within 60 characters.", + "is_required": false, + "type": "text", + "external_id": "16ea3e64-4103-da81-eabd-af7efc2ab8a6", + "id": "b1adc401-61e0-5aa5-9631-c08698732474", + "codename": "title" + }, + { + "asset_count_limit": null, + "maximum_file_size": null, + "allowed_file_types": "adjustable", + "image_width_limit": null, + "image_height_limit": null, + "name": "Image", + "guidelines": "Attach a teaser image; max. dimensions are 1280 × 600 px; allowed formats are *.jpg, *.png, *.gif.", + "is_required": false, + "type": "asset", + "external_id": "4aeed98e-58d1-ab13-232c-542bf268fe48", + "id": "e2782730-d32a-5506-b6c3-e89a02b9e078", + "codename": "image" + }, + { + "maximum_text_length": null, + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "any", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Marketing message", + "guidelines": "Include a main goal of our business. The limit is 80 characters.", + "is_required": false, + "type": "rich_text", + "external_id": "ecf4e55f-1ae0-f539-3516-5714a0f032e9", + "id": "5a5e63ba-5e73-5075-888c-8c92062b0e87", + "codename": "marketing_message" + } + ] + }, + { + "id": "069aa172-cee9-51b4-910b-9978c2d991b1", + "codename": "home", + "last_modified": "2021-06-02T11:08:27.4745834Z", + "external_id": "a29399c3-5281-47ab-9916-acd4a6f887b7", + "name": "Home", + "content_groups": [], + "elements": [ + { + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations, or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

Home page is modular

The home page is built of multiple content items based on smaller content types to embrace a modular approach. This lets you compose pages of independent modules.

For example, a Hero unit,  Articles, or Fact about us are smaller content chunks that you can create independently and then assign to a homepage to have it all together.

", + "type": "guidelines", + "external_id": "9367da14-3d08-4ed1-4841-24bf8055f916", + "id": "4cb65a0b-3747-51db-a6f3-c0bb90b70b1a", + "codename": "n9367da14_3d08_4ed1_4841_24bf8055f916" + }, + { + "item_count_limit": null, + "allowed_content_types": [], + "name": "Hero unit", + "guidelines": "Assign 1 Hero unit that has been prepared for a home page. ", + "is_required": false, + "type": "modular_content", + "external_id": "2b15a8f3-2e5f-7d01-4d8e-5b22e222aa76", + "id": "5a1f5c5e-b2ff-5cf2-927e-80aa2d6d2e40", + "codename": "hero_unit" + }, + { + "item_count_limit": null, + "allowed_content_types": [], + "name": "Articles", + "guidelines": "Assign all articles which should be displayed on the home page.", + "is_required": false, + "type": "modular_content", + "external_id": "222f3a69-a54f-3e92-83ac-05f8a08e667f", + "id": "d1d8d364-7bf0-5c0f-b763-f261fb5d175d", + "codename": "articles" }, { - "guidelines": "Add a product status if the product is included in a special offering.", - "taxonomy_group": { - "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" - }, + "item_count_limit": null, + "allowed_content_types": [], + "name": "Our story", + "guidelines": "Assign 1 Fact about us which will be displayed on the home page.", "is_required": false, - "term_count_limit": null, - "type": "taxonomy", - "external_id": "54120e88-82cc-2202-e72d-9cae0ced3f51", - "id": "a8160201-d60f-5944-8ed8-21810001d9e2", - "codename": "product_status" + "type": "modular_content", + "external_id": "617bccc0-4844-4beb-4ede-6247e954633a", + "id": "9e239a77-a610-5c29-898e-379932980b0a", + "codename": "our_story" }, { - "maximum_text_length": null, - "maximum_image_size": null, + "item_count_limit": null, "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Short description", - "guidelines": "Include a short description that fits within 160 characters.", + "name": "Cafes", + "guidelines": "Assign 4 Cafes which will be displayed on the home page.", "is_required": false, - "type": "rich_text", - "external_id": "23ee310f-9732-9193-ad5e-80f75bfc276d", - "id": "2a2b1070-b2fe-5497-8c06-654af5feaf34", - "codename": "short_description" + "type": "modular_content", + "external_id": "6356c948-0fd6-00d0-8fc1-e2484180ae7c", + "id": "aa4aed47-18c7-59a2-a28f-ad2204509f70", + "codename": "cafes" }, { "maximum_text_length": null, @@ -1142,13 +1254,13 @@ "allowed_table_text_blocks": [ "paragraph" ], - "name": "Long description", - "guidelines": "Include a full product description.", + "name": "Contact", + "guidelines": "Add Contact us information to be displayed on the home page.", "is_required": false, "type": "rich_text", - "external_id": "21e77286-e87b-d6e3-902d-13b5814b5e75", - "id": "bf7f428c-a3d4-507b-b30e-d826415c76e9", - "codename": "long_description" + "external_id": "ee854076-236b-5312-0ed5-8c3cd55ca9e0", + "id": "9aea8064-c23c-5c0c-9119-3bc2b1470a90", + "codename": "contact" }, { "depends_on": { @@ -1163,8 +1275,8 @@ "guidelines": "Provide a SEO-friendly URL.", "is_required": false, "type": "url_slug", - "external_id": "bf6ad588-11e5-ba0d-2c18-ccd50064a32a", - "id": "dab8d1dd-2503-54d5-9765-15f16b7cc8ff", + "external_id": "dd70db4b-ee97-5ab4-b752-4f9d70389426", + "id": "61ab1348-3d94-5c0b-84b8-444529bbf8dc", "codename": "url_pattern" }, { @@ -1172,26 +1284,26 @@ "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" }, "type": "snippet", - "external_id": "75c6b7ad-eabf-e936-2843-bd31f0cfff1d", - "id": "15305a25-375f-58c9-8136-892648686cdf", + "external_id": "255d6748-ba3a-1b59-af5c-afd4a7d6cb4f", + "id": "ff8f4177-08d7-5494-9edb-60142a01891c", "codename": "metadata" } ] }, { - "id": "ed8f75df-fc02-5627-80fb-7a54563fa395", - "codename": "brewer", - "last_modified": "2021-06-02T11:08:26.8651707Z", - "external_id": "7bc932b3-ce2a-4aa7-954e-04cbcbd214fc", - "name": "Brewer", + "id": "a9591fcd-a8c4-561d-ae2a-626ebcb766ad", + "codename": "accessory", + "last_modified": "2021-06-02T11:08:27.162074Z", + "external_id": "d9748663-f567-4c51-a922-c24a1d6b935a", + "name": "Accessory", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", - "external_id": "f36c8ba2-fad1-60d1-147e-b00623dd71a8", - "id": "9e719b3b-4432-51e6-849e-aabe4baefa35", - "codename": "f36c8ba2_fad1_60d1_147e_b00623dd71a8" + "external_id": "327e98b0-f269-c0e5-230a-46b7d0be0f45", + "id": "6d73a092-aace-57d3-a8ea-676421fea646", + "codename": "n327e98b0_f269_c0e5_230a_46b7d0be0f45" }, { "maximum_text_length": null, @@ -1199,8 +1311,8 @@ "guidelines": "Include a product display name.", "is_required": false, "type": "text", - "external_id": "01d6c6c7-92ff-a675-e413-861e5a9a4034", - "id": "ae819df3-b549-5f89-b235-d692806f1f6c", + "external_id": "f9e2672c-5035-412e-3985-d6112b3781bd", + "id": "ebc9437c-cd20-5a0c-9f82-a819617b3809", "codename": "product_name" }, { @@ -1208,8 +1320,8 @@ "guidelines": "Include a product price.", "is_required": false, "type": "number", - "external_id": "48ebe0fc-afe7-2b93-d351-0e352332bc52", - "id": "45ec9b9c-6db9-5458-98e2-bab3e59ab62c", + "external_id": "51d63ac3-d40d-15ea-c219-be207714077c", + "id": "8132b5ea-b770-5024-bce8-11ce35960054", "codename": "price" }, { @@ -1222,10 +1334,20 @@ "guidelines": "Upload one product image; the recommended size is 300 × 300 px.", "is_required": false, "type": "asset", - "external_id": "d0c1e9e7-7d5d-e61f-8564-56a8cb758cb8", - "id": "3efe3435-c451-50da-bfb1-1f5f70809d73", + "external_id": "f0db12e6-86e4-8597-903b-c5984076d6b3", + "id": "1163fd00-bf10-5aa7-b635-d6e12047f9dc", "codename": "image" }, + { + "maximum_text_length": null, + "name": "Manufacturer", + "guidelines": "Include a manufacturer's name.", + "is_required": false, + "type": "text", + "external_id": "ab75ff46-b629-5ce5-aac9-79ed8a7b869c", + "id": "fec42a2e-82e6-54ce-a097-9ef03597f582", + "codename": "manufacturer" + }, { "guidelines": "Add a product status if the product is included in a special offering.", "taxonomy_group": { @@ -1234,8 +1356,8 @@ "is_required": false, "term_count_limit": null, "type": "taxonomy", - "external_id": "960d0011-ff3b-41ac-1447-8eac6ee66eaa", - "id": "2776d0ce-df89-582a-a532-e2250e8d534e", + "external_id": "ef13b1f4-b558-f707-35a4-86146dbe4518", + "id": "8a7948e1-4998-561e-a540-0f7533c73cce", "codename": "product_status" }, { @@ -1259,8 +1381,8 @@ "guidelines": "Include a short description that fits within 160 characters.", "is_required": false, "type": "rich_text", - "external_id": "8c235a7f-034e-f803-e612-9c47c8a49506", - "id": "a1c3a174-6c98-57b0-8e90-70994853143c", + "external_id": "9740e2d0-87e8-52f5-ff4c-566fa00b1253", + "id": "2a211ea9-f9ac-5130-aab1-d231af4f1c13", "codename": "short_description" }, { @@ -1269,7 +1391,7 @@ "allowed_content_types": [], "image_width_limit": null, "image_height_limit": null, - "allowed_image_types": "adjustable", + "allowed_image_types": "any", "allowed_blocks": [], "allowed_formatting": [], "allowed_text_blocks": [], @@ -1284,8 +1406,8 @@ "guidelines": "Include a full product description.", "is_required": false, "type": "rich_text", - "external_id": "14510bef-fd86-7d5d-992a-c1e091cbcb97", - "id": "c06d8ee5-bc73-5d51-b2f2-d9185ec8a53f", + "external_id": "1f961774-a589-4e21-9f8e-a8c4908ea476", + "id": "8c7bfa94-82bd-595e-bc48-40a1d82a9974", "codename": "long_description" }, { @@ -1301,142 +1423,20 @@ "guidelines": "Provide a SEO-friendly URL.", "is_required": false, "type": "url_slug", - "external_id": "737c85be-f532-c8fe-a308-2a0f2c512f3e", - "id": "7da55a24-dba1-5655-88b3-9a0518b4b8d8", + "external_id": "69e4af48-f1ac-1146-e6c9-d20d55ca5792", + "id": "c604e5c9-4d23-58dc-b254-fd96c1f6ae0f", "codename": "url_pattern" }, - { - "guidelines": null, - "taxonomy_group": { - "id": "f6851a6e-a342-5253-8bc6-e8abc8f56b15" - }, - "is_required": false, - "term_count_limit": null, - "type": "taxonomy", - "external_id": "53b6bddb-fe8a-a8b2-9765-343479bf9fc2", - "id": "8147a6c7-b048-5398-baec-611a1aee3e6a", - "codename": "manufacturer" - }, { "snippet": { "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" }, "type": "snippet", - "external_id": "86fb5937-e145-d13b-9aa2-4284a0e826ce", - "id": "aa345b0a-947f-5123-af8e-d5f9f95485f9", + "external_id": "8abb0298-218b-de99-ccfe-d49630fad6fd", + "id": "b3400b75-8f6c-5a4c-b566-8f653c711b61", "codename": "metadata" } ] - }, - { - "id": "2aac8b91-0b3b-5bf4-aae6-7e3f23c461cf", - "codename": "hosted_video", - "last_modified": "2021-06-02T11:08:27.5839673Z", - "external_id": "269202ad-1d9d-47fd-b3e8-bdb05b3e3cf0", - "name": "Hosted video", - "content_groups": [], - "elements": [ - { - "maximum_text_length": null, - "name": "Video ID", - "guidelines": "", - "is_required": true, - "type": "text", - "external_id": "116a2441-6441-7124-c85b-46a4fef5dcb9", - "id": "5eb37505-779c-5698-9ad5-32d274acbf7b", - "codename": "video_id" - }, - { - "mode": "single", - "options": [ - { - "id": "d10c9c1f-e6d8-5f8d-a5ee-17e8971398a9", - "codename": "youtube", - "name": "YouTube", - "external_id": "523e6231-8d80-a158-3601-dffde4e64a78" - }, - { - "id": "d8449cb2-db62-5768-8451-690c4478003a", - "codename": "vimeo", - "name": "Vimeo", - "external_id": "d66ffa49-86ff-eeaa-c33b-e5d9eefe8b81" - } - ], - "name": "Video host", - "guidelines": "", - "is_required": true, - "type": "multiple_choice", - "external_id": "87924912-4861-aa84-176a-1eae7b22529b", - "id": "d03dea5c-9d55-549f-8323-52349444ae71", - "codename": "video_host" - } - ] - }, - { - "id": "94dfdc89-729d-53c1-896b-5991e7f0e9ec", - "codename": "hero_unit", - "last_modified": "2021-06-02T11:08:28.0683463Z", - "external_id": "f4deeb7e-fe9b-49a2-a5f6-a51a9be6ac73", - "name": "Hero Unit", - "content_groups": [], - "elements": [ - { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", - "type": "guidelines", - "external_id": "333df39a-c14c-1865-0f59-69098e3a7084", - "id": "0879d9b0-5566-503d-97a1-1f4432381e76", - "codename": "n333df39a_c14c_1865_0f59_69098e3a7084" - }, - { - "maximum_text_length": null, - "name": "Title", - "guidelines": "Provide a title that fits within 60 characters.", - "is_required": false, - "type": "text", - "external_id": "16ea3e64-4103-da81-eabd-af7efc2ab8a6", - "id": "b1adc401-61e0-5aa5-9631-c08698732474", - "codename": "title" - }, - { - "asset_count_limit": null, - "maximum_file_size": null, - "allowed_file_types": "adjustable", - "image_width_limit": null, - "image_height_limit": null, - "name": "Image", - "guidelines": "Attach a teaser image; max. dimensions are 1280 × 600 px; allowed formats are *.jpg, *.png, *.gif.", - "is_required": false, - "type": "asset", - "external_id": "4aeed98e-58d1-ab13-232c-542bf268fe48", - "id": "e2782730-d32a-5506-b6c3-e89a02b9e078", - "codename": "image" - }, - { - "maximum_text_length": null, - "maximum_image_size": null, - "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Marketing message", - "guidelines": "Include a main goal of our business. The limit is 80 characters.", - "is_required": false, - "type": "rich_text", - "external_id": "ecf4e55f-1ae0-f539-3516-5714a0f032e9", - "id": "5a5e63ba-5e73-5075-888c-8c92062b0e87", - "codename": "marketing_message" - } - ] } ], "pagination": { diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentTypes_WithContinuation_ListsContentTypes_36/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListContentTypes_WithContinuation_ListsContentTypes_36/0_GET/response.json index d5ff4a940..3d0bcae7c 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentTypes_WithContinuation_ListsContentTypes_36/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentTypes_WithContinuation_ListsContentTypes_36/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["58226"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["70cf5456611e7445"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:50 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853650.079532,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["58226"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["90a6c9edcab7274e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861733.030360,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListContentTypes_WithContinuation_ListsContentTypes_36/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListContentTypes_WithContinuation_ListsContentTypes_36/0_GET/response_content.json index 5d0bdf32d..6e25fb8ca 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListContentTypes_WithContinuation_ListsContentTypes_36/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListContentTypes_WithContinuation_ListsContentTypes_36/0_GET/response_content.json @@ -1,63 +1,102 @@ { "types": [ { - "id": "069aa172-cee9-51b4-910b-9978c2d991b1", - "codename": "home", - "last_modified": "2021-06-02T11:08:27.4745834Z", - "external_id": "a29399c3-5281-47ab-9916-acd4a6f887b7", - "name": "Home", + "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7", + "codename": "article", + "last_modified": "2021-07-26T14:58:19.1748311Z", + "external_id": "b7aa4a53-d9b1-48cf-b7a6-ed0b182c4b89", + "name": "Article", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations, or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

\n

Home page is modular

\n

The home page is built of multiple content items based on smaller content types to embrace a modular approach. This lets you compose pages of independent modules.

\n

For example, a Hero unit,  Articles, or Fact about us are smaller content chunks that you can create independently and then assign to a homepage to have it all together.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

Guidelines sample

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

Use the following keywords: grinders, dripper, coffee.

", "type": "guidelines", - "external_id": "9367da14-3d08-4ed1-4841-24bf8055f916", - "id": "4cb65a0b-3747-51db-a6f3-c0bb90b70b1a", - "codename": "n9367da14_3d08_4ed1_4841_24bf8055f916" + "external_id": "2a3a744e-0529-dd13-793c-9e668133d48b", + "id": "f9f65756-5ed8-55ed-9d2a-43f9fe7974cd", + "codename": "n2a3a744e_0529_dd13_793c_9e668133d48b" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Hero unit", - "guidelines": "Assign 1 Hero unit that has been prepared for a home page. ", + "maximum_text_length": null, + "name": "Title", + "guidelines": "The title should fit within 60 characters.Our voice and tone recommendations: — avoid coffee jargon.", "is_required": false, - "type": "modular_content", - "external_id": "2b15a8f3-2e5f-7d01-4d8e-5b22e222aa76", - "id": "5a1f5c5e-b2ff-5cf2-927e-80aa2d6d2e40", - "codename": "hero_unit" + "type": "text", + "external_id": "85d5efc6-f47e-2fde-a6f5-0950fe89ecd1", + "id": "ba7c8840-bcbc-5e3b-b292-24d0a60f3977", + "codename": "title" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Articles", - "guidelines": "Assign all articles which should be displayed on the home page.", + "source_url": "https://example.com", + "json_parameters": null, + "allowed_elements": [], + "name": "SelectedForm", + "guidelines": null, "is_required": false, - "type": "modular_content", - "external_id": "222f3a69-a54f-3e92-83ac-05f8a08e667f", - "id": "d1d8d364-7bf0-5c0f-b763-f261fb5d175d", - "codename": "articles" + "type": "custom", + "id": "47bf7d6d-285d-4ed0-9919-1d1a98b43acd", + "codename": "selectedform" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Our story", - "guidelines": "Assign 1 Fact about us which will be displayed on the home page.", + "name": "Rating", + "guidelines": null, "is_required": false, - "type": "modular_content", - "external_id": "617bccc0-4844-4beb-4ede-6247e954633a", - "id": "9e239a77-a610-5c29-898e-379932980b0a", - "codename": "our_story" + "type": "number", + "id": "773940f4-9e67-4a26-a93f-67e55fd7d837", + "codename": "rating" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Cafes", - "guidelines": "Assign 4 Cafes which will be displayed on the home page.", + "mode": "multiple", + "options": [ + { + "id": "00c0f86a-7c51-4e60-abeb-a150e9092e53", + "codename": "paid", + "name": "Paid" + }, + { + "id": "8972dc90-ae2e-416e-995d-95df6c77e3b2", + "codename": "featured", + "name": "Featured" + } + ], + "name": "Options", + "guidelines": null, "is_required": false, - "type": "modular_content", - "external_id": "6356c948-0fd6-00d0-8fc1-e2484180ae7c", - "id": "aa4aed47-18c7-59a2-a28f-ad2204509f70", - "codename": "cafes" + "type": "multiple_choice", + "id": "53a25074-b136-4a1f-a16d-3c130f696c66", + "codename": "options" + }, + { + "asset_count_limit": null, + "maximum_file_size": null, + "allowed_file_types": "adjustable", + "image_width_limit": null, + "image_height_limit": null, + "name": "Teaser image", + "guidelines": "Upload an image at a resolution of at least 600 × 1200 px.", + "is_required": false, + "type": "asset", + "external_id": "62eb9881-e222-6b81-91d2-fdf052726414", + "id": "9c6a4fbc-3f73-585f-9521-8d57636adf56", + "codename": "teaser_image" + }, + { + "name": "Post date", + "guidelines": "Provide a date that will appear on the live site as the date this article was posted live. This date will also influence the order of the articles. ", + "is_required": false, + "type": "date_time", + "external_id": "4ae5f7a9-fe1f-1e8c-bfec-d321455139c4", + "id": "0827e079-3754-5a1d-9381-8ff695a5bbf7", + "codename": "post_date" + }, + { + "maximum_text_length": null, + "name": "Summary", + "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.The summary should fit within 160 characters.", + "is_required": false, + "type": "text", + "external_id": "90550cbe-7bff-40a9-2947-9c81489fe562", + "id": "15517aa3-da8a-5551-a4d4-555461fd5226", + "codename": "summary" }, { "maximum_text_length": null, @@ -76,13 +115,56 @@ "allowed_table_text_blocks": [ "paragraph" ], - "name": "Contact", - "guidelines": "Add Contact us information to be displayed on the home page.", + "name": "Body Copy", + "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.Preferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", "is_required": false, "type": "rich_text", - "external_id": "ee854076-236b-5312-0ed5-8c3cd55ca9e0", - "id": "9aea8064-c23c-5c0c-9119-3bc2b1470a90", - "codename": "contact" + "external_id": "108ed7c0-fc8c-c0ec-d0b5-5a8071408b54", + "id": "55a88ab3-4009-5bf9-a590-f32162f09b92", + "codename": "body_copy" + }, + { + "item_count_limit": null, + "allowed_content_types": [], + "name": "Related articles", + "guidelines": "Provide articles with related topics. ", + "is_required": true, + "type": "modular_content", + "external_id": "ee7c3687-b469-6c56-3ac6-c8dfdc8b58b5", + "id": "77108990-3c30-5ffb-8dcd-8eb85fc52cb1", + "codename": "related_articles" + }, + { + "maximum_text_length": null, + "name": "Meta keywords", + "guidelines": "Enter tags separated with a comma. Example: coffee, \"coffee roast”, grinder", + "is_required": false, + "type": "text", + "external_id": "5efb2425-5987-a4a6-a2d3-b14712b56e73", + "id": "0ee20a72-0aaa-521f-8801-df3d9293b7dd", + "codename": "meta_keywords" + }, + { + "guidelines": "Provide all personas for which this article is relevant.", + "taxonomy_group": { + "id": "7fad4cb0-c96c-5bce-a6c4-ec02a0280632" + }, + "is_required": false, + "term_count_limit": null, + "type": "taxonomy", + "external_id": "0a16b642-ac3e-584d-a45a-ba354a30b2bd", + "id": "c1dc36b5-558d-55a2-8f31-787430a68e4d", + "codename": "personas" + }, + { + "maximum_text_length": null, + "name": "Meta description", + "guidelines": "Sum up the blog for SEO purposes. Limit for the meta description is 160 characters.", + "is_required": false, + "type": "text", + "external_id": "b9dc537c-2518-e4f5-8325-ce4fce26171e", + "id": "7df0048f-eaaf-50f8-85cf-fa0fc0d6d815", + "codename": "meta_description" }, { "depends_on": { @@ -97,8 +179,8 @@ "guidelines": "Provide a SEO-friendly URL.", "is_required": false, "type": "url_slug", - "external_id": "dd70db4b-ee97-5ab4-b752-4f9d70389426", - "id": "61ab1348-3d94-5c0b-84b8-444529bbf8dc", + "external_id": "f2ff5e3f-a9ca-4604-58b0-34a2ad6a7cf1", + "id": "1f37e15b-27a0-5f48-b314-03b401c19cee", "codename": "url_pattern" }, { @@ -106,8 +188,8 @@ "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" }, "type": "snippet", - "external_id": "255d6748-ba3a-1b59-af5c-afd4a7d6cb4f", - "id": "ff8f4177-08d7-5494-9edb-60142a01891c", + "external_id": "08c3994a-02f2-1278-7bed-e8fd9d26f3a4", + "id": "328810f4-7209-504e-b676-b4d48d11a6fb", "codename": "metadata" } ] @@ -121,7 +203,7 @@ "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", "external_id": "b1c3aca8-8503-40a8-f299-57bb4c69a43c", "id": "07bb57dc-f82f-5c68-b01d-e017cd821a20", @@ -179,19 +261,19 @@ ] }, { - "id": "a9591fcd-a8c4-561d-ae2a-626ebcb766ad", - "codename": "accessory", - "last_modified": "2021-06-02T11:08:27.162074Z", - "external_id": "d9748663-f567-4c51-a922-c24a1d6b935a", - "name": "Accessory", + "id": "31c039c6-eae2-5653-97c6-1f4c22bc9f6a", + "codename": "coffee", + "last_modified": "2021-06-02T11:08:27.2714302Z", + "external_id": "929985ac-4aa5-436b-85a2-94c2d4fbbebd", + "name": "Coffee", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", - "external_id": "327e98b0-f269-c0e5-230a-46b7d0be0f45", - "id": "6d73a092-aace-57d3-a8ea-676421fea646", - "codename": "n327e98b0_f269_c0e5_230a_46b7d0be0f45" + "external_id": "8ad0be53-f2c7-db7d-edd8-9927860d4134", + "id": "ea59d9e4-a05b-513f-9910-e5d1efbfb304", + "codename": "n8ad0be53_f2c7_db7d_edd8_9927860d4134" }, { "maximum_text_length": null, @@ -199,8 +281,8 @@ "guidelines": "Include a product display name.", "is_required": false, "type": "text", - "external_id": "f9e2672c-5035-412e-3985-d6112b3781bd", - "id": "ebc9437c-cd20-5a0c-9f82-a819617b3809", + "external_id": "edaec5c4-e653-9109-eb0d-fc40ccf3c810", + "id": "ed31d584-e2a5-5125-bcd8-343e55937743", "codename": "product_name" }, { @@ -208,8 +290,8 @@ "guidelines": "Include a product price.", "is_required": false, "type": "number", - "external_id": "51d63ac3-d40d-15ea-c219-be207714077c", - "id": "8132b5ea-b770-5024-bce8-11ce35960054", + "external_id": "624592dc-49b2-330a-7185-e1f2396ce90c", + "id": "434b3e21-7902-52cb-8da8-cadb218efa1e", "codename": "price" }, { @@ -219,35 +301,13 @@ "image_width_limit": null, "image_height_limit": null, "name": "Image", - "guidelines": "Upload one product image; the recommended size is 300 × 300 px.", + "guidelines": "Upload a product image; the recommended size is 300 × 300 px.", "is_required": false, "type": "asset", - "external_id": "f0db12e6-86e4-8597-903b-c5984076d6b3", - "id": "1163fd00-bf10-5aa7-b635-d6e12047f9dc", + "external_id": "30ac3ccc-1e7f-1490-e1f6-915c64176a55", + "id": "adedd7e6-1cba-57eb-8242-880fc3cab1f4", "codename": "image" }, - { - "maximum_text_length": null, - "name": "Manufacturer", - "guidelines": "Include a manufacturer's name.", - "is_required": false, - "type": "text", - "external_id": "ab75ff46-b629-5ce5-aac9-79ed8a7b869c", - "id": "fec42a2e-82e6-54ce-a097-9ef03597f582", - "codename": "manufacturer" - }, - { - "guidelines": "Add a product status if the product is included in a special offering.", - "taxonomy_group": { - "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" - }, - "is_required": false, - "term_count_limit": null, - "type": "taxonomy", - "external_id": "ef13b1f4-b558-f707-35a4-86146dbe4518", - "id": "8a7948e1-4998-561e-a540-0f7533c73cce", - "codename": "product_status" - }, { "maximum_text_length": null, "maximum_image_size": null, @@ -269,8 +329,8 @@ "guidelines": "Include a short description that fits within 160 characters.", "is_required": false, "type": "rich_text", - "external_id": "9740e2d0-87e8-52f5-ff4c-566fa00b1253", - "id": "2a211ea9-f9ac-5130-aab1-d231af4f1c13", + "external_id": "b5a3263a-a1d7-92b7-865a-329f833285fa", + "id": "25bcabd3-65e3-5f10-86fe-6b3d2c4ebfc1", "codename": "short_description" }, { @@ -294,237 +354,14 @@ "guidelines": "Include a full product description.", "is_required": false, "type": "rich_text", - "external_id": "1f961774-a589-4e21-9f8e-a8c4908ea476", - "id": "8c7bfa94-82bd-595e-bc48-40a1d82a9974", + "external_id": "d468a0aa-e0fa-0cae-41db-6e006bff2527", + "id": "468ead74-1d8e-5aec-8fd4-bdb3a9cfe2c9", "codename": "long_description" }, { - "depends_on": { - "snippet": { - "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" - }, - "element": { - "id": "f85f9ef6-ced1-5f04-9d92-163349d50e36" - } - }, - "name": "URL pattern", - "guidelines": "Provide a SEO-friendly URL.", - "is_required": false, - "type": "url_slug", - "external_id": "69e4af48-f1ac-1146-e6c9-d20d55ca5792", - "id": "c604e5c9-4d23-58dc-b254-fd96c1f6ae0f", - "codename": "url_pattern" - }, - { - "snippet": { - "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" - }, - "type": "snippet", - "external_id": "8abb0298-218b-de99-ccfe-d49630fad6fd", - "id": "b3400b75-8f6c-5a4c-b566-8f653c711b61", - "codename": "metadata" - } - ] - }, - { - "id": "02c151a5-028e-5eb9-b6e1-cf3908f54694", - "codename": "office", - "last_modified": "2021-06-02T11:08:26.7714235Z", - "external_id": "e097306b-3893-4a42-9973-2525fad14d66", - "name": "Office", - "content_groups": [], - "elements": [ - { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", - "type": "guidelines", - "external_id": "dc7e08ba-3279-9cc8-629b-8e258624c4d1", - "id": "add319f7-ae94-547d-91ec-23fbe42ef044", - "codename": "guidelines" - }, - { - "maximum_text_length": null, - "name": "Name", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "bb81a11d-886c-2a32-e480-29f01cea667f", - "id": "1e409b88-b6d0-5aed-8329-b879289b2975", - "codename": "name" - }, - { - "maximum_text_length": null, - "name": "Street", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "f7eb7ab2-4e41-aca0-7e93-dbbbdca330eb", - "id": "0e704f9d-0712-5c17-815f-c80bf42fbe39", - "codename": "street" - }, - { - "maximum_text_length": null, - "name": "City", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "95477abc-d6b4-a6b3-5b72-c92763da55bf", - "id": "b0a0642c-473d-5135-b646-f6f46fbeccc9", - "codename": "city" - }, - { - "maximum_text_length": null, - "name": "Country", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "4fbc7779-652d-7716-2673-7419aaaceed1", - "id": "abd69a6e-eae1-5b2f-a4db-93fc42f2e51a", - "codename": "country" - }, - { - "maximum_text_length": null, - "name": "State", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "08df2f10-52b8-d451-fab1-b6da8ddb3fd2", - "id": "6745d2f0-1c6e-5aa7-a89e-80b6ade49dac", - "codename": "state" - }, - { - "maximum_text_length": null, - "name": "Zip code", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "e7141da8-8792-a66d-d1c8-1fe704758393", - "id": "0239121c-5e71-57f0-bcc4-bb5e8dc81dfb", - "codename": "zip_code" - }, - { - "maximum_text_length": null, - "name": "Phone", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "2ac708e2-cd0e-67b0-67f8-71725625dc6d", - "id": "8c2bb075-dbf0-5082-936d-f2c52848add5", - "codename": "phone" - }, - { - "maximum_text_length": null, - "name": "Email", - "guidelines": "", - "is_required": false, - "type": "text", - "external_id": "251dc38f-43a3-d924-a328-8708ecb00ef1", - "id": "c6e4bf03-15e5-5d69-ac12-092594e6f047", - "codename": "email" - } - ] - }, - { - "id": "31c039c6-eae2-5653-97c6-1f4c22bc9f6a", - "codename": "coffee", - "last_modified": "2021-06-02T11:08:27.2714302Z", - "external_id": "929985ac-4aa5-436b-85a2-94c2d4fbbebd", - "name": "Coffee", - "content_groups": [], - "elements": [ - { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", - "type": "guidelines", - "external_id": "8ad0be53-f2c7-db7d-edd8-9927860d4134", - "id": "ea59d9e4-a05b-513f-9910-e5d1efbfb304", - "codename": "n8ad0be53_f2c7_db7d_edd8_9927860d4134" - }, - { - "maximum_text_length": null, - "name": "Product name", - "guidelines": "Include a product display name.", - "is_required": false, - "type": "text", - "external_id": "edaec5c4-e653-9109-eb0d-fc40ccf3c810", - "id": "ed31d584-e2a5-5125-bcd8-343e55937743", - "codename": "product_name" - }, - { - "name": "Price", - "guidelines": "Include a product price.", - "is_required": false, - "type": "number", - "external_id": "624592dc-49b2-330a-7185-e1f2396ce90c", - "id": "434b3e21-7902-52cb-8da8-cadb218efa1e", - "codename": "price" - }, - { - "asset_count_limit": null, - "maximum_file_size": null, - "allowed_file_types": "adjustable", - "image_width_limit": null, - "image_height_limit": null, - "name": "Image", - "guidelines": "Upload a product image; the recommended size is 300 × 300 px.", - "is_required": false, - "type": "asset", - "external_id": "30ac3ccc-1e7f-1490-e1f6-915c64176a55", - "id": "adedd7e6-1cba-57eb-8242-880fc3cab1f4", - "codename": "image" - }, - { - "maximum_text_length": null, - "maximum_image_size": null, - "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Short description", - "guidelines": "Include a short description that fits within 160 characters.", - "is_required": false, - "type": "rich_text", - "external_id": "b5a3263a-a1d7-92b7-865a-329f833285fa", - "id": "25bcabd3-65e3-5f10-86fe-6b3d2c4ebfc1", - "codename": "short_description" - }, - { - "maximum_text_length": null, - "maximum_image_size": null, - "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Long description", - "guidelines": "Include a full product description.", - "is_required": false, - "type": "rich_text", - "external_id": "d468a0aa-e0fa-0cae-41db-6e006bff2527", - "id": "468ead74-1d8e-5aec-8fd4-bdb3a9cfe2c9", - "codename": "long_description" - }, - { - "guidelines": "Add a product status if the product is included in a special offering.", - "taxonomy_group": { - "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" + "guidelines": "Add a product status if the product is included in a special offering.", + "taxonomy_group": { + "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" }, "is_required": false, "term_count_limit": null, @@ -614,88 +451,34 @@ ] }, { - "id": "014f98c0-40e2-5052-8fe1-00740752ce24", - "codename": "about_us", - "last_modified": "2021-06-02T11:08:28.1621546Z", - "external_id": "b2c14f2c-6467-460b-a70b-bca17972a33a", - "name": "About us", + "id": "9a622a46-e299-5d1c-b9e0-45ddf3f95803", + "codename": "cafe", + "last_modified": "2021-06-02T11:08:27.3964586Z", + "external_id": "fe41ae5a-5fe2-420a-8560-f7d6d3533dc2", + "name": "Cafe", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", - "external_id": "1a0d5bc9-a269-e705-494d-f9657cf113a5", - "id": "14f8fb57-6d36-530d-a417-cb523858e438", - "codename": "n1a0d5bc9_a269_e705_494d_f9657cf113a5" + "external_id": "2f836bce-e062-b2cd-5265-f5c3be3aa6f5", + "id": "7460f472-b814-5a53-9dea-2d1db5ccea98", + "codename": "n2f836bce_e062_b2cd_5265_f5c3be3aa6f5" }, { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Facts", - "guidelines": "Assign all facts about our company which will be displayed on the about us page.", + "maximum_text_length": null, + "name": "Street", + "guidelines": null, "is_required": false, - "type": "modular_content", - "external_id": "cff560dc-ed24-7036-cbb6-b7a1b61b196a", - "id": "2cce36cd-3aac-5fee-9b6a-c071257aab24", - "codename": "facts" + "type": "text", + "external_id": "866afdba-d334-f01a-1d52-a9ca3f57cb4b", + "id": "3f7a5449-2f87-5e61-acf9-dc66d45a6516", + "codename": "street" }, { - "depends_on": { - "snippet": { - "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" - }, - "element": { - "id": "f85f9ef6-ced1-5f04-9d92-163349d50e36" - } - }, - "name": "URL pattern", - "guidelines": "Provide a SEO-friendly URL.", - "is_required": false, - "type": "url_slug", - "external_id": "50cb9acf-45f5-a186-5c00-9a9e4a37d84a", - "id": "0db832ad-1ad4-5a0a-882b-9b2dd9194d4e", - "codename": "url_pattern" - }, - { - "snippet": { - "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" - }, - "type": "snippet", - "external_id": "a8131aca-9210-a0e4-6239-3af2231f7ca9", - "id": "64d55a22-9997-5c6f-a5ba-24eb261e8979", - "codename": "metadata" - } - ] - }, - { - "id": "9a622a46-e299-5d1c-b9e0-45ddf3f95803", - "codename": "cafe", - "last_modified": "2021-06-02T11:08:27.3964586Z", - "external_id": "fe41ae5a-5fe2-420a-8560-f7d6d3533dc2", - "name": "Cafe", - "content_groups": [], - "elements": [ - { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", - "type": "guidelines", - "external_id": "2f836bce-e062-b2cd-5265-f5c3be3aa6f5", - "id": "7460f472-b814-5a53-9dea-2d1db5ccea98", - "codename": "n2f836bce_e062_b2cd_5265_f5c3be3aa6f5" - }, - { - "maximum_text_length": null, - "name": "Street", - "guidelines": null, - "is_required": false, - "type": "text", - "external_id": "866afdba-d334-f01a-1d52-a9ca3f57cb4b", - "id": "3f7a5449-2f87-5e61-acf9-dc66d45a6516", - "codename": "street" - }, - { - "maximum_text_length": null, - "name": "City", - "guidelines": null, + "maximum_text_length": null, + "name": "City", + "guidelines": null, "is_required": false, "type": "text", "external_id": "339e6d4f-67c1-5f5e-6921-3b374eb96f5b", @@ -768,6 +551,60 @@ } ] }, + { + "id": "014f98c0-40e2-5052-8fe1-00740752ce24", + "codename": "about_us", + "last_modified": "2021-06-02T11:08:28.1621546Z", + "external_id": "b2c14f2c-6467-460b-a70b-bca17972a33a", + "name": "About us", + "content_groups": [], + "elements": [ + { + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "type": "guidelines", + "external_id": "1a0d5bc9-a269-e705-494d-f9657cf113a5", + "id": "14f8fb57-6d36-530d-a417-cb523858e438", + "codename": "n1a0d5bc9_a269_e705_494d_f9657cf113a5" + }, + { + "item_count_limit": null, + "allowed_content_types": [], + "name": "Facts", + "guidelines": "Assign all facts about our company which will be displayed on the about us page.", + "is_required": false, + "type": "modular_content", + "external_id": "cff560dc-ed24-7036-cbb6-b7a1b61b196a", + "id": "2cce36cd-3aac-5fee-9b6a-c071257aab24", + "codename": "facts" + }, + { + "depends_on": { + "snippet": { + "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" + }, + "element": { + "id": "f85f9ef6-ced1-5f04-9d92-163349d50e36" + } + }, + "name": "URL pattern", + "guidelines": "Provide a SEO-friendly URL.", + "is_required": false, + "type": "url_slug", + "external_id": "50cb9acf-45f5-a186-5c00-9a9e4a37d84a", + "id": "0db832ad-1ad4-5a0a-882b-9b2dd9194d4e", + "codename": "url_pattern" + }, + { + "snippet": { + "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" + }, + "type": "snippet", + "external_id": "a8131aca-9210-a0e4-6239-3af2231f7ca9", + "id": "64d55a22-9997-5c6f-a5ba-24eb261e8979", + "codename": "metadata" + } + ] + }, { "id": "17ff8a28-ebe6-5c9d-95ea-18fe1ff86d2d", "codename": "tweet", @@ -837,170 +674,255 @@ ] }, { - "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7", - "codename": "article", - "last_modified": "2021-07-26T14:58:19.1748311Z", - "external_id": "b7aa4a53-d9b1-48cf-b7a6-ed0b182c4b89", - "name": "Article", + "id": "02c151a5-028e-5eb9-b6e1-cf3908f54694", + "codename": "office", + "last_modified": "2021-06-02T11:08:26.7714235Z", + "external_id": "e097306b-3893-4a42-9973-2525fad14d66", + "name": "Office", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

\n

Guidelines sample

\n

All articles will be displayed in the same section of the web site. Stick to an informal tone of voice when writing articles.

\n

Use the following keywords: grinders, dripper, coffee.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", - "external_id": "2a3a744e-0529-dd13-793c-9e668133d48b", - "id": "f9f65756-5ed8-55ed-9d2a-43f9fe7974cd", - "codename": "n2a3a744e_0529_dd13_793c_9e668133d48b" + "external_id": "dc7e08ba-3279-9cc8-629b-8e258624c4d1", + "id": "add319f7-ae94-547d-91ec-23fbe42ef044", + "codename": "guidelines" }, { "maximum_text_length": null, - "name": "Title", - "guidelines": "The title should fit within 60 characters.\nOur voice and tone recommendations:\n — avoid coffee jargon.", + "name": "Name", + "guidelines": "", "is_required": false, "type": "text", - "external_id": "85d5efc6-f47e-2fde-a6f5-0950fe89ecd1", - "id": "ba7c8840-bcbc-5e3b-b292-24d0a60f3977", - "codename": "title" - }, - { - "source_url": "https://example.com", - "json_parameters": null, - "allowed_elements": [], - "name": "SelectedForm", - "guidelines": null, - "is_required": false, - "type": "custom", - "id": "47bf7d6d-285d-4ed0-9919-1d1a98b43acd", - "codename": "selectedform" + "external_id": "bb81a11d-886c-2a32-e480-29f01cea667f", + "id": "1e409b88-b6d0-5aed-8329-b879289b2975", + "codename": "name" }, { - "name": "Rating", - "guidelines": null, + "maximum_text_length": null, + "name": "Street", + "guidelines": "", "is_required": false, - "type": "number", - "id": "773940f4-9e67-4a26-a93f-67e55fd7d837", - "codename": "rating" + "type": "text", + "external_id": "f7eb7ab2-4e41-aca0-7e93-dbbbdca330eb", + "id": "0e704f9d-0712-5c17-815f-c80bf42fbe39", + "codename": "street" }, { - "mode": "multiple", - "options": [ - { - "id": "00c0f86a-7c51-4e60-abeb-a150e9092e53", - "codename": "paid", - "name": "Paid" - }, - { - "id": "8972dc90-ae2e-416e-995d-95df6c77e3b2", - "codename": "featured", - "name": "Featured" - } - ], - "name": "Options", - "guidelines": null, + "maximum_text_length": null, + "name": "City", + "guidelines": "", "is_required": false, - "type": "multiple_choice", - "id": "53a25074-b136-4a1f-a16d-3c130f696c66", - "codename": "options" + "type": "text", + "external_id": "95477abc-d6b4-a6b3-5b72-c92763da55bf", + "id": "b0a0642c-473d-5135-b646-f6f46fbeccc9", + "codename": "city" }, { - "asset_count_limit": null, - "maximum_file_size": null, - "allowed_file_types": "adjustable", - "image_width_limit": null, - "image_height_limit": null, - "name": "Teaser image", - "guidelines": "Upload an image at a resolution of at least 600 × 1200 px.", + "maximum_text_length": null, + "name": "Country", + "guidelines": "", "is_required": false, - "type": "asset", - "external_id": "62eb9881-e222-6b81-91d2-fdf052726414", - "id": "9c6a4fbc-3f73-585f-9521-8d57636adf56", - "codename": "teaser_image" + "type": "text", + "external_id": "4fbc7779-652d-7716-2673-7419aaaceed1", + "id": "abd69a6e-eae1-5b2f-a4db-93fc42f2e51a", + "codename": "country" }, { - "name": "Post date", - "guidelines": "Provide a date that will appear on the live site as the date this article was posted live. This date will also influence the order of the articles. ", + "maximum_text_length": null, + "name": "State", + "guidelines": "", "is_required": false, - "type": "date_time", - "external_id": "4ae5f7a9-fe1f-1e8c-bfec-d321455139c4", - "id": "0827e079-3754-5a1d-9381-8ff695a5bbf7", - "codename": "post_date" + "type": "text", + "external_id": "08df2f10-52b8-d451-fab1-b6da8ddb3fd2", + "id": "6745d2f0-1c6e-5aa7-a89e-80b6ade49dac", + "codename": "state" }, { "maximum_text_length": null, - "name": "Summary", - "guidelines": "Provide a short summary of the text. It should be catchy and make the visitor want to read the whole article.\nThe summary should fit within 160 characters.", + "name": "Zip code", + "guidelines": "", "is_required": false, "type": "text", - "external_id": "90550cbe-7bff-40a9-2947-9c81489fe562", - "id": "15517aa3-da8a-5551-a4d4-555461fd5226", - "codename": "summary" + "external_id": "e7141da8-8792-a66d-d1c8-1fe704758393", + "id": "0239121c-5e71-57f0-bcc4-bb5e8dc81dfb", + "codename": "zip_code" }, { "maximum_text_length": null, - "maximum_image_size": null, - "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Body Copy", - "guidelines": "Keep the article structured with concise paragraphs complemented with headlines that will help the reader navigate through the article's content.\nPreferred glossary terms — coffee, brewing, grinder, drip, roast, filter.", + "name": "Phone", + "guidelines": "", "is_required": false, - "type": "rich_text", - "external_id": "108ed7c0-fc8c-c0ec-d0b5-5a8071408b54", - "id": "55a88ab3-4009-5bf9-a590-f32162f09b92", - "codename": "body_copy" - }, - { - "item_count_limit": null, - "allowed_content_types": [], - "name": "Related articles", - "guidelines": "Provide articles with related topics. ", - "is_required": true, - "type": "modular_content", - "external_id": "ee7c3687-b469-6c56-3ac6-c8dfdc8b58b5", - "id": "77108990-3c30-5ffb-8dcd-8eb85fc52cb1", - "codename": "related_articles" + "type": "text", + "external_id": "2ac708e2-cd0e-67b0-67f8-71725625dc6d", + "id": "8c2bb075-dbf0-5082-936d-f2c52848add5", + "codename": "phone" }, { "maximum_text_length": null, - "name": "Meta keywords", - "guidelines": "Enter tags separated with a comma. Example: coffee, \"coffee roast”, grinder", + "name": "Email", + "guidelines": "", "is_required": false, "type": "text", - "external_id": "5efb2425-5987-a4a6-a2d3-b14712b56e73", - "id": "0ee20a72-0aaa-521f-8801-df3d9293b7dd", - "codename": "meta_keywords" - }, - { - "guidelines": "Provide all personas for which this article is relevant.", - "taxonomy_group": { - "id": "7fad4cb0-c96c-5bce-a6c4-ec02a0280632" + "external_id": "251dc38f-43a3-d924-a328-8708ecb00ef1", + "id": "c6e4bf03-15e5-5d69-ac12-092594e6f047", + "codename": "email" + } + ] + }, + { + "id": "2aac8b91-0b3b-5bf4-aae6-7e3f23c461cf", + "codename": "hosted_video", + "last_modified": "2021-06-02T11:08:27.5839673Z", + "external_id": "269202ad-1d9d-47fd-b3e8-bdb05b3e3cf0", + "name": "Hosted video", + "content_groups": [], + "elements": [ + { + "maximum_text_length": null, + "name": "Video ID", + "guidelines": "", + "is_required": true, + "type": "text", + "external_id": "116a2441-6441-7124-c85b-46a4fef5dcb9", + "id": "5eb37505-779c-5698-9ad5-32d274acbf7b", + "codename": "video_id" + }, + { + "mode": "single", + "options": [ + { + "id": "d10c9c1f-e6d8-5f8d-a5ee-17e8971398a9", + "codename": "youtube", + "name": "YouTube", + "external_id": "523e6231-8d80-a158-3601-dffde4e64a78" + }, + { + "id": "d8449cb2-db62-5768-8451-690c4478003a", + "codename": "vimeo", + "name": "Vimeo", + "external_id": "d66ffa49-86ff-eeaa-c33b-e5d9eefe8b81" + } + ], + "name": "Video host", + "guidelines": "", + "is_required": true, + "type": "multiple_choice", + "external_id": "87924912-4861-aa84-176a-1eae7b22529b", + "id": "d03dea5c-9d55-549f-8323-52349444ae71", + "codename": "video_host" + } + ] + }, + { + "id": "ed8f75df-fc02-5627-80fb-7a54563fa395", + "codename": "brewer", + "last_modified": "2021-06-02T11:08:26.8651707Z", + "external_id": "7bc932b3-ce2a-4aa7-954e-04cbcbd214fc", + "name": "Brewer", + "content_groups": [], + "elements": [ + { + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "type": "guidelines", + "external_id": "f36c8ba2-fad1-60d1-147e-b00623dd71a8", + "id": "9e719b3b-4432-51e6-849e-aabe4baefa35", + "codename": "f36c8ba2_fad1_60d1_147e_b00623dd71a8" + }, + { + "maximum_text_length": null, + "name": "Product name", + "guidelines": "Include a product display name.", + "is_required": false, + "type": "text", + "external_id": "01d6c6c7-92ff-a675-e413-861e5a9a4034", + "id": "ae819df3-b549-5f89-b235-d692806f1f6c", + "codename": "product_name" + }, + { + "name": "Price", + "guidelines": "Include a product price.", + "is_required": false, + "type": "number", + "external_id": "48ebe0fc-afe7-2b93-d351-0e352332bc52", + "id": "45ec9b9c-6db9-5458-98e2-bab3e59ab62c", + "codename": "price" + }, + { + "asset_count_limit": null, + "maximum_file_size": null, + "allowed_file_types": "adjustable", + "image_width_limit": null, + "image_height_limit": null, + "name": "Image", + "guidelines": "Upload one product image; the recommended size is 300 × 300 px.", + "is_required": false, + "type": "asset", + "external_id": "d0c1e9e7-7d5d-e61f-8564-56a8cb758cb8", + "id": "3efe3435-c451-50da-bfb1-1f5f70809d73", + "codename": "image" + }, + { + "guidelines": "Add a product status if the product is included in a special offering.", + "taxonomy_group": { + "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" }, "is_required": false, "term_count_limit": null, "type": "taxonomy", - "external_id": "0a16b642-ac3e-584d-a45a-ba354a30b2bd", - "id": "c1dc36b5-558d-55a2-8f31-787430a68e4d", - "codename": "personas" + "external_id": "960d0011-ff3b-41ac-1447-8eac6ee66eaa", + "id": "2776d0ce-df89-582a-a532-e2250e8d534e", + "codename": "product_status" }, { "maximum_text_length": null, - "name": "Meta description", - "guidelines": "Sum up the blog for SEO purposes. Limit for the meta description is 160 characters.", + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "any", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Short description", + "guidelines": "Include a short description that fits within 160 characters.", "is_required": false, - "type": "text", - "external_id": "b9dc537c-2518-e4f5-8325-ce4fce26171e", - "id": "7df0048f-eaaf-50f8-85cf-fa0fc0d6d815", - "codename": "meta_description" + "type": "rich_text", + "external_id": "8c235a7f-034e-f803-e612-9c47c8a49506", + "id": "a1c3a174-6c98-57b0-8e90-70994853143c", + "codename": "short_description" + }, + { + "maximum_text_length": null, + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "adjustable", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Long description", + "guidelines": "Include a full product description.", + "is_required": false, + "type": "rich_text", + "external_id": "14510bef-fd86-7d5d-992a-c1e091cbcb97", + "id": "c06d8ee5-bc73-5d51-b2f2-d9185ec8a53f", + "codename": "long_description" }, { "depends_on": { @@ -1015,17 +937,29 @@ "guidelines": "Provide a SEO-friendly URL.", "is_required": false, "type": "url_slug", - "external_id": "f2ff5e3f-a9ca-4604-58b0-34a2ad6a7cf1", - "id": "1f37e15b-27a0-5f48-b314-03b401c19cee", + "external_id": "737c85be-f532-c8fe-a308-2a0f2c512f3e", + "id": "7da55a24-dba1-5655-88b3-9a0518b4b8d8", "codename": "url_pattern" }, + { + "guidelines": null, + "taxonomy_group": { + "id": "f6851a6e-a342-5253-8bc6-e8abc8f56b15" + }, + "is_required": false, + "term_count_limit": null, + "type": "taxonomy", + "external_id": "53b6bddb-fe8a-a8b2-9765-343479bf9fc2", + "id": "8147a6c7-b048-5398-baec-611a1aee3e6a", + "codename": "manufacturer" + }, { "snippet": { "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" }, "type": "snippet", - "external_id": "08c3994a-02f2-1278-7bed-e8fd9d26f3a4", - "id": "328810f4-7209-504e-b676-b4d48d11a6fb", + "external_id": "86fb5937-e145-d13b-9aa2-4284a0e826ce", + "id": "aa345b0a-947f-5123-af8e-d5f9f95485f9", "codename": "metadata" } ] @@ -1039,7 +973,7 @@ "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content entry. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content entry. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", "external_id": "14cba67c-fc38-63f9-93c7-c29c03c20292", "id": "55bd6dec-5390-5b65-91fa-a1532cb8153a", @@ -1083,47 +1017,225 @@ "name": "Manufacturer", "guidelines": "Include a manufacturer's name.", "is_required": false, - "type": "text", - "external_id": "2c389736-7dfa-b03e-8996-7eba451cfdb5", - "id": "69e47b7b-5135-5c40-ad2d-abbfcb1d871e", - "codename": "manufacturer" + "type": "text", + "external_id": "2c389736-7dfa-b03e-8996-7eba451cfdb5", + "id": "69e47b7b-5135-5c40-ad2d-abbfcb1d871e", + "codename": "manufacturer" + }, + { + "guidelines": "Add a product status if the product is included in a special offering.", + "taxonomy_group": { + "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" + }, + "is_required": false, + "term_count_limit": null, + "type": "taxonomy", + "external_id": "54120e88-82cc-2202-e72d-9cae0ced3f51", + "id": "a8160201-d60f-5944-8ed8-21810001d9e2", + "codename": "product_status" + }, + { + "maximum_text_length": null, + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "any", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Short description", + "guidelines": "Include a short description that fits within 160 characters.", + "is_required": false, + "type": "rich_text", + "external_id": "23ee310f-9732-9193-ad5e-80f75bfc276d", + "id": "2a2b1070-b2fe-5497-8c06-654af5feaf34", + "codename": "short_description" + }, + { + "maximum_text_length": null, + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "any", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Long description", + "guidelines": "Include a full product description.", + "is_required": false, + "type": "rich_text", + "external_id": "21e77286-e87b-d6e3-902d-13b5814b5e75", + "id": "bf7f428c-a3d4-507b-b30e-d826415c76e9", + "codename": "long_description" + }, + { + "depends_on": { + "snippet": { + "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" + }, + "element": { + "id": "f85f9ef6-ced1-5f04-9d92-163349d50e36" + } + }, + "name": "URL pattern", + "guidelines": "Provide a SEO-friendly URL.", + "is_required": false, + "type": "url_slug", + "external_id": "bf6ad588-11e5-ba0d-2c18-ccd50064a32a", + "id": "dab8d1dd-2503-54d5-9765-15f16b7cc8ff", + "codename": "url_pattern" + }, + { + "snippet": { + "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" + }, + "type": "snippet", + "external_id": "75c6b7ad-eabf-e936-2843-bd31f0cfff1d", + "id": "15305a25-375f-58c9-8136-892648686cdf", + "codename": "metadata" + } + ] + }, + { + "id": "94dfdc89-729d-53c1-896b-5991e7f0e9ec", + "codename": "hero_unit", + "last_modified": "2021-06-02T11:08:28.0683463Z", + "external_id": "f4deeb7e-fe9b-49a2-a5f6-a51a9be6ac73", + "name": "Hero Unit", + "content_groups": [], + "elements": [ + { + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "type": "guidelines", + "external_id": "333df39a-c14c-1865-0f59-69098e3a7084", + "id": "0879d9b0-5566-503d-97a1-1f4432381e76", + "codename": "n333df39a_c14c_1865_0f59_69098e3a7084" + }, + { + "maximum_text_length": null, + "name": "Title", + "guidelines": "Provide a title that fits within 60 characters.", + "is_required": false, + "type": "text", + "external_id": "16ea3e64-4103-da81-eabd-af7efc2ab8a6", + "id": "b1adc401-61e0-5aa5-9631-c08698732474", + "codename": "title" + }, + { + "asset_count_limit": null, + "maximum_file_size": null, + "allowed_file_types": "adjustable", + "image_width_limit": null, + "image_height_limit": null, + "name": "Image", + "guidelines": "Attach a teaser image; max. dimensions are 1280 × 600 px; allowed formats are *.jpg, *.png, *.gif.", + "is_required": false, + "type": "asset", + "external_id": "4aeed98e-58d1-ab13-232c-542bf268fe48", + "id": "e2782730-d32a-5506-b6c3-e89a02b9e078", + "codename": "image" + }, + { + "maximum_text_length": null, + "maximum_image_size": null, + "allowed_content_types": [], + "image_width_limit": null, + "image_height_limit": null, + "allowed_image_types": "any", + "allowed_blocks": [], + "allowed_formatting": [], + "allowed_text_blocks": [], + "allowed_table_blocks": [ + "text" + ], + "allowed_table_formatting": [], + "allowed_table_text_blocks": [ + "paragraph" + ], + "name": "Marketing message", + "guidelines": "Include a main goal of our business. The limit is 80 characters.", + "is_required": false, + "type": "rich_text", + "external_id": "ecf4e55f-1ae0-f539-3516-5714a0f032e9", + "id": "5a5e63ba-5e73-5075-888c-8c92062b0e87", + "codename": "marketing_message" + } + ] + }, + { + "id": "069aa172-cee9-51b4-910b-9978c2d991b1", + "codename": "home", + "last_modified": "2021-06-02T11:08:27.4745834Z", + "external_id": "a29399c3-5281-47ab-9916-acd4a6f887b7", + "name": "Home", + "content_groups": [], + "elements": [ + { + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations, or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

Home page is modular

The home page is built of multiple content items based on smaller content types to embrace a modular approach. This lets you compose pages of independent modules.

For example, a Hero unit,  Articles, or Fact about us are smaller content chunks that you can create independently and then assign to a homepage to have it all together.

", + "type": "guidelines", + "external_id": "9367da14-3d08-4ed1-4841-24bf8055f916", + "id": "4cb65a0b-3747-51db-a6f3-c0bb90b70b1a", + "codename": "n9367da14_3d08_4ed1_4841_24bf8055f916" + }, + { + "item_count_limit": null, + "allowed_content_types": [], + "name": "Hero unit", + "guidelines": "Assign 1 Hero unit that has been prepared for a home page. ", + "is_required": false, + "type": "modular_content", + "external_id": "2b15a8f3-2e5f-7d01-4d8e-5b22e222aa76", + "id": "5a1f5c5e-b2ff-5cf2-927e-80aa2d6d2e40", + "codename": "hero_unit" + }, + { + "item_count_limit": null, + "allowed_content_types": [], + "name": "Articles", + "guidelines": "Assign all articles which should be displayed on the home page.", + "is_required": false, + "type": "modular_content", + "external_id": "222f3a69-a54f-3e92-83ac-05f8a08e667f", + "id": "d1d8d364-7bf0-5c0f-b763-f261fb5d175d", + "codename": "articles" }, { - "guidelines": "Add a product status if the product is included in a special offering.", - "taxonomy_group": { - "id": "ce444e2a-4194-5878-81b9-4447b0b2357b" - }, + "item_count_limit": null, + "allowed_content_types": [], + "name": "Our story", + "guidelines": "Assign 1 Fact about us which will be displayed on the home page.", "is_required": false, - "term_count_limit": null, - "type": "taxonomy", - "external_id": "54120e88-82cc-2202-e72d-9cae0ced3f51", - "id": "a8160201-d60f-5944-8ed8-21810001d9e2", - "codename": "product_status" + "type": "modular_content", + "external_id": "617bccc0-4844-4beb-4ede-6247e954633a", + "id": "9e239a77-a610-5c29-898e-379932980b0a", + "codename": "our_story" }, { - "maximum_text_length": null, - "maximum_image_size": null, + "item_count_limit": null, "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Short description", - "guidelines": "Include a short description that fits within 160 characters.", + "name": "Cafes", + "guidelines": "Assign 4 Cafes which will be displayed on the home page.", "is_required": false, - "type": "rich_text", - "external_id": "23ee310f-9732-9193-ad5e-80f75bfc276d", - "id": "2a2b1070-b2fe-5497-8c06-654af5feaf34", - "codename": "short_description" + "type": "modular_content", + "external_id": "6356c948-0fd6-00d0-8fc1-e2484180ae7c", + "id": "aa4aed47-18c7-59a2-a28f-ad2204509f70", + "codename": "cafes" }, { "maximum_text_length": null, @@ -1142,13 +1254,13 @@ "allowed_table_text_blocks": [ "paragraph" ], - "name": "Long description", - "guidelines": "Include a full product description.", + "name": "Contact", + "guidelines": "Add Contact us information to be displayed on the home page.", "is_required": false, "type": "rich_text", - "external_id": "21e77286-e87b-d6e3-902d-13b5814b5e75", - "id": "bf7f428c-a3d4-507b-b30e-d826415c76e9", - "codename": "long_description" + "external_id": "ee854076-236b-5312-0ed5-8c3cd55ca9e0", + "id": "9aea8064-c23c-5c0c-9119-3bc2b1470a90", + "codename": "contact" }, { "depends_on": { @@ -1163,8 +1275,8 @@ "guidelines": "Provide a SEO-friendly URL.", "is_required": false, "type": "url_slug", - "external_id": "bf6ad588-11e5-ba0d-2c18-ccd50064a32a", - "id": "dab8d1dd-2503-54d5-9765-15f16b7cc8ff", + "external_id": "dd70db4b-ee97-5ab4-b752-4f9d70389426", + "id": "61ab1348-3d94-5c0b-84b8-444529bbf8dc", "codename": "url_pattern" }, { @@ -1172,26 +1284,26 @@ "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" }, "type": "snippet", - "external_id": "75c6b7ad-eabf-e936-2843-bd31f0cfff1d", - "id": "15305a25-375f-58c9-8136-892648686cdf", + "external_id": "255d6748-ba3a-1b59-af5c-afd4a7d6cb4f", + "id": "ff8f4177-08d7-5494-9edb-60142a01891c", "codename": "metadata" } ] }, { - "id": "ed8f75df-fc02-5627-80fb-7a54563fa395", - "codename": "brewer", - "last_modified": "2021-06-02T11:08:26.8651707Z", - "external_id": "7bc932b3-ce2a-4aa7-954e-04cbcbd214fc", - "name": "Brewer", + "id": "a9591fcd-a8c4-561d-ae2a-626ebcb766ad", + "codename": "accessory", + "last_modified": "2021-06-02T11:08:27.162074Z", + "external_id": "d9748663-f567-4c51-a922-c24a1d6b935a", + "name": "Accessory", "content_groups": [], "elements": [ { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", + "guidelines": "

Keep Guidelines where the creative process happens.

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", "type": "guidelines", - "external_id": "f36c8ba2-fad1-60d1-147e-b00623dd71a8", - "id": "9e719b3b-4432-51e6-849e-aabe4baefa35", - "codename": "f36c8ba2_fad1_60d1_147e_b00623dd71a8" + "external_id": "327e98b0-f269-c0e5-230a-46b7d0be0f45", + "id": "6d73a092-aace-57d3-a8ea-676421fea646", + "codename": "n327e98b0_f269_c0e5_230a_46b7d0be0f45" }, { "maximum_text_length": null, @@ -1199,8 +1311,8 @@ "guidelines": "Include a product display name.", "is_required": false, "type": "text", - "external_id": "01d6c6c7-92ff-a675-e413-861e5a9a4034", - "id": "ae819df3-b549-5f89-b235-d692806f1f6c", + "external_id": "f9e2672c-5035-412e-3985-d6112b3781bd", + "id": "ebc9437c-cd20-5a0c-9f82-a819617b3809", "codename": "product_name" }, { @@ -1208,8 +1320,8 @@ "guidelines": "Include a product price.", "is_required": false, "type": "number", - "external_id": "48ebe0fc-afe7-2b93-d351-0e352332bc52", - "id": "45ec9b9c-6db9-5458-98e2-bab3e59ab62c", + "external_id": "51d63ac3-d40d-15ea-c219-be207714077c", + "id": "8132b5ea-b770-5024-bce8-11ce35960054", "codename": "price" }, { @@ -1222,10 +1334,20 @@ "guidelines": "Upload one product image; the recommended size is 300 × 300 px.", "is_required": false, "type": "asset", - "external_id": "d0c1e9e7-7d5d-e61f-8564-56a8cb758cb8", - "id": "3efe3435-c451-50da-bfb1-1f5f70809d73", + "external_id": "f0db12e6-86e4-8597-903b-c5984076d6b3", + "id": "1163fd00-bf10-5aa7-b635-d6e12047f9dc", "codename": "image" }, + { + "maximum_text_length": null, + "name": "Manufacturer", + "guidelines": "Include a manufacturer's name.", + "is_required": false, + "type": "text", + "external_id": "ab75ff46-b629-5ce5-aac9-79ed8a7b869c", + "id": "fec42a2e-82e6-54ce-a097-9ef03597f582", + "codename": "manufacturer" + }, { "guidelines": "Add a product status if the product is included in a special offering.", "taxonomy_group": { @@ -1234,8 +1356,8 @@ "is_required": false, "term_count_limit": null, "type": "taxonomy", - "external_id": "960d0011-ff3b-41ac-1447-8eac6ee66eaa", - "id": "2776d0ce-df89-582a-a532-e2250e8d534e", + "external_id": "ef13b1f4-b558-f707-35a4-86146dbe4518", + "id": "8a7948e1-4998-561e-a540-0f7533c73cce", "codename": "product_status" }, { @@ -1259,8 +1381,8 @@ "guidelines": "Include a short description that fits within 160 characters.", "is_required": false, "type": "rich_text", - "external_id": "8c235a7f-034e-f803-e612-9c47c8a49506", - "id": "a1c3a174-6c98-57b0-8e90-70994853143c", + "external_id": "9740e2d0-87e8-52f5-ff4c-566fa00b1253", + "id": "2a211ea9-f9ac-5130-aab1-d231af4f1c13", "codename": "short_description" }, { @@ -1269,7 +1391,7 @@ "allowed_content_types": [], "image_width_limit": null, "image_height_limit": null, - "allowed_image_types": "adjustable", + "allowed_image_types": "any", "allowed_blocks": [], "allowed_formatting": [], "allowed_text_blocks": [], @@ -1284,8 +1406,8 @@ "guidelines": "Include a full product description.", "is_required": false, "type": "rich_text", - "external_id": "14510bef-fd86-7d5d-992a-c1e091cbcb97", - "id": "c06d8ee5-bc73-5d51-b2f2-d9185ec8a53f", + "external_id": "1f961774-a589-4e21-9f8e-a8c4908ea476", + "id": "8c7bfa94-82bd-595e-bc48-40a1d82a9974", "codename": "long_description" }, { @@ -1301,142 +1423,20 @@ "guidelines": "Provide a SEO-friendly URL.", "is_required": false, "type": "url_slug", - "external_id": "737c85be-f532-c8fe-a308-2a0f2c512f3e", - "id": "7da55a24-dba1-5655-88b3-9a0518b4b8d8", + "external_id": "69e4af48-f1ac-1146-e6c9-d20d55ca5792", + "id": "c604e5c9-4d23-58dc-b254-fd96c1f6ae0f", "codename": "url_pattern" }, - { - "guidelines": null, - "taxonomy_group": { - "id": "f6851a6e-a342-5253-8bc6-e8abc8f56b15" - }, - "is_required": false, - "term_count_limit": null, - "type": "taxonomy", - "external_id": "53b6bddb-fe8a-a8b2-9765-343479bf9fc2", - "id": "8147a6c7-b048-5398-baec-611a1aee3e6a", - "codename": "manufacturer" - }, { "snippet": { "id": "5482e7b6-9c79-5e81-8c4b-90e172e7ab48" }, "type": "snippet", - "external_id": "86fb5937-e145-d13b-9aa2-4284a0e826ce", - "id": "aa345b0a-947f-5123-af8e-d5f9f95485f9", + "external_id": "8abb0298-218b-de99-ccfe-d49630fad6fd", + "id": "b3400b75-8f6c-5a4c-b566-8f653c711b61", "codename": "metadata" } ] - }, - { - "id": "2aac8b91-0b3b-5bf4-aae6-7e3f23c461cf", - "codename": "hosted_video", - "last_modified": "2021-06-02T11:08:27.5839673Z", - "external_id": "269202ad-1d9d-47fd-b3e8-bdb05b3e3cf0", - "name": "Hosted video", - "content_groups": [], - "elements": [ - { - "maximum_text_length": null, - "name": "Video ID", - "guidelines": "", - "is_required": true, - "type": "text", - "external_id": "116a2441-6441-7124-c85b-46a4fef5dcb9", - "id": "5eb37505-779c-5698-9ad5-32d274acbf7b", - "codename": "video_id" - }, - { - "mode": "single", - "options": [ - { - "id": "d10c9c1f-e6d8-5f8d-a5ee-17e8971398a9", - "codename": "youtube", - "name": "YouTube", - "external_id": "523e6231-8d80-a158-3601-dffde4e64a78" - }, - { - "id": "d8449cb2-db62-5768-8451-690c4478003a", - "codename": "vimeo", - "name": "Vimeo", - "external_id": "d66ffa49-86ff-eeaa-c33b-e5d9eefe8b81" - } - ], - "name": "Video host", - "guidelines": "", - "is_required": true, - "type": "multiple_choice", - "external_id": "87924912-4861-aa84-176a-1eae7b22529b", - "id": "d03dea5c-9d55-549f-8323-52349444ae71", - "codename": "video_host" - } - ] - }, - { - "id": "94dfdc89-729d-53c1-896b-5991e7f0e9ec", - "codename": "hero_unit", - "last_modified": "2021-06-02T11:08:28.0683463Z", - "external_id": "f4deeb7e-fe9b-49a2-a5f6-a51a9be6ac73", - "name": "Hero Unit", - "content_groups": [], - "elements": [ - { - "guidelines": "

Keep Guidelines where the creative process happens.

\n

These are sample guidelines that you can place for the whole content item. It’s a place where you can include your content brief, voice and tone recommendations or the URL to a wireframe, so the author will have all the relevant instructions at hand before writing a single line.

\n

Besides overview guidelines, you can include instructions for each particular content element, as you will see below.

", - "type": "guidelines", - "external_id": "333df39a-c14c-1865-0f59-69098e3a7084", - "id": "0879d9b0-5566-503d-97a1-1f4432381e76", - "codename": "n333df39a_c14c_1865_0f59_69098e3a7084" - }, - { - "maximum_text_length": null, - "name": "Title", - "guidelines": "Provide a title that fits within 60 characters.", - "is_required": false, - "type": "text", - "external_id": "16ea3e64-4103-da81-eabd-af7efc2ab8a6", - "id": "b1adc401-61e0-5aa5-9631-c08698732474", - "codename": "title" - }, - { - "asset_count_limit": null, - "maximum_file_size": null, - "allowed_file_types": "adjustable", - "image_width_limit": null, - "image_height_limit": null, - "name": "Image", - "guidelines": "Attach a teaser image; max. dimensions are 1280 × 600 px; allowed formats are *.jpg, *.png, *.gif.", - "is_required": false, - "type": "asset", - "external_id": "4aeed98e-58d1-ab13-232c-542bf268fe48", - "id": "e2782730-d32a-5506-b6c3-e89a02b9e078", - "codename": "image" - }, - { - "maximum_text_length": null, - "maximum_image_size": null, - "allowed_content_types": [], - "image_width_limit": null, - "image_height_limit": null, - "allowed_image_types": "any", - "allowed_blocks": [], - "allowed_formatting": [], - "allowed_text_blocks": [], - "allowed_table_blocks": [ - "text" - ], - "allowed_table_formatting": [], - "allowed_table_text_blocks": [ - "paragraph" - ], - "name": "Marketing message", - "guidelines": "Include a main goal of our business. The limit is 80 characters.", - "is_required": false, - "type": "rich_text", - "external_id": "ecf4e55f-1ae0-f539-3516-5714a0f032e9", - "id": "5a5e63ba-5e73-5075-888c-8c92062b0e87", - "codename": "marketing_message" - } - ] } ], "pagination": { diff --git a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderHierarchy_ExistingFolder_94/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderHierarchy_ExistingFolder_94/0_GET/response.json index 5043f186a..6db1b35a1 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderHierarchy_ExistingFolder_94/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderHierarchy_ExistingFolder_94/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["97e47cf67697a24c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:34 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19161-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853635.768397,VS0,VE16"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7f6ea26d1f32d746"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:17 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19149-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861718.913242,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderHierarchy_NonExistingFolder_81/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderHierarchy_NonExistingFolder_81/0_GET/response.json index aec4a8824..ac3f01bce 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderHierarchy_NonExistingFolder_81/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderHierarchy_NonExistingFolder_81/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["8aca8f97f1c3fd4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19171-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853633.077562,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["80ec81d17d59b24b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:16 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19133-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861716.084971,VS0,VE20"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderLinkedTreeSearchByFolderId_57/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderLinkedTreeSearchByFolderId_57/0_GET/response.json index a488d860b..bfced2e31 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderLinkedTreeSearchByFolderId_57/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderLinkedTreeSearchByFolderId_57/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["38b56c9c37871c41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:43 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19136-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.185467,VS0,VE16"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["be2bcc273ab51446"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19149-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.385603,VS0,VE15"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderLinkedTree_43/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderLinkedTree_43/0_GET/response.json index ce124cae7..0b2cb8672 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderLinkedTree_43/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderLinkedTree_43/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["eb15cfad3e9ab240"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:52 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19183-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.586015,VS0,VE15"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["8fdcf2499371cc44"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:36 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19139-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.590916,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderPathString_107/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderPathString_107/0_GET/response.json index ba0279fe2..738b6ec7f 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderPathString_107/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListFolders_GetFolderPathString_107/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["239bee30210e0a44"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:41 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.041474,VS0,VE30"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["8de6938a2fd3a945"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861724.405327,VS0,VE20"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListFolders_ListFolders_32/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListFolders_ListFolders_32/0_GET/response.json index cad59177b..03a032cb5 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListFolders_ListFolders_32/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListFolders_ListFolders_32/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9c9fab71b3a35d42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:42 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19162-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853643.687611,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["969"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9bdf4da4791a1749"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19132-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.768983,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/folders","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListLanguages_ListsLanguages_16/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListLanguages_ListsLanguages_16/0_GET/response.json index 5d6367f60..9f60c3813 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListLanguages_ListsLanguages_16/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListLanguages_ListsLanguages_16/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["989"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["044a1b3d77c24747"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.363065,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["989"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c6126971b7b45845"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19127-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.472116,VS0,VE18"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListStronglyTypedContentItemVariants_ById_ListsVariants_534/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListStronglyTypedContentItemVariants_ById_ListsVariants_534/0_GET/response.json index 320f173b6..375a82019 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListStronglyTypedContentItemVariants_ById_ListsVariants_534/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListStronglyTypedContentItemVariants_ById_ListsVariants_534/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["14026"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2a2e2cdf2472cb40"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19124-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853633.394417,VS0,VE20"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["14026"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9f349dd494815942"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:16 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19123-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861716.431505,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListStronglyTypedContentItemVariants_ById_ListsVariants_534/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListStronglyTypedContentItemVariants_ById_ListsVariants_534/0_GET/response_content.json index aa891fcfd..5d8fb3b3a 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListStronglyTypedContentItemVariants_ById_ListsVariants_534/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListStronglyTypedContentItemVariants_ById_ListsVariants_534/0_GET/response_content.json @@ -95,7 +95,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

There’s nothing complicated about roasting. It’s as easy as baking a pie, maybe even simpler as there’s just one ingredient. What’s complicated is fine-tuning the whole process to perfection. It’s also a huge responsibility. You can easily ruin something that’s been in the works for months and has been perfect up until now.

\n

Light Roasts

\n

Usually roasted for 6-8 minutes or simply until achieving a light brown color. This method is used for milder coffee varieties and for coffee tasting. This type of roasting allows the natural characteristics of each coffee to show. The aroma of coffees produced from light roasts is usually more intense. The cup itself is more acidic and the concentration of caffeine is higher.

\n\n

Medium roast

\n

These exempt a stronger flavor than light roasts. The beans are still more matte than oily. Caffeine contents are decreased. Medium roasts lack the grainy taste of lighter roasts. You also get a more balanced flavor, aroma and acidity.

\n

Dark Roasts

\n

Dark roast beans are achieved by a 12-13 minute roasting process. The beans have a heavier body, a surface that appears a little oily and a somewhat shiny. Darker roasts have a more chocolate-like flavor. The sugars in the coffee caramelize more than with light roasts and make their way to the surface of the bean. This makes the beans less acidic as well.

\n

To put it in points, these are general rules that apply to different levels of roasts:

\n\n

You can easily imprint your own signature into each coffee that you make during the roasting process. At Dancing Goat, though, we choose to instead highlight what makes of the varietal great and unique.

" + "value": "

There’s nothing complicated about roasting. It’s as easy as baking a pie, maybe even simpler as there’s just one ingredient. What’s complicated is fine-tuning the whole process to perfection. It’s also a huge responsibility. You can easily ruin something that’s been in the works for months and has been perfect up until now.

Light Roasts

Usually roasted for 6-8 minutes or simply until achieving a light brown color. This method is used for milder coffee varieties and for coffee tasting. This type of roasting allows the natural characteristics of each coffee to show. The aroma of coffees produced from light roasts is usually more intense. The cup itself is more acidic and the concentration of caffeine is higher.

Medium roast

These exempt a stronger flavor than light roasts. The beans are still more matte than oily. Caffeine contents are decreased. Medium roasts lack the grainy taste of lighter roasts. You also get a more balanced flavor, aroma and acidity.

Dark Roasts

Dark roast beans are achieved by a 12-13 minute roasting process. The beans have a heavier body, a surface that appears a little oily and a somewhat shiny. Darker roasts have a more chocolate-like flavor. The sugars in the coffee caramelize more than with light roasts and make their way to the surface of the bean. This makes the beans less acidic as well.

To put it in points, these are general rules that apply to different levels of roasts:

You can easily imprint your own signature into each coffee that you make during the roasting process. At Dancing Goat, though, we choose to instead highlight what makes of the varietal great and unique.

" }, { "element": { @@ -318,7 +318,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -429,6 +429,6 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:30.4264281Z" + "last_modified": "2021-08-13T13:35:12.5571963Z" } ] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/request.json b/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/request.json rename to Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/request_content.json b/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/response.json similarity index 73% rename from Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/response.json rename to Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/response.json index 8eeee3202..2cfc15e74 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["4923"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4e72cf5338c64848"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:49 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19141-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853650.721602,VS0,VE17"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["4923"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["454b39c59e42df42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"x-continuation","Value":[""]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:32 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19139-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861733.688798,VS0,VE16"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_18/0_GET/response_content.json rename to Kentico.Kontent.Management.Tests/Data/ListTaxonomyGroups_ListsTaxonomyGroups_19/0_GET/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ListWebhooks_ListsWebhooks_16/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListWebhooks_ListsWebhooks_16/0_GET/response.json index 6a846d52d..5b8f061fe 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListWebhooks_ListsWebhooks_16/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListWebhooks_ListsWebhooks_16/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["6206"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["83cc615119f5a446"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853653.986862,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["2373"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["81c9b714bb36294e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19127-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861737.977016,VS0,VE121"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/webhooks","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ListWebhooks_ListsWebhooks_16/0_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ListWebhooks_ListsWebhooks_16/0_GET/response_content.json index 53508f17c..9b9744469 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListWebhooks_ListsWebhooks_16/0_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ListWebhooks_ListsWebhooks_16/0_GET/response_content.json @@ -1,140 +1,13 @@ [ { - "last_modified": "2021-08-13T08:31:11.6277196Z", - "id": "3a3b3e3a-2c62-4133-9561-ef88b9adc47e", + "last_modified": "2021-08-13T13:07:17.5729731Z", + "id": "de4e6b0e-18c5-4249-bc6c-1ce65526803f", "name": "disabledWebhook", "url": "http://url", "secret": "secret", - "enabled": false, - "triggers": { - "delivery_api_content_changes": [ - { - "type": "taxonomy", - "operations": [ - "archive", - "restore", - "upsert" - ] - } - ], - "preview_delivery_api_content_changes": [], - "workflow_step_changes": [], - "management_api_content_changes": [] - } - }, - { - "last_modified": "2021-08-12T14:53:31.2222564Z", - "id": "46229f13-a14b-4add-a6be-6b3a4f1c68cd", - "name": "disabledWebhook", - "url": "http://url", - "secret": "secret", - "enabled": true, - "triggers": { - "delivery_api_content_changes": [ - { - "type": "taxonomy", - "operations": [ - "archive", - "restore", - "upsert" - ] - } - ], - "preview_delivery_api_content_changes": [], - "workflow_step_changes": [], - "management_api_content_changes": [] - } - }, - { - "last_modified": "2021-08-13T10:29:41.060893Z", - "id": "5d19aa86-0c76-4ae1-adc2-59815435e4eb", - "name": "enabledWebhook", - "url": "http://url", - "secret": "secret", - "enabled": false, - "triggers": { - "delivery_api_content_changes": [ - { - "type": "content_item_variant", - "operations": [ - "publish", - "unpublish" - ] - } - ], - "preview_delivery_api_content_changes": [], - "workflow_step_changes": [], - "management_api_content_changes": [] - } - }, - { - "last_modified": "2021-08-13T08:31:19.5873608Z", - "id": "5d2abbf2-b20a-4ca2-a23e-18ee7f4a9276", - "name": "enabledWebhook", - "url": "http://url", - "secret": "secret", - "enabled": true, - "triggers": { - "delivery_api_content_changes": [ - { - "type": "content_item_variant", - "operations": [ - "publish", - "unpublish" - ] - } - ], - "preview_delivery_api_content_changes": [], - "workflow_step_changes": [], - "management_api_content_changes": [] - } - }, - { - "last_modified": "2021-08-12T13:42:39.1278139Z", - "id": "7c1e45da-acf0-4723-9fc5-151f6a58fa79", - "name": "webhookTestName", - "url": "http://url", - "secret": "secret", - "enabled": true, - "triggers": { - "delivery_api_content_changes": [ - { - "type": "content_item_variant", - "operations": [ - "publish", - "unpublish" - ] - }, - { - "type": "taxonomy", - "operations": [ - "archive", - "restore", - "upsert" - ] - } - ], - "preview_delivery_api_content_changes": [], - "workflow_step_changes": [], - "management_api_content_changes": [] - } - }, - { - "last_modified": "2021-08-13T08:31:14.8486512Z", - "id": "7f026b75-a7b7-4230-8c1b-78a1c5f049fe", - "name": "webhookTestName", - "url": "http://url", - "secret": "secret", "enabled": true, "triggers": { "delivery_api_content_changes": [ - { - "type": "content_item_variant", - "operations": [ - "publish", - "unpublish" - ] - }, { "type": "taxonomy", "operations": [ @@ -149,28 +22,6 @@ "management_api_content_changes": [] } }, - { - "last_modified": "2021-08-12T11:06:10.114952Z", - "id": "a9fea6b5-72ed-44de-a400-151491948f69", - "name": "enabledWebhook", - "url": "http://url", - "secret": "secret", - "enabled": false, - "triggers": { - "delivery_api_content_changes": [ - { - "type": "content_item_variant", - "operations": [ - "publish", - "unpublish" - ] - } - ], - "preview_delivery_api_content_changes": [], - "workflow_step_changes": [], - "management_api_content_changes": [] - } - }, { "last_modified": "2021-08-06T06:39:19.2776995Z", "id": "ef6eb5e6-24f6-4a3a-a291-1cff8d4eecc5", diff --git a/Kentico.Kontent.Management.Tests/Data/ListWorkflowSteps_ListsWorkflowSteps_16/0_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ListWorkflowSteps_ListsWorkflowSteps_16/0_GET/response.json index 9766c5455..47ba0c60e 100644 --- a/Kentico.Kontent.Management.Tests/Data/ListWorkflowSteps_ListsWorkflowSteps_16/0_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ListWorkflowSteps_ListsWorkflowSteps_16/0_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["995"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["89c0c0f8243ce44a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19155-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853633.168987,VS0,VE22"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/workflow","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["995"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7db60b2a788bde4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:16 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19156-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861716.169741,VS0,VE20"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/workflow","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/request_content.json new file mode 100644 index 000000000..06ec4a929 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/request_content.json @@ -0,0 +1 @@ +{"codename":"c_modifycontenttype_addinto_modifiesconten_198","name":"modifycontenttype_addinto_modifiesconten_198","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"g_eid_modifycontenttype_addinto_modifiesconten_198","id":"00000000-0000-0000-0000-000000000000","codename":"g_c_modifycontenttype_addinto_modifiesconten_198"}],"external_id":"eid_modifycontenttype_addinto_modifiesconten_198"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/response.json similarity index 68% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/response.json index e264d2bda..87c7aedf1 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["518"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/4b1ddd19-99c6-55fa-9d0b-af3c0fc4dc06"]},{"Key":"X-Request-ID","Value":["00d736c25b5e944c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19163-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.803928,VS0,VE32"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["309"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["632"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/54f9c828-a864-5742-8007-93f8ce44b5fb"]},{"Key":"X-Request-ID","Value":["3185a6626325384d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861738.534268,VS0,VE45"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["423"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/response_content.json new file mode 100644 index 000000000..dbbb9029e --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/0_POST/response_content.json @@ -0,0 +1,17 @@ +{ + "id": "54f9c828-a864-5742-8007-93f8ce44b5fb", + "codename": "c_modifycontenttype_addinto_modifiesconten_198", + "last_modified": "2021-08-13T13:35:37.5418501Z", + "external_id": "eid_modifycontenttype_addinto_modifiesconten_198", + "name": "modifycontenttype_addinto_modifiesconten_198", + "content_groups": [], + "elements": [ + { + "guidelines": "

Guidelines

", + "type": "guidelines", + "external_id": "g_eid_modifycontenttype_addinto_modifiesconten_198", + "id": "9abe6ba7-76f5-5a98-acda-185316b63c53", + "codename": "g_c_modifycontenttype_addinto_modifiesconten_198" + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/request.json new file mode 100644 index 000000000..107e36dd2 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_addinto_modifiesconten_198","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/request_content.json similarity index 65% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/request_content.json index c1584a35a..4fef5ec1e 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/request_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/request_content.json @@ -1 +1 @@ -[{"op":"addInto","value":{"name":"textName2","is_required":false,"guidelines":"Guidelines2","maximum_text_length":{"value":30,"applies_to":"words"},"type":"text","external_id":"text_external_id2_patchaddinto","id":"00000000-0000-0000-0000-000000000000","codename":"text_codename2_patchaddinto"},"before":{"codename":"guidelines_codename_patchaddinto"},"path":"/elements"}] \ No newline at end of file +[{"op":"addInto","value":{"name":"textName2","is_required":false,"guidelines":"Guidelines2","maximum_text_length":{"value":30,"applies_to":"words"},"type":"text","external_id":"text_external_id2_patchaddinto","id":"00000000-0000-0000-0000-000000000000","codename":"text_codename2_patchaddinto"},"before":{"codename":"g_c_modifycontenttype_addinto_modifiesconten_198"},"path":"/elements"}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/response.json similarity index 52% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/response.json index 64a344a45..bd2e87611 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1290"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["10bb61f843d46541"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:53 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853654.704079,VS0,VE77"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["372"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_add_into","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1016"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3d1820ad2b2f384a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861738.607531,VS0,VE35"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["388"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_addinto_modifiesconten_198","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/response_content.json new file mode 100644 index 000000000..eacb0ee33 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/1_PATCH/response_content.json @@ -0,0 +1,30 @@ +{ + "id": "54f9c828-a864-5742-8007-93f8ce44b5fb", + "codename": "c_modifycontenttype_addinto_modifiesconten_198", + "last_modified": "2021-08-13T13:35:37.6199331Z", + "external_id": "eid_modifycontenttype_addinto_modifiesconten_198", + "name": "modifycontenttype_addinto_modifiesconten_198", + "content_groups": [], + "elements": [ + { + "maximum_text_length": { + "value": 30, + "applies_to": "words" + }, + "name": "textName2", + "guidelines": "Guidelines2", + "is_required": false, + "type": "text", + "external_id": "text_external_id2_patchaddinto", + "id": "62ad8eee-0939-53ea-9d84-04d84251eedb", + "codename": "text_codename2_patchaddinto" + }, + { + "guidelines": "

Guidelines

", + "type": "guidelines", + "external_id": "g_eid_modifycontenttype_addinto_modifiesconten_198", + "id": "9abe6ba7-76f5-5a98-acda-185316b63c53", + "codename": "g_c_modifycontenttype_addinto_modifiesconten_198" + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/request.json new file mode 100644 index 000000000..e783e95ea --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_addinto_modifiesconten_198","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/response.json similarity index 51% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/response.json index 44cd316f8..d0854856b 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["574ef7ce8a171840"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19176-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853652.789924,VS0,VE70"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/external-id/test_delete_externalId_externalid","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cb511fc7b42f5343"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861738.658368,VS0,VE69"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_addinto_modifiesconten_198","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_196/2_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/request_content.json deleted file mode 100644 index 442d955bf..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"codename":"patch_codename_add_into","name":"PatchTypeAddInto!","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"guidelines_external_id_patchaddinto","id":"00000000-0000-0000-0000-000000000000","codename":"guidelines_codename_patchaddinto"},{"name":"textName","is_required":false,"guidelines":"Guidelines","maximum_text_length":{"value":30,"applies_to":"words"},"type":"text","external_id":"text_external_id_patchaddinto","id":"00000000-0000-0000-0000-000000000000","codename":"text_codename_patchaddinto"}],"external_id":"patchAddInto_external_id"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/response_content.json deleted file mode 100644 index 013ac2447..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/0_POST/response_content.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "id": "a000647e-53ad-5e42-af60-26cad670cc33", - "codename": "patch_codename_add_into", - "last_modified": "2021-08-13T11:20:53.6513083Z", - "external_id": "patchAddInto_external_id", - "name": "PatchTypeAddInto!", - "content_groups": [], - "elements": [ - { - "guidelines": "

Guidelines

", - "type": "guidelines", - "external_id": "guidelines_external_id_patchaddinto", - "id": "114b968a-9f38-509a-b411-54d5aabd1106", - "codename": "guidelines_codename_patchaddinto" - }, - { - "maximum_text_length": { - "value": 30, - "applies_to": "words" - }, - "name": "textName", - "guidelines": "Guidelines", - "is_required": false, - "type": "text", - "external_id": "text_external_id_patchaddinto", - "id": "893cec78-3161-579b-b9fe-cb9bb0d8f58b", - "codename": "text_codename_patchaddinto" - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/request.json deleted file mode 100644 index dd4ab3c58..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_add_into","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/response_content.json deleted file mode 100644 index 36e36acef..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/1_PATCH/response_content.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "id": "a000647e-53ad-5e42-af60-26cad670cc33", - "codename": "patch_codename_add_into", - "last_modified": "2021-08-13T11:20:53.760666Z", - "external_id": "patchAddInto_external_id", - "name": "PatchTypeAddInto!", - "content_groups": [], - "elements": [ - { - "maximum_text_length": { - "value": 30, - "applies_to": "words" - }, - "name": "textName2", - "guidelines": "Guidelines2", - "is_required": false, - "type": "text", - "external_id": "text_external_id2_patchaddinto", - "id": "62ad8eee-0939-53ea-9d84-04d84251eedb", - "codename": "text_codename2_patchaddinto" - }, - { - "guidelines": "

Guidelines

", - "type": "guidelines", - "external_id": "guidelines_external_id_patchaddinto", - "id": "114b968a-9f38-509a-b411-54d5aabd1106", - "codename": "guidelines_codename_patchaddinto" - }, - { - "maximum_text_length": { - "value": 30, - "applies_to": "words" - }, - "name": "textName", - "guidelines": "Guidelines", - "is_required": false, - "type": "text", - "external_id": "text_external_id_patchaddinto", - "id": "893cec78-3161-579b-b9fe-cb9bb0d8f58b", - "codename": "text_codename_patchaddinto" - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/request.json deleted file mode 100644 index c1da0d081..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_AddInto_ModifiesContentType_257/2_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_add_into","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/request_content.json new file mode 100644 index 000000000..6e7bdfefe --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/request_content.json @@ -0,0 +1 @@ +{"codename":"c_modifycontenttype_remove_modifiescontent_277","name":"modifycontenttype_remove_modifiescontent_277","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"g_eid_modifycontenttype_remove_modifiescontent_277","id":"00000000-0000-0000-0000-000000000000","codename":"g_c_modifycontenttype_remove_modifiescontent_277"}],"external_id":"eid_modifycontenttype_remove_modifiescontent_277"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/response.json similarity index 72% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/response.json index 9b133c1fa..d4d025278 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["880"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/a4f4a93e-8f4b-536e-9763-264a1e74bd0f"]},{"Key":"X-Request-ID","Value":["1ee7c9c65cafb04a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:41 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.199470,VS0,VE58"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["557"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["632"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/a4fbe6a8-3e02-581d-96a0-a5ccffd4784c"]},{"Key":"X-Request-ID","Value":["669ea403d1c20c42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861725.545609,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["423"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/response_content.json new file mode 100644 index 000000000..3c322af40 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/0_POST/response_content.json @@ -0,0 +1,17 @@ +{ + "id": "a4fbe6a8-3e02-581d-96a0-a5ccffd4784c", + "codename": "c_modifycontenttype_remove_modifiescontent_277", + "last_modified": "2021-08-13T13:35:24.5416425Z", + "external_id": "eid_modifycontenttype_remove_modifiescontent_277", + "name": "modifycontenttype_remove_modifiescontent_277", + "content_groups": [], + "elements": [ + { + "guidelines": "

Guidelines

", + "type": "guidelines", + "external_id": "g_eid_modifycontenttype_remove_modifiescontent_277", + "id": "8a320c1d-8f5f-5acb-bc8a-07dbe47558de", + "codename": "g_c_modifycontenttype_remove_modifiescontent_277" + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/request.json new file mode 100644 index 000000000..df9a8a465 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_remove_modifiescontent_277","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/request_content.json new file mode 100644 index 000000000..7b237022c --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/request_content.json @@ -0,0 +1 @@ +[{"op":"remove","path":"/elements/codename:g_c_modifycontenttype_remove_modifiescontent_277"}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/response.json similarity index 57% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/response.json index ca23ec626..7c3b6ea4f 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["512"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4b83fd7befeb454b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:41 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.289504,VS0,VE58"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["66"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_remove","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["342"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5cf2bcf1613f0243"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861725.599416,VS0,VE55"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["94"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_remove_modifiescontent_277","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/response_content.json new file mode 100644 index 000000000..d00c9ba87 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/1_PATCH/response_content.json @@ -0,0 +1,9 @@ +{ + "id": "a4fbe6a8-3e02-581d-96a0-a5ccffd4784c", + "codename": "c_modifycontenttype_remove_modifiescontent_277", + "last_modified": "2021-08-13T13:35:24.6041423Z", + "external_id": "eid_modifycontenttype_remove_modifiescontent_277", + "name": "modifycontenttype_remove_modifiescontent_277", + "content_groups": [], + "elements": [] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/request.json new file mode 100644 index 000000000..4cb15bb12 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_remove_modifiescontent_277","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/response.json similarity index 57% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/response.json index 3e11d1903..74acdb7cd 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByCodename_DeletesContentType_139/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e989b01a107b2140"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19163-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.864763,VS0,VE51"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/test_delete_codename","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f446421b93bb9044"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861725.675320,VS0,VE51"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_remove_modifiescontent_277","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_275/2_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/request_content.json deleted file mode 100644 index 94ecb3979..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"codename":"patch_codename_remove","name":"PatchTypeRemove!","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"guidelines_external_id_remove","id":"00000000-0000-0000-0000-000000000000","codename":"guidelines_codename_remove"},{"name":"textName","is_required":false,"guidelines":"Guidelines","maximum_text_length":{"value":30,"applies_to":"words"},"type":"text","external_id":"text_external_id_remove","id":"00000000-0000-0000-0000-000000000000","codename":"text_codename_remove"}],"external_id":"patch_external_id_remove"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/response_content.json deleted file mode 100644 index c54883470..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/0_POST/response_content.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "id": "a4f4a93e-8f4b-536e-9763-264a1e74bd0f", - "codename": "patch_codename_remove", - "last_modified": "2021-08-13T11:20:41.2085021Z", - "external_id": "patch_external_id_remove", - "name": "PatchTypeRemove!", - "content_groups": [], - "elements": [ - { - "guidelines": "

Guidelines

", - "type": "guidelines", - "external_id": "guidelines_external_id_remove", - "id": "338bf648-0938-58b1-b442-3fcb81e86ad4", - "codename": "guidelines_codename_remove" - }, - { - "maximum_text_length": { - "value": 30, - "applies_to": "words" - }, - "name": "textName", - "guidelines": "Guidelines", - "is_required": false, - "type": "text", - "external_id": "text_external_id_remove", - "id": "7df23b01-78d7-5cc5-b73a-a735e947e4a7", - "codename": "text_codename_remove" - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/request.json deleted file mode 100644 index 17455ea8f..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_remove","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/request_content.json deleted file mode 100644 index 888d7c599..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/request_content.json +++ /dev/null @@ -1 +0,0 @@ -[{"op":"remove","path":"/elements/codename:text_codename_remove"}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/response_content.json deleted file mode 100644 index b6343ad78..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/1_PATCH/response_content.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "id": "a4f4a93e-8f4b-536e-9763-264a1e74bd0f", - "codename": "patch_codename_remove", - "last_modified": "2021-08-13T11:20:41.2866377Z", - "external_id": "patch_external_id_remove", - "name": "PatchTypeRemove!", - "content_groups": [], - "elements": [ - { - "guidelines": "

Guidelines

", - "type": "guidelines", - "external_id": "guidelines_external_id_remove", - "id": "338bf648-0938-58b1-b442-3fcb81e86ad4", - "codename": "guidelines_codename_remove" - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/request.json deleted file mode 100644 index cb4fe2f87..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_remove","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/response.json deleted file mode 100644 index f7eb96cd7..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Remove_ModifiesContentType_397/2_DELETE/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["6a4cb4dd6485c149"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:41 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19174-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.368477,VS0,VE48"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_remove","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/request_content.json new file mode 100644 index 000000000..0adfa8532 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/request_content.json @@ -0,0 +1 @@ +{"codename":"c_modifycontenttype_replace_modifiesconten_245","name":"modifycontenttype_replace_modifiesconten_245","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"g_eid_modifycontenttype_replace_modifiesconten_245","id":"00000000-0000-0000-0000-000000000000","codename":"g_c_modifycontenttype_replace_modifiesconten_245"}],"external_id":"eid_modifycontenttype_replace_modifiesconten_245"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/response.json similarity index 68% rename from Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/response.json index c4891caa5..2a603a4a6 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteContentType_ByExternalId_DeletesContentType_179/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["528"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/007ac32d-aa28-54b6-9515-2fb5b5bbf27a"]},{"Key":"X-Request-ID","Value":["ce7e2d90115be147"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19176-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853652.720862,VS0,VE44"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["319"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["632"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/9be4a102-cc59-516d-bcaf-678402fccb4f"]},{"Key":"X-Request-ID","Value":["45016a84f3942245"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:05 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19124-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.918600,VS0,VE38"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["423"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/response_content.json new file mode 100644 index 000000000..a853f41ad --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/0_POST/response_content.json @@ -0,0 +1,17 @@ +{ + "id": "9be4a102-cc59-516d-bcaf-678402fccb4f", + "codename": "c_modifycontenttype_replace_modifiesconten_245", + "last_modified": "2021-08-13T13:35:05.9320796Z", + "external_id": "eid_modifycontenttype_replace_modifiesconten_245", + "name": "modifycontenttype_replace_modifiesconten_245", + "content_groups": [], + "elements": [ + { + "guidelines": "

Guidelines

", + "type": "guidelines", + "external_id": "g_eid_modifycontenttype_replace_modifiesconten_245", + "id": "60da8831-d219-52ef-ac35-c28a40759919", + "codename": "g_c_modifycontenttype_replace_modifiesconten_245" + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/request.json new file mode 100644 index 000000000..925b1bcf4 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_replace_modifiesconten_245","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/request_content.json new file mode 100644 index 000000000..752ad545d --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/request_content.json @@ -0,0 +1 @@ +[{"op":"replace","value":"

Here you can tell users how to fill in the element.

","after":{"codename":"g_c_modifycontenttype_replace_modifiesconten_245"},"path":"/elements/codename:g_c_modifycontenttype_replace_modifiesconten_245/guidelines"}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/response.json similarity index 52% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/response.json index c9a97e400..9d8cf1a91 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["427"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f0a5bf885c2abc49"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.426710,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["152"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_replace","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["673"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e8f0adcf07244740"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19124-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.991204,VS0,VE37"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["249"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_replace_modifiesconten_245","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/response_content.json new file mode 100644 index 000000000..b4ea97648 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/1_PATCH/response_content.json @@ -0,0 +1,17 @@ +{ + "id": "9be4a102-cc59-516d-bcaf-678402fccb4f", + "codename": "c_modifycontenttype_replace_modifiesconten_245", + "last_modified": "2021-08-13T13:35:05.9945828Z", + "external_id": "eid_modifycontenttype_replace_modifiesconten_245", + "name": "modifycontenttype_replace_modifiesconten_245", + "content_groups": [], + "elements": [ + { + "guidelines": "

Here you can tell users how to fill in the element.

", + "type": "guidelines", + "external_id": "g_eid_modifycontenttype_replace_modifiesconten_245", + "id": "60da8831-d219-52ef-ac35-c28a40759919", + "codename": "g_c_modifycontenttype_replace_modifiesconten_245" + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/request.json new file mode 100644 index 000000000..d72ab1cf9 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_replace_modifiesconten_245","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/response.json new file mode 100644 index 000000000..25a2c2f65 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["73c2fa0170a22c4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19124-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.044531,VS0,VE49"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/c_modifycontenttype_replace_modifiesconten_245","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_243/2_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/request_content.json deleted file mode 100644 index ab3079851..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"codename":"patch_codename_replace","name":"PatchTypeReplace!","elements":[{"guidelines":"

Guidelines

","type":"guidelines","external_id":"guidelines_external_id_replace","id":"00000000-0000-0000-0000-000000000000","codename":"guidelines_codename_replace"},{"name":"textName","is_required":false,"guidelines":"Guidelines","maximum_text_length":{"value":30,"applies_to":"words"},"type":"text","external_id":"text_external_id_replace","id":"00000000-0000-0000-0000-000000000000","codename":"text_codename_replace"}],"external_id":"patch_external_id_replace"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/response.json deleted file mode 100644 index 408e16779..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["887"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/70acabd5-87be-5eba-a50b-51f393b8de9d"]},{"Key":"X-Request-ID","Value":["0e12580eee2ab84e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19162-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853624.567678,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["564"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/response_content.json deleted file mode 100644 index 18bf133fd..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/0_POST/response_content.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "id": "70acabd5-87be-5eba-a50b-51f393b8de9d", - "codename": "patch_codename_replace", - "last_modified": "2021-08-13T11:20:23.5669511Z", - "external_id": "patch_external_id_replace", - "name": "PatchTypeReplace!", - "content_groups": [], - "elements": [ - { - "guidelines": "

Guidelines

", - "type": "guidelines", - "external_id": "guidelines_external_id_replace", - "id": "1de3663a-711f-552b-b525-2a1d6a8dcf5e", - "codename": "guidelines_codename_replace" - }, - { - "maximum_text_length": { - "value": 30, - "applies_to": "words" - }, - "name": "textName", - "guidelines": "Guidelines", - "is_required": false, - "type": "text", - "external_id": "text_external_id_replace", - "id": "98f55eac-f12b-5b01-87c4-6d2d5769a0d5", - "codename": "text_codename_replace" - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/request.json deleted file mode 100644 index 618d12dcd..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_replace","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/request_content.json deleted file mode 100644 index 2e27525be..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/request_content.json +++ /dev/null @@ -1 +0,0 @@ -[{"op":"replace","value":"Here you can tell users how to fill in the element.","after":{"codename":"guidelines_codename"},"path":"/elements/codename:text_codename_replace/guidelines"}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/response_content.json deleted file mode 100644 index 0d47f8450..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/response_content.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "id": "70acabd5-87be-5eba-a50b-51f393b8de9d", - "codename": "patch_codename_replace", - "last_modified": "2021-08-13T11:20:23.6450775Z", - "external_id": "patch_external_id_replace", - "name": "PatchTypeReplace!", - "content_groups": [], - "elements": [ - { - "guidelines": "

Guidelines

", - "type": "guidelines", - "external_id": "guidelines_external_id_replace", - "id": "1de3663a-711f-552b-b525-2a1d6a8dcf5e", - "codename": "guidelines_codename_replace" - }, - { - "maximum_text_length": { - "value": 30, - "applies_to": "words" - }, - "name": "textName", - "guidelines": "Here you can tell users how to fill in the element.", - "is_required": false, - "type": "text", - "external_id": "text_external_id_replace", - "id": "98f55eac-f12b-5b01-87c4-6d2d5769a0d5", - "codename": "text_codename_replace" - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/request.json deleted file mode 100644 index 13fca0cc9..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/2_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_replace","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyLanguages_Replace_ModifiesLanguages_94/0_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyLanguages_Replace_ModifiesLanguages_94/0_PATCH/response.json index bbda6f401..a43b0d8ed 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyLanguages_Replace_ModifiesLanguages_94/0_PATCH/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyLanguages_Replace_ModifiesLanguages_94/0_PATCH/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["241"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["0f730c3304a4c24c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853629.630535,VS0,VE323"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["68"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["241"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e727976c43ddcc4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:11 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19148-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861711.423473,VS0,VE249"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["68"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyLanguages_Replace_ModifiesLanguages_94/1_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyLanguages_Replace_ModifiesLanguages_94/1_PATCH/response.json index 779d75c8e..87f8d1817 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyLanguages_Replace_ModifiesLanguages_94/1_PATCH/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyLanguages_Replace_ModifiesLanguages_94/1_PATCH/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["234"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["a3fcd640fb623c4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19147-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853629.981393,VS0,VE657"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["61"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/codename/new codename","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["234"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7c453a1b20470442"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:11 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19148-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861712.698190,VS0,VE166"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["61"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/languages/codename/new codename","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/request_content.json new file mode 100644 index 000000000..ed1b1353d --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/request_content.json @@ -0,0 +1 @@ +{"name":"modifytaxonomygroup_addinto_modifiestaxo_168","codename":"c_modifytaxonomygroup_addinto_modifiestaxo_168","external_id":"eid_modifytaxonomygroup_addinto_modifiestaxo_168","terms":[{"name":"name1_modifytaxonomygroup_addinto_modifiestaxo_168","codename":"t_c_1modifytaxonomygroup_addinto_modifiestaxo_168","external_id":"eid1_modifytaxonomygroup_addinto_modifiestaxo_168","terms":[]},{"name":"name2_modifytaxonomygroup_addinto_modifiestaxo_168","codename":"t_c_2modifytaxonomygroup_addinto_modifiestaxo_168","external_id":"eid2_modifytaxonomygroup_addinto_modifiestaxo_168","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/response.json new file mode 100644 index 000000000..86d87b1a4 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["923"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/1cc09e43-9fdf-5f04-b60c-34a1048ad20d"]},{"Key":"X-Request-ID","Value":["210669ddc80dda46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861724.238813,VS0,VE40"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["594"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/response_content.json new file mode 100644 index 000000000..2f02f71e6 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/0_POST/response_content.json @@ -0,0 +1,23 @@ +{ + "last_modified": "2021-08-13T13:35:24.2603894Z", + "id": "1cc09e43-9fdf-5f04-b60c-34a1048ad20d", + "name": "modifytaxonomygroup_addinto_modifiestaxo_168", + "codename": "c_modifytaxonomygroup_addinto_modifiestaxo_168", + "external_id": "eid_modifytaxonomygroup_addinto_modifiestaxo_168", + "terms": [ + { + "id": "092f19d2-b6e2-5f2f-b1f5-a419031daafd", + "name": "name1_modifytaxonomygroup_addinto_modifiestaxo_168", + "codename": "t_c_1modifytaxonomygroup_addinto_modifiestaxo_168", + "external_id": "eid1_modifytaxonomygroup_addinto_modifiestaxo_168", + "terms": [] + }, + { + "id": "ce41cb19-37ef-53ae-b88a-2c592543a93a", + "name": "name2_modifytaxonomygroup_addinto_modifiestaxo_168", + "codename": "t_c_2modifytaxonomygroup_addinto_modifiestaxo_168", + "external_id": "eid2_modifytaxonomygroup_addinto_modifiestaxo_168", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/request.json new file mode 100644 index 000000000..631e128ff --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_addinto_modifiestaxo_168","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/response.json new file mode 100644 index 000000000..fb8210fe8 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["1131"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["596d75b01d896946"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861724.294946,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["102"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_addinto_modifiestaxo_168","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/response_content.json new file mode 100644 index 000000000..0739ce152 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/1_PATCH/response_content.json @@ -0,0 +1,30 @@ +{ + "last_modified": "2021-08-13T13:35:24.3072866Z", + "id": "1cc09e43-9fdf-5f04-b60c-34a1048ad20d", + "name": "modifytaxonomygroup_addinto_modifiestaxo_168", + "codename": "c_modifytaxonomygroup_addinto_modifiestaxo_168", + "external_id": "eid_modifytaxonomygroup_addinto_modifiestaxo_168", + "terms": [ + { + "id": "092f19d2-b6e2-5f2f-b1f5-a419031daafd", + "name": "name1_modifytaxonomygroup_addinto_modifiestaxo_168", + "codename": "t_c_1modifytaxonomygroup_addinto_modifiestaxo_168", + "external_id": "eid1_modifytaxonomygroup_addinto_modifiestaxo_168", + "terms": [] + }, + { + "id": "ce41cb19-37ef-53ae-b88a-2c592543a93a", + "name": "name2_modifytaxonomygroup_addinto_modifiestaxo_168", + "codename": "t_c_2modifytaxonomygroup_addinto_modifiestaxo_168", + "external_id": "eid2_modifytaxonomygroup_addinto_modifiestaxo_168", + "terms": [] + }, + { + "id": "9fe9d8ac-e2d7-51cd-9be6-438a163626fc", + "name": "New taxonomy term", + "codename": "new_taxonomy_term", + "external_id": "my_new_term_addinto", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/request.json new file mode 100644 index 000000000..b8e46ca14 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_addinto_modifiestaxo_168","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/response.json similarity index 56% rename from Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/response.json index 135c54389..5029d4985 100644 --- a/Kentico.Kontent.Management.Tests/Data/DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup_141/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2f5ffa73f3b64249"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.318825,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/99b80ea1-c488-55a8-aede-ae9e7f8a6c76","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d4ffafcd4269bb45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861724.342644,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_addinto_modifiestaxo_168","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_166/2_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/request_content.json deleted file mode 100644 index 9ebdccee2..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"taxonomiesAddInto!","codename":"taxonomies_codename_addinto","external_id":"taxonomies_codename_external_id_addinto","terms":[{"name":"name","codename":"taxonomies_term_codename_addinto","external_id":"taxonomies_term_external_id_addinto","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/response.json deleted file mode 100644 index 4516b4960..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["489"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/b1c9f2fc-1655-5877-94eb-12dd702283d0"]},{"Key":"X-Request-ID","Value":["8dee8921d4f40142"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19140-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.837790,VS0,VE24"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["261"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/response_content.json deleted file mode 100644 index 9032d76ca..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/0_POST/response_content.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:40.8335199Z", - "id": "b1c9f2fc-1655-5877-94eb-12dd702283d0", - "name": "taxonomiesAddInto!", - "codename": "taxonomies_codename_addinto", - "external_id": "taxonomies_codename_external_id_addinto", - "terms": [ - { - "id": "99d38501-fa65-5f35-91f9-77b981cf38ff", - "name": "name", - "codename": "taxonomies_term_codename_addinto", - "external_id": "taxonomies_term_external_id_addinto", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/request.json deleted file mode 100644 index ec961b99b..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_addinto","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/response.json deleted file mode 100644 index 6734ba5fd..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["697"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b361fe55b0a9d04a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19140-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.879382,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["102"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_addinto","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/response_content.json deleted file mode 100644 index b5799b238..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/1_PATCH/response_content.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:40.8803991Z", - "id": "b1c9f2fc-1655-5877-94eb-12dd702283d0", - "name": "taxonomiesAddInto!", - "codename": "taxonomies_codename_addinto", - "external_id": "taxonomies_codename_external_id_addinto", - "terms": [ - { - "id": "99d38501-fa65-5f35-91f9-77b981cf38ff", - "name": "name", - "codename": "taxonomies_term_codename_addinto", - "external_id": "taxonomies_term_external_id_addinto", - "terms": [] - }, - { - "id": "9fe9d8ac-e2d7-51cd-9be6-438a163626fc", - "name": "New taxonomy term", - "codename": "new_taxonomy_term", - "external_id": "my_new_term_addinto", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/response.json deleted file mode 100644 index a7b2e539c..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup_220/2_DELETE/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f19b3158dc8f6f4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19140-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853641.942641,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_addinto","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/request_content.json new file mode 100644 index 000000000..a9a68b349 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/request_content.json @@ -0,0 +1 @@ +{"name":"modifytaxonomygroup_remove_modifiestaxon_234","codename":"c_modifytaxonomygroup_remove_modifiestaxon_234","external_id":"eid_modifytaxonomygroup_remove_modifiestaxon_234","terms":[{"name":"name1_modifytaxonomygroup_remove_modifiestaxon_234","codename":"t_c_1modifytaxonomygroup_remove_modifiestaxon_234","external_id":"eid1_modifytaxonomygroup_remove_modifiestaxon_234","terms":[]},{"name":"name2_modifytaxonomygroup_remove_modifiestaxon_234","codename":"t_c_2modifytaxonomygroup_remove_modifiestaxon_234","external_id":"eid2_modifytaxonomygroup_remove_modifiestaxon_234","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/response.json new file mode 100644 index 000000000..900a2d445 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["922"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/ecdf4ba5-1f1d-5fc0-b02d-5eac44dcbdb5"]},{"Key":"X-Request-ID","Value":["7bb5ca8ca8178049"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861730.920375,VS0,VE25"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["594"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/response_content.json new file mode 100644 index 000000000..17937c0b8 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/0_POST/response_content.json @@ -0,0 +1,23 @@ +{ + "last_modified": "2021-08-13T13:35:29.916766Z", + "id": "ecdf4ba5-1f1d-5fc0-b02d-5eac44dcbdb5", + "name": "modifytaxonomygroup_remove_modifiestaxon_234", + "codename": "c_modifytaxonomygroup_remove_modifiestaxon_234", + "external_id": "eid_modifytaxonomygroup_remove_modifiestaxon_234", + "terms": [ + { + "id": "a5934006-59e9-503a-85ed-c12bca873eaf", + "name": "name1_modifytaxonomygroup_remove_modifiestaxon_234", + "codename": "t_c_1modifytaxonomygroup_remove_modifiestaxon_234", + "external_id": "eid1_modifytaxonomygroup_remove_modifiestaxon_234", + "terms": [] + }, + { + "id": "f28e31b4-7857-505b-847b-5493019598bc", + "name": "name2_modifytaxonomygroup_remove_modifiestaxon_234", + "codename": "t_c_2modifytaxonomygroup_remove_modifiestaxon_234", + "external_id": "eid2_modifytaxonomygroup_remove_modifiestaxon_234", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/request.json new file mode 100644 index 000000000..6e5328b14 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_remove_modifiestaxon_234","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/request_content.json new file mode 100644 index 000000000..20b92e359 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/request_content.json @@ -0,0 +1 @@ +[{"op":"remove","reference":{"codename":"t_c_1modifytaxonomygroup_remove_modifiestaxon_234"}}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/response.json similarity index 52% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/response.json index 8a4ca8415..71751a3ef 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["479"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["fedbad70460cab4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:46 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19169-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853646.997423,VS0,VE39"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["76"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_remove","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["620"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["57930a165fc83d48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861730.979687,VS0,VE30"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["94"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_remove_modifiestaxon_234","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/response_content.json new file mode 100644 index 000000000..561662a57 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/1_PATCH/response_content.json @@ -0,0 +1,16 @@ +{ + "last_modified": "2021-08-13T13:35:29.9792993Z", + "id": "ecdf4ba5-1f1d-5fc0-b02d-5eac44dcbdb5", + "name": "modifytaxonomygroup_remove_modifiestaxon_234", + "codename": "c_modifytaxonomygroup_remove_modifiestaxon_234", + "external_id": "eid_modifytaxonomygroup_remove_modifiestaxon_234", + "terms": [ + { + "id": "f28e31b4-7857-505b-847b-5493019598bc", + "name": "name2_modifytaxonomygroup_remove_modifiestaxon_234", + "codename": "t_c_2modifytaxonomygroup_remove_modifiestaxon_234", + "external_id": "eid2_modifytaxonomygroup_remove_modifiestaxon_234", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/request.json new file mode 100644 index 000000000..dcdcc5347 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_remove_modifiestaxon_234","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/response.json similarity index 56% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/response.json index 384229b54..0adb2a300 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["65f8714f767e9e4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:46 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19169-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853646.051365,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_remove","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d7ffbe1209804245"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861730.023285,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_remove_modifiestaxon_234","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_232/2_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/request_content.json deleted file mode 100644 index 514c201b1..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"taxonomiesRemove!","codename":"taxonomies_codename_remove","external_id":"taxonomies_codename_external_id_remove","terms":[{"name":"name","codename":"taxonomies_term_codename_remove","external_id":"taxonomies_term_external_id_remove","terms":[]},{"name":"name13254","codename":"second_term_codename","external_id":"taxonomies_term_external_id_remove2","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/response.json deleted file mode 100644 index 047408e26..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["703"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/59c117ed-b48c-5174-8468-b00350a74ffd"]},{"Key":"X-Request-ID","Value":["96bd84659cb64d41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:45 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19169-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853646.924365,VS0,VE49"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["374"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/response_content.json deleted file mode 100644 index c3aff5b4d..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/0_POST/response_content.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:45.9585706Z", - "id": "59c117ed-b48c-5174-8468-b00350a74ffd", - "name": "taxonomiesRemove!", - "codename": "taxonomies_codename_remove", - "external_id": "taxonomies_codename_external_id_remove", - "terms": [ - { - "id": "46c942e4-c7f8-50dc-a37f-9947d770beb9", - "name": "name", - "codename": "taxonomies_term_codename_remove", - "external_id": "taxonomies_term_external_id_remove", - "terms": [] - }, - { - "id": "a50b572e-b980-591a-9d97-a3f5007b5d41", - "name": "name13254", - "codename": "second_term_codename", - "external_id": "taxonomies_term_external_id_remove2", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/request.json deleted file mode 100644 index 9797084ba..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_remove","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/request_content.json deleted file mode 100644 index 2ec60cb16..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/request_content.json +++ /dev/null @@ -1 +0,0 @@ -[{"op":"remove","reference":{"codename":"taxonomies_term_codename_remove"}}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/response_content.json deleted file mode 100644 index df2a07a71..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/1_PATCH/response_content.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:46.0054478Z", - "id": "59c117ed-b48c-5174-8468-b00350a74ffd", - "name": "taxonomiesRemove!", - "codename": "taxonomies_codename_remove", - "external_id": "taxonomies_codename_external_id_remove", - "terms": [ - { - "id": "a50b572e-b980-591a-9d97-a3f5007b5d41", - "name": "name13254", - "codename": "second_term_codename", - "external_id": "taxonomies_term_external_id_remove2", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/request.json deleted file mode 100644 index 86cc453d6..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup_328/2_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_remove","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/request.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/request.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/request.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/request_content.json new file mode 100644 index 000000000..d89e657c6 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/request_content.json @@ -0,0 +1 @@ +{"name":"modifytaxonomygroup_replace_modifiestaxo_200","codename":"c_modifytaxonomygroup_replace_modifiestaxo_200","external_id":"eid_modifytaxonomygroup_replace_modifiestaxo_200","terms":[{"name":"name1_modifytaxonomygroup_replace_modifiestaxo_200","codename":"t_c_1modifytaxonomygroup_replace_modifiestaxo_200","external_id":"eid1_modifytaxonomygroup_replace_modifiestaxo_200","terms":[]},{"name":"name2_modifytaxonomygroup_replace_modifiestaxo_200","codename":"t_c_2modifytaxonomygroup_replace_modifiestaxo_200","external_id":"eid2_modifytaxonomygroup_replace_modifiestaxo_200","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/response.json new file mode 100644 index 000000000..f87dbd614 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["923"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/87461984-ec6e-5dbc-862e-9de6c408f0fa"]},{"Key":"X-Request-ID","Value":["c9352c8e097ac342"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861708.623035,VS0,VE28"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["594"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/response_content.json new file mode 100644 index 000000000..92e03790e --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/0_POST/response_content.json @@ -0,0 +1,23 @@ +{ + "last_modified": "2021-08-13T13:35:07.6352211Z", + "id": "87461984-ec6e-5dbc-862e-9de6c408f0fa", + "name": "modifytaxonomygroup_replace_modifiestaxo_200", + "codename": "c_modifytaxonomygroup_replace_modifiestaxo_200", + "external_id": "eid_modifytaxonomygroup_replace_modifiestaxo_200", + "terms": [ + { + "id": "7647b147-7aae-5205-92b2-a7aef8236125", + "name": "name1_modifytaxonomygroup_replace_modifiestaxo_200", + "codename": "t_c_1modifytaxonomygroup_replace_modifiestaxo_200", + "external_id": "eid1_modifytaxonomygroup_replace_modifiestaxo_200", + "terms": [] + }, + { + "id": "3a913424-ad7a-5339-bf13-b200ab656c39", + "name": "name2_modifytaxonomygroup_replace_modifiestaxo_200", + "codename": "t_c_2modifytaxonomygroup_replace_modifiestaxo_200", + "external_id": "eid2_modifytaxonomygroup_replace_modifiestaxo_200", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/request.json new file mode 100644 index 000000000..2eb26e719 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_replace_modifiestaxo_200","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/request_content.json new file mode 100644 index 000000000..58c8ecee3 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/request_content.json @@ -0,0 +1 @@ +[{"op":"replace","property_name":"terms","value":[{"name":"New taxonomy term name","terms":[]}],"reference":{"codename":"c_modifytaxonomygroup_replace_modifiestaxo_200"}}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/response.json similarity index 52% rename from Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/response.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/response.json index ac071508e..c5bed2396 100644 --- a/Kentico.Kontent.Management.Tests/Data/ModifyContentType_Replace_ModifiesContentType_334/1_PATCH/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["928"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["dbb78a45e9cd7e45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19162-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853624.642578,VS0,VE31"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["184"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/types/codename/patch_codename_replace","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["490"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["fca3d0325bcec644"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861708.673879,VS0,VE26"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["171"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_replace_modifiestaxo_200","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/response_content.json new file mode 100644 index 000000000..b09d5822a --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/1_PATCH/response_content.json @@ -0,0 +1,15 @@ +{ + "last_modified": "2021-08-13T13:35:07.6821207Z", + "id": "87461984-ec6e-5dbc-862e-9de6c408f0fa", + "name": "modifytaxonomygroup_replace_modifiestaxo_200", + "codename": "c_modifytaxonomygroup_replace_modifiestaxo_200", + "external_id": "eid_modifytaxonomygroup_replace_modifiestaxo_200", + "terms": [ + { + "id": "4ab2985d-002a-43b3-817f-e34bf4c840a0", + "name": "New taxonomy term name", + "codename": "new_taxonomy_term_name", + "terms": [] + } + ] +} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/request.json new file mode 100644 index 000000000..96c790e1c --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/request.json @@ -0,0 +1 @@ +{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_replace_modifiestaxo_200","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/request_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/request_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/request_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/response.json new file mode 100644 index 000000000..abfb49ca6 --- /dev/null +++ b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/response.json @@ -0,0 +1 @@ +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["bbe818ba6d3aba48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19138-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861708.714858,VS0,VE29"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/c_modifytaxonomygroup_replace_modifiestaxo_200","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/response_content.json similarity index 100% rename from Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/response_content.json rename to Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_198/2_DELETE/response_content.json diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/request_content.json deleted file mode 100644 index 6f3f7bf21..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/request_content.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"taxonomiesReplace!","codename":"taxonomies_codename_replace","external_id":"taxonomies_external_id_replace","terms":[{"name":"name","codename":"taxonomies_term_codename_replace","external_id":"taxonomies_term_external_id_replace","terms":[]}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/response.json deleted file mode 100644 index 197d7c070..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/response.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["479"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/256f0698-6bd5-52fb-9317-91944dcf0353"]},{"Key":"X-Request-ID","Value":["c93c7c16f5d34546"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.343735,VS0,VE54"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["252"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/response_content.json deleted file mode 100644 index 16449ff13..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/0_POST/response_content.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:25.363843Z", - "id": "256f0698-6bd5-52fb-9317-91944dcf0353", - "name": "taxonomiesReplace!", - "codename": "taxonomies_codename_replace", - "external_id": "taxonomies_external_id_replace", - "terms": [ - { - "id": "28ee7d7f-0626-5134-b081-39b0e15e03e7", - "name": "name", - "codename": "taxonomies_term_codename_replace", - "external_id": "taxonomies_term_external_id_replace", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/request.json deleted file mode 100644 index f81742010..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PATCH"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_replace","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/request_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/request_content.json deleted file mode 100644 index 603711814..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/request_content.json +++ /dev/null @@ -1 +0,0 @@ -[{"op":"replace","property_name":"terms","value":[{"name":"New taxonomy term name","terms":[]}],"reference":{"codename":"taxonomies_codename_replace"}}] \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/response_content.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/response_content.json deleted file mode 100644 index d08227872..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/1_PATCH/response_content.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "last_modified": "2021-08-13T11:20:25.4263477Z", - "id": "256f0698-6bd5-52fb-9317-91944dcf0353", - "name": "taxonomiesReplace!", - "codename": "taxonomies_codename_replace", - "external_id": "taxonomies_external_id_replace", - "terms": [ - { - "id": "76964980-dc51-4b45-a374-c1674ef829b7", - "name": "New taxonomy term name", - "codename": "new_taxonomy_term_name", - "terms": [] - } - ] -} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/request.json b/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/request.json deleted file mode 100644 index 0a4e3fed7..000000000 --- a/Kentico.Kontent.Management.Tests/Data/ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup_272/2_DELETE/request.json +++ /dev/null @@ -1 +0,0 @@ -{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/taxonomies/codename/taxonomies_codename_replace","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/0_PUT/response.json index 6801b27b9..edea72ae6 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["385"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/6e097da1-7b81-572e-a01c-485e1fa06e96"]},{"Key":"X-Request-ID","Value":["911f8f9f62fdb843"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:46 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19131-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853646.117423,VS0,VE105"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/22202811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["377"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/6e097da1-7b81-572e-a01c-485e1fa06e96"]},{"Key":"X-Request-ID","Value":["5141154d5b3ab043"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861730.091031,VS0,VE87"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/22202811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/0_PUT/response_content.json index 3708143bc..c7eae3d60 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "6e097da1-7b81-572e-a01c-485e1fa06e96", "name": "Hooray!", - "codename": "hooray__6e097da", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "22202811b05f429284006ea94c68333", - "last_modified": "2021-08-13T11:20:46.1460456Z" + "last_modified": "2021-08-13T13:35:30.1042312Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/request.json index 37ed28d0b..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__6e097da/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/response.json index 285f26196..6947dd747 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/6e097da1-7b81-572e-a01c-485e1fa06e96/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["728784bbb593bf4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:46 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19131-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853646.252714,VS0,VE188"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__6e097da/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/6e097da1-7b81-572e-a01c-485e1fa06e96/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["1cb9bc350c8bf243"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861730.198854,VS0,VE386"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/response_content.json index 09689c157..e90a5793a 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:46.2867017Z" + "last_modified": "2021-08-13T13:35:30.2136692Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/2_PUT/response.json index 690713104..8a38f23f8 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9ebad00935270e46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:46 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19131-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853646.457595,VS0,VE136"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/22202811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b854b21021434445"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861731.605893,VS0,VE251"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/22202811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/3_GET/response.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/3_GET/response.json index 1ccd9d50d..7f26970d4 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/3_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/3_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7668e1d0b6a44645"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:46 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19131-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853647.616727,VS0,VE21"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/22202811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["906cd407bec8c141"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861731.876886,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/22202811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/3_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/3_GET/response_content.json index 7c8cb52e3..4b619caaa 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/3_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/3_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:46.2867017Z" + "last_modified": "2021-08-13T13:35:30.2136692Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/4_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/4_DELETE/response.json index 23589272b..ba0f70f7d 100644 --- a/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/4_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/PublishVariant_PublishesVariant_58/4_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["6baaff2a6d93e54e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:46 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19131-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853647.652764,VS0,VE227"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/22202811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["06a5ee3f59366642"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19121-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861731.914066,VS0,VE204"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/22202811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/0_PUT/response.json index a49bf14de..b20a7ecc1 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["385"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/bd98e731-b327-5669-88c5-e5f0acc1a316"]},{"Key":"X-Request-ID","Value":["63d2dcf6b1359642"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:44 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19177-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853644.226396,VS0,VE125"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/32302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["377"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/bd98e731-b327-5669-88c5-e5f0acc1a316"]},{"Key":"X-Request-ID","Value":["b0b2ff7594c02c4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861727.419910,VS0,VE135"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/32302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/0_PUT/response_content.json index 42155f194..c07296615 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "bd98e731-b327-5669-88c5-e5f0acc1a316", "name": "Hooray!", - "codename": "hooray__bd98e73", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "32302811b05f429284006ea94c68333", - "last_modified": "2021-08-13T11:20:44.2866603Z" + "last_modified": "2021-08-13T13:35:27.4635803Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/request.json index 46799eaee..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__bd98e73/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/response.json index fb9cc0e25..3f069f48e 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/bd98e731-b327-5669-88c5-e5f0acc1a316/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["6d241d4e44072e4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:44 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19177-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853644.374074,VS0,VE208"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__bd98e73/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/bd98e731-b327-5669-88c5-e5f0acc1a316/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["9b3c11f867ee2a42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861728.575728,VS0,VE708"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/response_content.json index 54963f98f..f2b93ffad 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:44.3960442Z" + "last_modified": "2021-08-13T13:35:27.7448597Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/2_PUT/response.json index 63c0414fe..e45fb6a21 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9fb791e0aec1f940"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:44 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19177-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853645.609402,VS0,VE195"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["44"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/32302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["08bcd47ad501684b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861728.305364,VS0,VE512"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["44"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/32302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/3_GET/response.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/3_GET/response.json index 15e68a8a5..dea765a6c 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/3_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/3_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9d8e9d60eac67141"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:44 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19177-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853645.832754,VS0,VE21"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/32302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["40fc90d0ae953e47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:28 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861729.837443,VS0,VE24"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/32302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/3_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/3_GET/response_content.json index 8f804a873..aca2c9b62 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/3_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/3_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:44.3960442Z" + "last_modified": "2021-08-13T13:35:27.7448597Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/4_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/4_DELETE/response.json index 6304091ba..337f72d38 100644 --- a/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/4_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/SchedulePublishingOfVariant_SchedulesPublishingOfVariant_142/4_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2cff5de1066c0544"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:45 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19177-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853645.875985,VS0,VE182"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/32302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f2685f4e40614d41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19165-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861729.880819,VS0,VE190"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/32302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/0_PUT/response.json index 83e0cac89..b5433285d 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["385"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/811bdd6a-910c-5312-8fd3-1d7783cd14a6"]},{"Key":"X-Request-ID","Value":["39e60a9ffa509c4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19130-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853633.477485,VS0,VE93"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["375"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/811bdd6a-910c-5312-8fd3-1d7783cd14a6"]},{"Key":"X-Request-ID","Value":["4ec0275cdac1ff4a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:16 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861717.518234,VS0,VE257"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/0_PUT/response_content.json index 82e5a31d6..3cba9735d 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "811bdd6a-910c-5312-8fd3-1d7783cd14a6", "name": "Hooray!", - "codename": "hooray__811bdd6", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "35302811b05f429284006ea94c68333", - "last_modified": "2021-08-13T11:20:33.4889708Z" + "last_modified": "2021-08-13T13:35:16.71344Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/request.json index bee6be7c4..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__811bdd6/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/response.json index 58f5c0732..d98e848d7 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/811bdd6a-910c-5312-8fd3-1d7783cd14a6/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["539bf94b584d5a4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19130-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853634.606154,VS0,VE209"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__811bdd6/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/811bdd6a-910c-5312-8fd3-1d7783cd14a6/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["83d24fe305963748"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:17 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861717.820954,VS0,VE243"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/response_content.json index 2cb3a8a58..d00e40bc3 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:33.6295847Z" + "last_modified": "2021-08-13T13:35:16.8384413Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/2_PUT/response.json index 5bd659cce..b6dd9fa92 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["0b8cd5904ba60644"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:33 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19130-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853634.836916,VS0,VE138"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["a4ff39e2286cb94c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:17 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861717.107251,VS0,VE217"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/3_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/3_PUT/response.json index 154b140c9..eb7139e16 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/3_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/3_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5104d375d8db8946"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:34 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19130-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853634.988257,VS0,VE135"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["44"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333/variants/codename/es-ES/unpublish-and-archive","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b7f787ae575cbc45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:17 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861717.338294,VS0,VE151"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["44"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333/variants/codename/es-ES/unpublish-and-archive","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/4_GET/response.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/4_GET/response.json index 9863080a7..8403e1cb6 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/4_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/4_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4bf5dd6723dd2849"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:34 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19130-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853634.145089,VS0,VE19"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["52093df681cca74d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:17 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861718.510434,VS0,VE23"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/4_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/4_GET/response_content.json index 03c56a103..9e9a987a7 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/4_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/4_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:33.6295847Z" + "last_modified": "2021-08-13T13:35:16.8384413Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/5_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/5_PUT/response.json index 0361137fe..ae5e0c891 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/5_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/5_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f12fe8d5eb1a3c4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:34 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19130-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853634.178658,VS0,VE129"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333/variants/codename/es-ES/unpublish-and-archive","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["427042b303a6e442"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:17 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861718.548560,VS0,VE132"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333/variants/codename/es-ES/unpublish-and-archive","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/6_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/6_DELETE/response.json index deb4e96d9..ac3087452 100644 --- a/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/6_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant_169/6_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ad6357e9d042464c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:34 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19130-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853634.338194,VS0,VE385"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9ed1672e941f774c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:17 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861718.700967,VS0,VE167"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/35302811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/0_PUT/response.json index 7e6eb9d80..7f57bf9be 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["376"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/1a43017e-3e44-5381-bb4f-c80e0c001c0a"]},{"Key":"X-Request-ID","Value":["67d0cf6165e3964d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:21:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853683.612507,VS0,VE105"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["377"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/1a43017e-3e44-5381-bb4f-c80e0c001c0a"]},{"Key":"X-Request-ID","Value":["eefd6095f9192649"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:15 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861715.004952,VS0,VE120"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/0_PUT/response_content.json index 09d8f288b..912862812 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/0_PUT/response_content.json @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "78902811b05f429284006ea94c68333", - "last_modified": "2021-08-13T11:21:22.652961Z" + "last_modified": "2021-08-13T13:35:15.0571721Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/1_PUT/response.json index 14d0dbc06..f442e70ea 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/1a43017e-3e44-5381-bb4f-c80e0c001c0a/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["f7adcd46d3877247"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:21:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853683.782521,VS0,VE185"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/1a43017e-3e44-5381-bb4f-c80e0c001c0a/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["097a426561f0b74a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:15 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861715.145553,VS0,VE240"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/1_PUT/response_content.json index 04798515c..a3caa5328 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:21:22.8092129Z" + "last_modified": "2021-08-13T13:35:15.1821706Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/2_PUT/response.json index 9d1313b50..145fee8fe 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["add229fddc72614d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:21:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853683.009154,VS0,VE146"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b702da96ee687f46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:15 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861715.406534,VS0,VE170"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333/variants/codename/es-ES/publish","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/3_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/3_PUT/response.json index f6d45c0cd..dcb143460 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/3_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/3_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["a1868b1b6d7cf44f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:21:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853683.177504,VS0,VE128"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333/variants/codename/es-ES/unpublish-and-archive","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c0fcf5690576494f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:15 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861716.599066,VS0,VE146"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333/variants/codename/es-ES/unpublish-and-archive","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/4_GET/response.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/4_GET/response.json index 2918baf39..1e6103849 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/4_GET/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/4_GET/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["80929f970d86c54d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:21:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853683.321271,VS0,VE33"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["647aeef00c4e9743"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:15 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861716.768644,VS0,VE27"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"GET"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/4_GET/response_content.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/4_GET/response_content.json index 141d9149b..a9b516e5e 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/4_GET/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/4_GET/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:21:22.8092129Z" + "last_modified": "2021-08-13T13:35:15.1821706Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/5_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/5_DELETE/response.json index 4ff2cc2ff..9b2fd0167 100644 --- a/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/5_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UnpublishVariant_UnpublishesVariant_85/5_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e5f8790b9fef2b4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:21:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853683.372790,VS0,VE159"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["42c55a9c95af2f43"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:16 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19182-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861716.813182,VS0,VE224"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/78902811b05f429284006ea94c68333","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpdateAssetById_ReturnsUpdatedAsset_336/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpdateAssetById_ReturnsUpdatedAsset_336/0_PUT/response.json index 0e3919b9b..69a446f8a 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpdateAssetById_ReturnsUpdatedAsset_336/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpdateAssetById_ReturnsUpdatedAsset_336/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["844"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3ab3b960d8dfa643"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19141-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853630.697963,VS0,VE64"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["161"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/01647205-c8c4-4b41-b524-1a98a7b12750","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["844"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["6b5b5e7c42ed914f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:11 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861712.904759,VS0,VE31"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["161"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/01647205-c8c4-4b41-b524-1a98a7b12750","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpdateAssetById_ReturnsUpdatedAsset_336/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpdateAssetById_ReturnsUpdatedAsset_336/0_PUT/response_content.json index 2875b2e1f..6add87559 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpdateAssetById_ReturnsUpdatedAsset_336/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpdateAssetById_ReturnsUpdatedAsset_336/0_PUT/response_content.json @@ -25,5 +25,5 @@ "description": "Bolso de cafe en grano" } ], - "last_modified": "2021-08-13T11:20:29.7389269Z" + "last_modified": "2021-08-13T13:35:11.9165157Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName_127/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName_127/0_PUT/response.json index 5791688e0..915e56f72 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName_127/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName_127/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["343"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["bf674669ac2a3b40"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:51 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19135-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853651.066550,VS0,VE133"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["31"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/0f79b41f-53d3-41b5-8fa0-153c87f60bc1","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["343"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3609d7d1ab571649"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:35 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19135-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861735.369028,VS0,VE121"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["31"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/0f79b41f-53d3-41b5-8fa0-153c87f60bc1","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName_127/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName_127/0_PUT/response_content.json index eefa40e45..295081022 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName_127/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName_127/0_PUT/response_content.json @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:51.0864717Z" + "last_modified": "2021-08-13T13:35:35.3855623Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ByCodename_UpdatesContentItem_81/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ByCodename_UpdatesContentItem_81/0_PUT/response.json index c913bdf38..9c5eec969 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ByCodename_UpdatesContentItem_81/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ByCodename_UpdatesContentItem_81/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["325"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["cafa90a847e6394b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853640.576902,VS0,VE86"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["100"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["325"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["13bc4b81cf051d45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19170-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861723.764877,VS0,VE75"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["100"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ById_UpdatesContentItem_105/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ById_UpdatesContentItem_105/0_PUT/response.json index 027c650e7..905cf5775 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ById_UpdatesContentItem_105/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ById_UpdatesContentItem_105/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["328"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["009dca85dee5ef4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19126-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853638.436601,VS0,VE31"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["43"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/0f79b41f-53d3-41b5-8fa0-153c87f60bc1","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["328"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e7e2560889733644"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:21 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19132-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861722.719609,VS0,VE132"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["43"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/0f79b41f-53d3-41b5-8fa0-153c87f60bc1","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ById_UpdatesContentItem_105/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ById_UpdatesContentItem_105/0_PUT/response_content.json index e125e5e80..3c57859d7 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ById_UpdatesContentItem_105/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpdateContentItem_ById_UpdatesContentItem_105/0_PUT/response_content.json @@ -9,5 +9,5 @@ "id": "00000000-0000-0000-0000-000000000000" }, "sitemap_locations": [], - "last_modified": "2021-08-13T11:20:08.6292637Z" + "last_modified": "2021-08-13T13:35:21.7447417Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/0_POST/response.json index c696a54a8..106b6f7ff 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["7bbaffa0be189343"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19125-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.995953,VS0,VE78"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["text/plain"]},{"Key":"Content-Length","Value":["99"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/HelloExternal.txt","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["418c681e05340f47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19180-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861707.323306,VS0,VE72"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["text/plain"]},{"Key":"Content-Length","Value":["99"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/HelloExternal.txt","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/0_POST/response_content.json index 884547745..1c0107e1f 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/0_POST/response_content.json @@ -1,4 +1,4 @@ { - "id": "26c44d1f-d401-4c9e-8e76-d87ef9546660", + "id": "dccee986-8c71-424d-b1cb-07cdbdfdd1f0", "type": "internal" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/request_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/request_content.json index 6ac03c833..edafbb308 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/request_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/request_content.json @@ -1 +1 @@ -{"file_reference":{"id":"26c44d1f-d401-4c9e-8e76-d87ef9546660","type":"internal"},"descriptions":[{"language":{"id":"78dbefe8-831b-457e-9352-f4c4eacd5024"},"description":"Spanish descriptión"}],"title":"New title"} \ No newline at end of file +{"file_reference":{"id":"dccee986-8c71-424d-b1cb-07cdbdfdd1f0","type":"internal"},"descriptions":[{"language":{"id":"78dbefe8-831b-457e-9352-f4c4eacd5024"},"description":"Spanish descriptión"}],"title":"New title"} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/response.json index 0b44ead24..fc72071fa 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["856"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5adaa68b04d7a541"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19125-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.105135,VS0,VE72"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["215"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/external-id/5bec7f21ad2e44bb8a3a1f4a6a5bf8ca","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["856"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["f6f806d7d79f5f43"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19180-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861707.421761,VS0,VE87"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["215"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/external-id/5bec7f21ad2e44bb8a3a1f4a6a5bf8ca","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/response_content.json index 2976e1265..33c12c54f 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/1_PUT/response_content.json @@ -4,11 +4,11 @@ "title": "New title", "size": 99, "type": "text/plain", - "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/26c44d1f-d401-4c9e-8e76-d87ef9546660/HelloExternal.txt", + "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/dccee986-8c71-424d-b1cb-07cdbdfdd1f0/HelloExternal.txt", "image_width": null, "image_height": null, "file_reference": { - "id": "26c44d1f-d401-4c9e-8e76-d87ef9546660", + "id": "dccee986-8c71-424d-b1cb-07cdbdfdd1f0", "type": "internal" }, "descriptions": [ @@ -26,5 +26,5 @@ } ], "external_id": "5bec7f21ad2e44bb8a3a1f4a6a5bf8ca", - "last_modified": "2021-08-13T11:20:25.1294669Z" + "last_modified": "2021-08-13T13:35:07.4477439Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/2_DELETE/response.json index ea1a7430f..ef17874eb 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset_301/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["edd91f4200a9534d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19125-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.213794,VS0,VE52"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/external-id/5bec7f21ad2e44bb8a3a1f4a6a5bf8ca","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2d34077c57e43a4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:07 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19180-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861708.537206,VS0,VE42"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/external-id/5bec7f21ad2e44bb8a3a1f4a6a5bf8ca","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/0_POST/response.json index 03dfc666e..32fd3d9cb 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["46a477233b60db48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.514927,VS0,VE53"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["text/plain"]},{"Key":"Content-Length","Value":["99"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/HelloExternal.txt","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["75"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5574db3dac674f4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:21 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861722.905480,VS0,VE52"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["text/plain"]},{"Key":"Content-Length","Value":["99"]}]},"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/files/HelloExternal.txt","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/0_POST/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/0_POST/response_content.json index 666456f09..2b0c0212f 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/0_POST/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/0_POST/response_content.json @@ -1,4 +1,4 @@ { - "id": "c938c2bf-9f02-4a02-9740-7929801a37ff", + "id": "707a6701-f18a-4006-a954-004ec7120694", "type": "internal" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/request_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/request_content.json index dd92efeff..e7f082418 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/request_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/request_content.json @@ -1 +1 @@ -{"file_reference":{"id":"c938c2bf-9f02-4a02-9740-7929801a37ff","type":"internal"},"descriptions":[{"language":{"id":"78dbefe8-831b-457e-9352-f4c4eacd5024"},"description":"Spanish descriptión"}]} \ No newline at end of file +{"file_reference":{"id":"707a6701-f18a-4006-a954-004ec7120694","type":"internal"},"descriptions":[{"language":{"id":"78dbefe8-831b-457e-9352-f4c4eacd5024"},"description":"Spanish descriptión"}]} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/response.json index d3e6c170f..63b194da5 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["849"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b1d398491ae72a42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.604141,VS0,VE54"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["195"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/external-id/99877608d1f6448ebb35778f027c92f6","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["849"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c27dc36e8732d94f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861722.979737,VS0,VE63"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["195"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/external-id/99877608d1f6448ebb35778f027c92f6","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/response_content.json index b691e7531..dc17a92ec 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/1_PUT/response_content.json @@ -4,11 +4,11 @@ "title": null, "size": 99, "type": "text/plain", - "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/c938c2bf-9f02-4a02-9740-7929801a37ff/HelloExternal.txt", + "url": "https://assets-eu-01.kc-usercontent.com/a9931a80-9af4-010b-0590-ecb1273cf1b8/707a6701-f18a-4006-a954-004ec7120694/HelloExternal.txt", "image_width": null, "image_height": null, "file_reference": { - "id": "c938c2bf-9f02-4a02-9740-7929801a37ff", + "id": "707a6701-f18a-4006-a954-004ec7120694", "type": "internal" }, "descriptions": [ @@ -26,5 +26,5 @@ } ], "external_id": "99877608d1f6448ebb35778f027c92f6", - "last_modified": "2021-08-13T11:20:38.6140158Z" + "last_modified": "2021-08-13T13:35:21.9947414Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/2_DELETE/response.json index 2c58d3c34..f0fb94b27 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset_193/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ea848dfba913ef48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19142-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.693107,VS0,VE39"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/external-id/99877608d1f6448ebb35778f027c92f6","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["8c891af4ccf5c24a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861722.068216,VS0,VE46"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/external-id/99877608d1f6448ebb35778f027c92f6","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/0_PUT/response.json index cfa867dae..eba3fe1e0 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/661b9deb-e484-5802-9b5d-87203f1ea48a"]},{"Key":"X-Request-ID","Value":["49a88727a3b55247"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.892563,VS0,VE73"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["151"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/9d98959eeac446288992b44b5d366e16","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/661b9deb-e484-5802-9b5d-87203f1ea48a"]},{"Key":"X-Request-ID","Value":["06b5e4e4ef792c48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19178-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861722.267480,VS0,VE81"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["151"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/9d98959eeac446288992b44b5d366e16","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/0_PUT/response_content.json index 75ae9140b..0e46423f3 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/0_PUT/response_content.json @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "9d98959eeac446288992b44b5d366e16", - "last_modified": "2021-08-13T11:20:38.9108926Z" + "last_modified": "2021-08-13T13:35:22.2916173Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/1_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/1_DELETE/response.json index a3039824a..e3d59247d 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/1_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_CreatesContentItem_202/1_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ce9f9d79b1b40648"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853639.981424,VS0,VE76"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/9d98959eeac446288992b44b5d366e16","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["df7a84d861f6c047"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:22 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19178-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861722.373754,VS0,VE116"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/9d98959eeac446288992b44b5d366e16","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/0_PUT/response.json index 3155515ad..2774bd943 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/327b547d-58e8-5b57-b0cc-7660f33fbaaf"]},{"Key":"X-Request-ID","Value":["37bd78794df04f48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853638.040588,VS0,VE98"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/753f6e965f4d49e5a120ca9a23551b10","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/327b547d-58e8-5b57-b0cc-7660f33fbaaf"]},{"Key":"X-Request-ID","Value":["b4205c15ed05244c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:21 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19167-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861721.350592,VS0,VE95"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/753f6e965f4d49e5a120ca9a23551b10","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/0_PUT/response_content.json index 0cd58b2ca..c18a7fd0b 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "327b547d-58e8-5b57-b0cc-7660f33fbaaf", "name": "Hooray!", - "codename": "hooray__327b547", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "753f6e965f4d49e5a120ca9a23551b10", - "last_modified": "2021-08-13T11:20:38.0827816Z" + "last_modified": "2021-08-13T13:35:21.3853644Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/1_PUT/response.json index aeb006804..255c56451 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["384"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["15a5c7a1dfe2b44e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853638.180708,VS0,VE119"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["157"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/753f6e965f4d49e5a120ca9a23551b10","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["384"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2e003ee7edccfc49"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:21 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19167-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861721.466690,VS0,VE97"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["157"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/753f6e965f4d49e5a120ca9a23551b10","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/1_PUT/response_content.json index fc97597e8..1499816be 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/1_PUT/response_content.json @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "753f6e965f4d49e5a120ca9a23551b10", - "last_modified": "2021-08-13T11:20:38.2233617Z" + "last_modified": "2021-08-13T13:35:21.4947447Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/2_DELETE/response.json index 25e7d30ae..e779a41c9 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertContentItemByExternalId_UpdatesContentItem_171/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ba3d4180a6b0694d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19134-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853638.316319,VS0,VE69"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/753f6e965f4d49e5a120ca9a23551b10","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["4a51f66aa2660f4b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:21 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19167-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861722.584028,VS0,VE72"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/753f6e965f4d49e5a120ca9a23551b10","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant_569/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant_569/0_PUT/response.json index 362ed705e..4561402c9 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant_569/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant_569/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5118"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["813ae58cdd41084f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19179-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853625.611057,VS0,VE76"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["1993"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5118"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["5326caf02967714a"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19154-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861707.700048,VS0,VE74"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["1993"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant_569/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant_569/0_PUT/response_content.json index 60015c166..6b8cbcc6f 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant_569/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant_569/0_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:24.6138352Z" + "last_modified": "2021-08-13T13:35:06.7133657Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant_83/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant_83/0_PUT/response.json index dedf2da23..17da2aacd 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant_83/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant_83/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d959b8711e77ff40"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:45 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853646.756045,VS0,VE90"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["de1c2ddccc59884b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19181-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861730.756009,VS0,VE105"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant_83/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant_83/0_PUT/response_content.json index af3c47557..5046fb8f5 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant_83/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant_83/0_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:45.7866725Z" + "last_modified": "2021-08-13T13:35:29.7917757Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageId_UpdatesVariant_45/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageId_UpdatesVariant_45/0_PUT/response.json index 741019a8c..4a4850eae 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageId_UpdatesVariant_45/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageId_UpdatesVariant_45/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["faf397fe1732ae41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19183-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853626.082753,VS0,VE108"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["2dad724e2289de43"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:09 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19152-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861709.011578,VS0,VE108"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/on_roasts/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageId_UpdatesVariant_45/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageId_UpdatesVariant_45/0_PUT/response_content.json index 0d94533d4..0efbbe524 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageId_UpdatesVariant_45/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByCodename_LanguageId_UpdatesVariant_45/0_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:26.1294813Z" + "last_modified": "2021-08-13T13:35:09.0259006Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/0_PUT/response.json index a0c2b22a0..dcddc2a0a 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/87a104b9-c74d-5f04-b07d-19fcf0d3f066"]},{"Key":"X-Request-ID","Value":["b904be590962bb4e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:41 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853642.846340,VS0,VE127"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/348052a5ad8c44ddac1e9683923d74a5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["377"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/87a104b9-c74d-5f04-b07d-19fcf0d3f066"]},{"Key":"X-Request-ID","Value":["36193d0844300f4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19155-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861725.168919,VS0,VE115"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/348052a5ad8c44ddac1e9683923d74a5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/0_PUT/response_content.json index 405eb5fef..228c5ab71 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "87a104b9-c74d-5f04-b07d-19fcf0d3f066", "name": "Hooray!", - "codename": "hooray__87a104b", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "348052a5ad8c44ddac1e9683923d74a5", - "last_modified": "2021-08-13T11:20:41.8960366Z" + "last_modified": "2021-08-13T13:35:25.213526Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/1_PUT/response.json index 1648c4511..ba5e6b76e 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/87a104b9-c74d-5f04-b07d-19fcf0d3f066/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["58185411a5cefe4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:42 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853642.995754,VS0,VE277"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/348052a5ad8c44ddac1e9683923d74a5/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/87a104b9-c74d-5f04-b07d-19fcf0d3f066/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["d42f6b2b7bd84c45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19155-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861725.304815,VS0,VE210"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/348052a5ad8c44ddac1e9683923d74a5/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/1_PUT/response_content.json index 1d3736c4f..59c89b72e 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:42.0054113Z" + "last_modified": "2021-08-13T13:35:25.3229051Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/2_DELETE/response.json index af09de58c..e8109d9f0 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant_129/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["032df98e9cb15b47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:42 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853642.315278,VS0,VE303"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/348052a5ad8c44ddac1e9683923d74a5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["74d2c1a3afb59c46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:25 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19155-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861726.536993,VS0,VE187"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/348052a5ad8c44ddac1e9683923d74a5","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/0_PUT/response.json index c1b61ee36..4c68029b1 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e6e0442a-4890-5ca5-8a50-a3c8c1d910fc"]},{"Key":"X-Request-ID","Value":["dad75193881fbc48"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19141-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853626.265200,VS0,VE113"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/fe2e8c24f0794f01b36807919602625d","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e6e0442a-4890-5ca5-8a50-a3c8c1d910fc"]},{"Key":"X-Request-ID","Value":["f25ee2d91a33f545"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:09 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861709.204262,VS0,VE118"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/fe2e8c24f0794f01b36807919602625d","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/0_PUT/response_content.json index d66743623..e2ea3ff40 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/0_PUT/response_content.json @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "fe2e8c24f0794f01b36807919602625d", - "last_modified": "2021-08-13T11:20:26.2857315Z" + "last_modified": "2021-08-13T13:35:09.2133931Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/1_PUT/response.json index 8f6599eb1..21cda239c 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e6e0442a-4890-5ca5-8a50-a3c8c1d910fc/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["c00347f20f4dcf47"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19141-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853626.407469,VS0,VE239"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__e6e0442/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/e6e0442a-4890-5ca5-8a50-a3c8c1d910fc/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["4500b3eadc777f4d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:09 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861709.348182,VS0,VE197"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__e6e0442/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/1_PUT/response_content.json index 3c686c3bc..b4deae2d1 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:26.4263687Z" + "last_modified": "2021-08-13T13:35:09.3852346Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/2_PUT/response.json index 86a39f718..0e97779b6 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b75adcb55a980b40"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:26 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19141-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853627.671886,VS0,VE120"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/fe2e8c24f0794f01b36807919602625d/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ce75d65abbd93949"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:09 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861710.569603,VS0,VE144"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/fe2e8c24f0794f01b36807919602625d/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/2_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/2_PUT/response_content.json index 93930128c..90dba4c51 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/2_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/2_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:26.6763667Z" + "last_modified": "2021-08-13T13:35:09.5727374Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/3_DELETE/response.json index 912e3575d..320f04be4 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant_102/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b771805ef3bef844"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:27 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19141-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853627.815513,VS0,VE187"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/fe2e8c24f0794f01b36807919602625d","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["b9c2b53e6790a442"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:09 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19160-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861710.751602,VS0,VE153"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/fe2e8c24f0794f01b36807919602625d","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/0_PUT/response.json index dffb7f1e4..d36e1048d 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/2b5118d7-9849-58e7-a2de-17cfcd9fa1fc"]},{"Key":"X-Request-ID","Value":["75b89c1b9f02ff4c"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:54 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19123-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853655.590476,VS0,VE127"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/73e02811b05f429284006ea94c68c8f7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/2b5118d7-9849-58e7-a2de-17cfcd9fa1fc"]},{"Key":"X-Request-ID","Value":["14367ed646d0284f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19136-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861739.584717,VS0,VE141"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/73e02811b05f429284006ea94c68c8f7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/0_PUT/response_content.json index 7b73e9ca9..d914c5f49 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "2b5118d7-9849-58e7-a2de-17cfcd9fa1fc", "name": "Hooray!", - "codename": "hooray__2b5118d", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "73e02811b05f429284006ea94c68c8f7", - "last_modified": "2021-08-13T11:20:54.6357373Z" + "last_modified": "2021-08-13T13:35:38.6043429Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/1_PUT/response.json index c02e9f0b8..edbe3a33e 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/2b5118d7-9849-58e7-a2de-17cfcd9fa1fc/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["ad6cda65c38e194d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:55 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19123-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853655.745065,VS0,VE304"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/73e02811b05f429284006ea94c68c8f7/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/2b5118d7-9849-58e7-a2de-17cfcd9fa1fc/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["ad2d4acb8cd34748"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:38 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19136-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861739.747679,VS0,VE184"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/73e02811b05f429284006ea94c68c8f7/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/1_PUT/response_content.json index 1af3b9cba..4b88f7e28 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:54.7607005Z" + "last_modified": "2021-08-13T13:35:38.7611158Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/2_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/2_DELETE/response.json index 38030691d..13b6bdd26 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/2_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_CreatesVariant_183/2_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["69d7accf17733449"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:55 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19123-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853655.078401,VS0,VE174"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/73e02811b05f429284006ea94c68c8f7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["39415c26a364c147"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19136-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861739.961712,VS0,VE408"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/73e02811b05f429284006ea94c68c8f7","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/0_PUT/response.json index 9b048c0da..5f7c0a7ef 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/f32ce99f-585f-5100-b0f4-387faac5d7c4"]},{"Key":"X-Request-ID","Value":["7c45ff78d37be649"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853631.586512,VS0,VE100"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/d5e050980baa43b085b909cdea4c6d2b","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/f32ce99f-585f-5100-b0f4-387faac5d7c4"]},{"Key":"X-Request-ID","Value":["bd0bd36f67845042"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:12 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861713.713178,VS0,VE118"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/d5e050980baa43b085b909cdea4c6d2b","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/0_PUT/response_content.json index 26a1e2c12..8e9c43ede 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/0_PUT/response_content.json @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "d5e050980baa43b085b909cdea4c6d2b", - "last_modified": "2021-08-13T11:20:30.5982828Z" + "last_modified": "2021-08-13T13:35:12.7446762Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/1_PUT/response.json index 6f0d8bd2b..630f2927c 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5104"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/f32ce99f-585f-5100-b0f4-387faac5d7c4/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["173bfdfd7eff7147"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853631.711776,VS0,VE179"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__f32ce99/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5104"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/f32ce99f-585f-5100-b0f4-387faac5d7c4/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["5b0fb57be99bed45"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:13 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861713.857956,VS0,VE309"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__f32ce99/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/1_PUT/response_content.json index 01134733d..909bc6cb8 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/1_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:30.738917Z" + "last_modified": "2021-08-13T13:35:12.885302Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/2_PUT/response.json index 7667f69c7..3474fc64b 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["82f6c28271eb3541"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853631.919438,VS0,VE125"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/d5e050980baa43b085b909cdea4c6d2b/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["c4d126818a3ec045"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:13 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861713.185651,VS0,VE153"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/d5e050980baa43b085b909cdea4c6d2b/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/2_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/2_PUT/response_content.json index d05273b54..fd7bef34f 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/2_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/2_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:30.9264353Z" + "last_modified": "2021-08-13T13:35:13.1977999Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/3_DELETE/response.json index 35e89f545..843906be2 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ByExternalId_LanguageId_UpdatesVariant_155/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e79698c18dfaac42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:31 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853631.068235,VS0,VE165"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/d5e050980baa43b085b909cdea4c6d2b","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3515060033328d4f"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:13 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19129-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861713.359933,VS0,VE175"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/d5e050980baa43b085b909cdea4c6d2b","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageCodename_UpdatesVariant_64/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageCodename_UpdatesVariant_64/0_PUT/response.json index 1aeec869e..203a69581 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageCodename_UpdatesVariant_64/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageCodename_UpdatesVariant_64/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["e9d3db94b4599245"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:29 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19173-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853630.812088,VS0,VE78"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["656f777b4a852445"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:12 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19122-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861712.981856,VS0,VE76"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageCodename_UpdatesVariant_64/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageCodename_UpdatesVariant_64/0_PUT/response_content.json index 188b41004..4c8b4b513 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageCodename_UpdatesVariant_64/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageCodename_UpdatesVariant_64/0_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:29.8170218Z" + "last_modified": "2021-08-13T13:35:11.9946427Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageId_UpdatesVariant_26/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageId_UpdatesVariant_26/0_PUT/response.json index 3787d472e..a8e52cdf9 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageId_UpdatesVariant_26/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageId_UpdatesVariant_26/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["dfecdcc0b3d27046"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:30 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19157-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853630.422144,VS0,VE96"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["3a8cb99421546343"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:12 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19120-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861713.557540,VS0,VE111"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/4b628214-e4fe-4fe0-b1ff-955df33e1515/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageId_UpdatesVariant_26/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageId_UpdatesVariant_26/0_PUT/response_content.json index ca76b72a6..08948ec3d 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageId_UpdatesVariant_26/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_ById_LanguageId_UpdatesVariant_26/0_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:30.4264281Z" + "last_modified": "2021-08-13T13:35:12.5571963Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/0_PUT/response.json index 2193ba1a7..f14d2121e 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/21356bbe-bd5d-58aa-84fe-679fc2ea59c5"]},{"Key":"X-Request-ID","Value":["5d1f961cb0965f41"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:39 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853640.707162,VS0,VE148"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/5249f596a8be4d719bc9816e3d416d16","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/21356bbe-bd5d-58aa-84fe-679fc2ea59c5"]},{"Key":"X-Request-ID","Value":["afbd87b6fd6f514d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19128-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861723.885363,VS0,VE140"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/5249f596a8be4d719bc9816e3d416d16","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/0_PUT/response_content.json index 985ab1c00..ae2de5f32 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "21356bbe-bd5d-58aa-84fe-679fc2ea59c5", "name": "Hooray!", - "codename": "hooray__21356bb", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "5249f596a8be4d719bc9816e3d416d16", - "last_modified": "2021-08-13T11:20:39.7702782Z" + "last_modified": "2021-08-13T13:35:22.9478756Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/request.json index a98abc0ce..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__21356bb/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/response.json index 964a0af51..7784882e2 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["3119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/21356bbe-bd5d-58aa-84fe-679fc2ea59c5/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["2e19647b111a4743"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853640.877150,VS0,VE190"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["15"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__21356bb/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["3119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/21356bbe-bd5d-58aa-84fe-679fc2ea59c5/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["193ab21368c6114d"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19128-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861723.046785,VS0,VE264"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["15"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/response_content.json index fee1f814d..7f2c34b47 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/1_PUT/response_content.json @@ -151,5 +151,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:39.8952559Z" + "last_modified": "2021-08-13T13:35:23.1041289Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/2_PUT/response.json index a4ebe828b..e1a5878f2 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/21356bbe-bd5d-58aa-84fe-679fc2ea59c5/variants/00000000-0000-0000-0000-000000000000"]},{"Key":"X-Request-ID","Value":["391fc606692c294b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853640.082020,VS0,VE303"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/5249f596a8be4d719bc9816e3d416d16/variants/00000000-0000-0000-0000-000000000000","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/21356bbe-bd5d-58aa-84fe-679fc2ea59c5/variants/00000000-0000-0000-0000-000000000000"]},{"Key":"X-Request-ID","Value":["6161456a999f3341"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19128-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861723.333896,VS0,VE219"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/5249f596a8be4d719bc9816e3d416d16/variants/00000000-0000-0000-0000-000000000000","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/2_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/2_PUT/response_content.json index d372f975d..8f947e80f 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/2_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/2_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "00000000-0000-0000-0000-000000000000" }, - "last_modified": "2021-08-13T11:20:40.1296375Z" + "last_modified": "2021-08-13T13:35:23.3541596Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/3_DELETE/response.json index 4b38fb0f5..4c652465d 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_CreatesVariant_238/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["61ecf980e7bdf44e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:40 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19166-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853640.411219,VS0,VE257"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/5249f596a8be4d719bc9816e3d416d16","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9499b8fb7d1f8a43"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:23 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19128-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861724.580218,VS0,VE344"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/5249f596a8be4d719bc9816e3d416d16","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/0_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/0_PUT/response.json index e4096b584..87f4cfea7 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/0_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/0_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["386"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/83daabfd-cc08-510c-a966-560f9faad900"]},{"Key":"X-Request-ID","Value":["ccd4b00d3af64a42"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853637.028238,VS0,VE167"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/4357b71d21eb45369d54a635faf7672b","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["378"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/83daabfd-cc08-510c-a966-560f9faad900"]},{"Key":"X-Request-ID","Value":["81009c5ae44ce44e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:20 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861720.156288,VS0,VE138"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["71"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/4357b71d21eb45369d54a635faf7672b","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/0_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/0_PUT/response_content.json index bbf6fef0c..6bd13cd9c 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/0_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/0_PUT/response_content.json @@ -1,7 +1,7 @@ { "id": "83daabfd-cc08-510c-a966-560f9faad900", "name": "Hooray!", - "codename": "hooray__83daabf", + "codename": "hooray_", "type": { "id": "ba5cd79d-6d4b-5bed-a681-6aa3a366c8f7" }, @@ -10,5 +10,5 @@ }, "sitemap_locations": [], "external_id": "4357b71d21eb45369d54a635faf7672b", - "last_modified": "2021-08-13T11:20:37.0983526Z" + "last_modified": "2021-08-13T13:35:20.1978481Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/request.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/request.json index 5779fc2e9..255ca7a10 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/request.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/request.json @@ -1 +1 @@ -{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__83daabf/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file +{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/response.json index e5d8a9a24..80dc5abba 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["3119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/83daabfd-cc08-510c-a966-560f9faad900/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["0176b32fd4e22243"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853637.217918,VS0,VE206"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["15"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray__83daabf/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["3119"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":201,"ReasonPhrase":"Created","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"Location","Value":["https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/83daabfd-cc08-510c-a966-560f9faad900/variants/78dbefe8-831b-457e-9352-f4c4eacd5024"]},{"Key":"X-Request-ID","Value":["76b74195c4f8434b"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:20 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861720.316431,VS0,VE189"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["15"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/codename/hooray_/variants/codename/es-ES","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/response_content.json index 940831de1..14dd110ac 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/1_PUT/response_content.json @@ -151,5 +151,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:37.2389761Z" + "last_modified": "2021-08-13T13:35:20.3384765Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/2_PUT/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/2_PUT/response.json index 33f064326..9046adf53 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/2_PUT/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/2_PUT/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["d9e2192454564444"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853637.448633,VS0,VE160"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/4357b71d21eb45369d54a635faf7672b/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["5105"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["9c0fe8d6a9af6b46"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:20 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861721.532674,VS0,VE172"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":{"Headers":[{"Key":"Content-Type","Value":["application/json; charset=utf-8"]},{"Key":"Content-Length","Value":["2045"]}]},"Method":{"Method":"PUT"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/4357b71d21eb45369d54a635faf7672b/variants/78dbefe8-831b-457e-9352-f4c4eacd5024","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/2_PUT/response_content.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/2_PUT/response_content.json index ff565380f..92b475d4d 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/2_PUT/response_content.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/2_PUT/response_content.json @@ -94,7 +94,7 @@ "element": { "id": "55a88ab3-4009-5bf9-a590-f32162f09b92" }, - "value": "

Light Roasts

\n

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

\n" + "value": "

Light Roasts

Usually roasted for 6 - 8 minutes or simply until achieving a light brown color.This method is used for milder coffee varieties and for coffee tasting.This type of roasting allows the natural characteristics of each coffee to show.The aroma of coffees produced from light roasts is usually more intense.The cup itself is more acidic and the concentration of caffeine is higher.

" }, { "element": { @@ -205,5 +205,5 @@ "language": { "id": "78dbefe8-831b-457e-9352-f4c4eacd5024" }, - "last_modified": "2021-08-13T11:20:37.4577322Z" + "last_modified": "2021-08-13T13:35:20.5572267Z" } \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/3_DELETE/response.json b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/3_DELETE/response.json index 3dd71ce55..58757d1cd 100644 --- a/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/3_DELETE/response.json +++ b/Kentico.Kontent.Management.Tests/Data/UpsertVariant_UsingResponseModel_UpdatesVariant_210/3_DELETE/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["be0a40e43a34b84e"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:37 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19143-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853638.635202,VS0,VE179"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/4357b71d21eb45369d54a635faf7672b","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[]},"StatusCode":204,"ReasonPhrase":"No Content","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["25f99b51b8d39640"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:21 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19151-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861721.741871,VS0,VE393"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"DELETE"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/items/external-id/4357b71d21eb45369d54a635faf7672b","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/Data/ValidateProject_ReturnsProjectReportModel_43/0_POST/response.json b/Kentico.Kontent.Management.Tests/Data/ValidateProject_ReturnsProjectReportModel_43/0_POST/response.json index 350519f20..039e460f5 100644 --- a/Kentico.Kontent.Management.Tests/Data/ValidateProject_ReturnsProjectReportModel_43/0_POST/response.json +++ b/Kentico.Kontent.Management.Tests/Data/ValidateProject_ReturnsProjectReportModel_43/0_POST/response.json @@ -1 +1 @@ -{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["7698"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["ed1c1e8338ebb546"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 11:20:24 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19155-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628853624.302862,VS0,VE153"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/validate","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file +{"Version":"1.1","Content":{"Headers":[{"Key":"Content-Length","Value":["7698"]},{"Key":"Content-Type","Value":["application/json; charset=utf-8"]}]},"StatusCode":200,"ReasonPhrase":"OK","Headers":[{"Key":"Connection","Value":["keep-alive"]},{"Key":"X-Request-ID","Value":["73f5fcc4cbb1e641"]},{"Key":"X-KC-Backend-Name","Value":["eu-01"]},{"Key":"Request-Context","Value":["appId=cid-v1:74c4cbc5-b55a-433a-8fa9-c5909b7039d7"]},{"Key":"Access-Control-Expose-Headers","Value":["Request-Context"]},{"Key":"Accept-Ranges","Value":["bytes"]},{"Key":"Date","Value":["Fri, 13 Aug 2021 13:35:06 GMT"]},{"Key":"Via","Value":["1.1 varnish"]},{"Key":"X-Served-By","Value":["cache-fra19171-FRA"]},{"Key":"X-Cache","Value":["MISS"]},{"Key":"X-Cache-Hits","Value":["0"]},{"Key":"X-Timer","Value":["S1628861706.394655,VS0,VE165"]}],"TrailingHeaders":[],"RequestMessage":{"Version":"1.1","VersionPolicy":0,"Content":null,"Method":{"Method":"POST"},"RequestUri":"https://manage.kontent.ai/v2/projects/{PROJECT_ID}/validate","Headers":[{"Key":"Authorization","Value":["{API_KEY}"]},{"Key":"X-KC-SDKID","Value":["{SDK_ID}"]}],"Properties":{},"Options":{}},"IsSuccessStatusCode":true} \ No newline at end of file diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/AssetTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/AssetTests.cs index 7c39f232b..f8e78a438 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/AssetTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/AssetTests.cs @@ -18,7 +18,7 @@ partial class ManagementClientTests [Trait("Category", "Asset")] public async Task ListAssets_ListsAssets() { - var client = CreateManagementClient(nameof(ListAssets_ListsAssets)); + var client = CreateManagementClient(); var response = await client.ListAssetsAsync(); Assert.NotNull(response); @@ -29,7 +29,7 @@ public async Task ListAssets_ListsAssets() [Trait("Category", "Asset")] public async Task ListFolders_ListFolders() { - var client = CreateManagementClient(nameof(ListFolders_ListFolders)); + var client = CreateManagementClient(); var response = await client.GetAssetFoldersAsync(); Assert.NotNull(response); @@ -40,7 +40,7 @@ public async Task ListFolders_ListFolders() [Trait("Category", "Asset")] public async Task ListFolders_GetFolderLinkedTree() { - var client = CreateManagementClient(nameof(ListFolders_GetFolderLinkedTree)); + var client = CreateManagementClient(); var response = await client.GetAssetFoldersAsync(); var linkedHierarchy = response.Folders.GetParentLinkedFolderHierarchy(); @@ -54,7 +54,7 @@ public async Task ListFolders_GetFolderLinkedTree() [Trait("Category", "Asset")] public async Task ListFolders_GetFolderLinkedTreeSearchByFolderId() { - var client = CreateManagementClient(nameof(ListFolders_GetFolderLinkedTreeSearchByFolderId)); + var client = CreateManagementClient(); var response = await client.GetAssetFoldersAsync(); var linkedHierarchy = response.Folders.GetParentLinkedFolderHierarchy(); @@ -78,7 +78,7 @@ public async Task ListFolders_GetFolderLinkedTreeSearchByFolderId() [Trait("Category", "Asset")] public async Task ListFolders_GetFolderHierarchy_NonExistingFolder() { - var client = CreateManagementClient(nameof(ListFolders_GetFolderHierarchy_NonExistingFolder)); + var client = CreateManagementClient(); var response = await client.GetAssetFoldersAsync(); var nonExistingFolderId = "2ddaf2dc-8635-4b3f-b04d-5be69a0949e6"; @@ -91,7 +91,7 @@ public async Task ListFolders_GetFolderHierarchy_NonExistingFolder() [Trait("Category", "Asset")] public async Task ListFolders_GetFolderHierarchy_ExistingFolder() { - var client = CreateManagementClient(nameof(ListFolders_GetFolderHierarchy_ExistingFolder)); + var client = CreateManagementClient(); var response = await client.GetAssetFoldersAsync(); var result = response.Folders.GetFolderHierarchyById(ASSET_FOLDER_ID_4TH_LEVEL); @@ -104,7 +104,7 @@ public async Task ListFolders_GetFolderHierarchy_ExistingFolder() [Trait("Category", "Asset")] public async Task ListFolders_GetFolderPathString() { - var client = CreateManagementClient(nameof(ListFolders_GetFolderPathString)); + var client = CreateManagementClient(); var response = await client.GetAssetFoldersAsync(); var linkedHierarchy = response.Folders.GetParentLinkedFolderHierarchy(); @@ -120,7 +120,7 @@ public async Task ListFolders_GetFolderPathString() [Trait("Category", "Asset")] public async Task ListAssets_WithContinuation_ListsAllAssets() { - var client = CreateManagementClient(nameof(ListAssets_WithContinuation_ListsAllAssets)); + var client = CreateManagementClient(); var response = await client.ListAssetsAsync(); Assert.NotNull(response); @@ -147,7 +147,7 @@ public async Task ListAssets_WithContinuation_ListsAllAssets() [Trait("Category", "Asset")] public async Task CreateAsset_WithStream_Uploads_CreatesAsset() { - var client = CreateManagementClient(nameof(CreateAsset_WithStream_Uploads_CreatesAsset)); + var client = CreateManagementClient(); var content = $"Hello world from CM API .NET SDK test {nameof(CreateAsset_WithStream_Uploads_CreatesAsset)}! {"X".PadLeft((int)new Random().NextDouble() * 100, 'X')}"; @@ -190,7 +190,7 @@ public async Task CreateAsset_WithStream_Uploads_CreatesAsset() [Trait("Category", "Asset")] public async Task UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset() { - var client = CreateManagementClient(nameof(UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset)); + var client = CreateManagementClient(); var content = $"Hello world from CM API .NET SDK test {nameof(UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset)}! {"X".PadLeft((int)new Random().NextDouble() * 100, 'X')}"; @@ -237,7 +237,7 @@ public async Task UpsertAssetByExternalId_WithByteArray_Uploads_CreatesAsset() [Trait("Category", "Asset")] public async Task CreateAsset_WithFile_Uploads_CreatesAsset() { - var client = CreateManagementClient(nameof(CreateAsset_WithFile_Uploads_CreatesAsset)); + var client = CreateManagementClient(); var content = $"Hello world from CM API .NET SDK test {nameof(CreateAsset_WithFile_Uploads_CreatesAsset)}! {"X".PadLeft((int)new Random().NextDouble() * 100, 'X')}"; @@ -270,7 +270,7 @@ public async Task CreateAsset_WithFile_Uploads_CreatesAsset() [Trait("Category", "Asset")] public async Task CreateAsset_FromFileSystem_Uploads_CreatesAsset() { - var client = CreateManagementClient(nameof(CreateAsset_FromFileSystem_Uploads_CreatesAsset)); + var client = CreateManagementClient(); var descriptions = new List(); var title = "My new asset"; @@ -298,7 +298,7 @@ public async Task CreateAsset_FromFileSystem_Uploads_CreatesAsset() [Trait("Category", "Asset")] public async Task UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset() { - var client = CreateManagementClient(nameof(UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset)); + var client = CreateManagementClient(); var content = $"Hello world from CM API .NET SDK test {nameof(UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset)}! {"X".PadLeft((int)new Random().NextDouble() * 100, 'X')}"; @@ -333,7 +333,7 @@ public async Task UpsertAssetByExternalId_FromByteArray_Uploads_CreatesAsset() [Trait("Category", "Asset")] public async Task UpdateAssetById_ReturnsUpdatedAsset() { - var client = CreateManagementClient(nameof(UpdateAssetById_ReturnsUpdatedAsset)); + var client = CreateManagementClient(); var identifier = AssetIdentifier.ById(Guid.Parse("01647205-c8c4-4b41-b524-1a98a7b12750")); var title = "My super asset"; @@ -355,7 +355,7 @@ public async Task UpdateAssetById_ReturnsUpdatedAsset() [Trait("Category", "Asset")] public async Task GetAsset_WhenGivenAssetId_ReturnsGivenAsset() { - var client = CreateManagementClient(nameof(GetAsset_WhenGivenAssetId_ReturnsGivenAsset)); + var client = CreateManagementClient(); var identifier = AssetIdentifier.ById(Guid.Parse("01647205-c8c4-4b41-b524-1a98a7b12750")); diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/ContentItemTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/ContentItemTests.cs index baf08d8a5..235e9e4ca 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/ContentItemTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/ContentItemTests.cs @@ -14,7 +14,7 @@ partial class ManagementClientTests [Trait("Category", "ContentItem")] public async void CreateContentItem_CreatesContentItem() { - var client = CreateManagementClient(nameof(CreateContentItem_CreatesContentItem)); + var client = CreateManagementClient(); var itemName = "Hooray!"; var itemCodename = "hooray_codename"; @@ -41,7 +41,7 @@ public async void CreateContentItem_CreatesContentItem() [Trait("Category", "ContentItem")] public async void ListContentItems_ListsContentItems() { - var client = CreateManagementClient(nameof(ListContentItems_ListsContentItems)); + var client = CreateManagementClient(); var response = await client.ListContentItemsAsync(); @@ -53,7 +53,7 @@ public async void ListContentItems_ListsContentItems() [Trait("Category", "ContentItem")] public async void ListContentItems_WithContinuation_ListsAllContentItems() { - var client = CreateManagementClient(nameof(ListContentItems_WithContinuation_ListsAllContentItems)); + var client = CreateManagementClient(); var response = await client.ListContentItemsAsync(); Assert.NotNull(response); @@ -78,7 +78,7 @@ public async void ListContentItems_WithContinuation_ListsAllContentItems() [Trait("Category", "ContentItem")] public async void UpdateContentItem_ByCodename_UpdatesContentItem() { - var client = CreateManagementClient(nameof(UpdateContentItem_ByCodename_UpdatesContentItem)); + var client = CreateManagementClient(); var itemName = "Hooray!"; var identifier = Reference.ByCodename(EXISTING_ITEM_CODENAME); @@ -102,7 +102,7 @@ public async void UpdateContentItem_ByCodename_UpdatesContentItem() [Trait("Category", "ContentItem")] public async void UpdateContentItem_ById_UpdatesContentItem() { - var client = CreateManagementClient(nameof(UpdateContentItem_ById_UpdatesContentItem)); + var client = CreateManagementClient(); var itemName = "Ciao!"; var itemCodename = "ciao_codename"; @@ -124,7 +124,7 @@ public async void UpdateContentItem_ById_UpdatesContentItem() [Trait("Category", "ContentItem")] public async void UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName() { - var client = CreateManagementClient(nameof(UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName)); + var client = CreateManagementClient(); var itemName = "regenerated_codename"; var identifier = Reference.ById(EXISTING_ITEM_ID2); @@ -145,7 +145,7 @@ public async void UpdateContentItemName_CodenameNotSet_RegeneratesCodenameByName [Trait("Category", "ContentItem")] public async void UpdateContentItem_UsingResponseModel_UpdatesContentItem() { - var client = CreateManagementClient(nameof(UpdateContentItem_UsingResponseModel_UpdatesContentItem)); + var client = CreateManagementClient(); // Arrange var externalId = "093afb41b0614a908c8734d2bb840210"; @@ -168,7 +168,7 @@ public async void UpdateContentItem_UsingResponseModel_UpdatesContentItem() [Trait("Category", "ContentItem")] public async void UpsertContentItemByExternalId_UpdatesContentItem() { - var client = CreateManagementClient(nameof(UpsertContentItemByExternalId_UpdatesContentItem)); + var client = CreateManagementClient(); // Arrange var externalId = "753f6e965f4d49e5a120ca9a23551b10"; @@ -199,7 +199,7 @@ public async void UpsertContentItemByExternalId_UpdatesContentItem() [Trait("Category", "ContentItem")] public async void UpsertContentItemByExternalId_CreatesContentItem() { - var client = CreateManagementClient(nameof(UpsertContentItemByExternalId_CreatesContentItem)); + var client = CreateManagementClient(); // Test var externalId = "9d98959eeac446288992b44b5d366e16"; @@ -228,7 +228,7 @@ public async void UpsertContentItemByExternalId_CreatesContentItem() [Trait("Category", "ContentItem")] public async void GetContentItem_ById_GetsContentItem() { - var client = CreateManagementClient(nameof(GetContentItem_ById_GetsContentItem)); + var client = CreateManagementClient(); var identifier = Reference.ById(EXISTING_ITEM_ID); @@ -240,7 +240,7 @@ public async void GetContentItem_ById_GetsContentItem() [Trait("Category", "ContentItem")] public async void GetContentItem_ByCodename_GetsContentItem() { - var client = CreateManagementClient(nameof(GetContentItem_ByCodename_GetsContentItem)); + var client = CreateManagementClient(); var identifier = Reference.ByCodename(EXISTING_ITEM_CODENAME); @@ -252,7 +252,7 @@ public async void GetContentItem_ByCodename_GetsContentItem() [Trait("Category", "ContentItem")] public async void GetContentItem_ByExternalId_GetsContentItem() { - var client = CreateManagementClient(nameof(GetContentItem_ByExternalId_GetsContentItem)); + var client = CreateManagementClient(); // Arrange var externalId = "e5a8de5b584f4182b879c78b696dff09"; @@ -273,7 +273,7 @@ public async void GetContentItem_ByExternalId_GetsContentItem() [Trait("Category", "ContentItem")] public async void DeleteContentItem_ById_DeletesContentItem() { - var client = CreateManagementClient(nameof(DeleteContentItem_ById_DeletesContentItem)); + var client = CreateManagementClient(); var itemToDelete = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME); @@ -292,7 +292,7 @@ public async void DeleteContentItem_ById_DeletesContentItem() [Trait("Category", "ContentItem")] public async void DeleteContentItem_ByCodename_DeletesContentItem() { - var client = CreateManagementClient(nameof(DeleteContentItem_ByCodename_DeletesContentItem)); + var client = CreateManagementClient(); var itemToDelete = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME); @@ -311,7 +311,7 @@ public async void DeleteContentItem_ByCodename_DeletesContentItem() [Trait("Category", "ContentItem")] public async void DeleteContentItem_ByExternalId_DeletesContentItem() { - var client = CreateManagementClient(nameof(DeleteContentItem_ByExternalId_DeletesContentItem)); + var client = CreateManagementClient(); var externalId = "341bcf72988d49729ec34c8682710536"; await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME, externalId); diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/ContentTypeTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/ContentTypeTests.cs index e32d230b3..7f894d649 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/ContentTypeTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/ContentTypeTests.cs @@ -6,19 +6,19 @@ using Kentico.Kontent.Management.Models.Types.Patch; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using System.Threading.Tasks; using Xunit; namespace Kentico.Kontent.Management.Tests.ManagementClientTests { partial class ManagementClientTests { - #region Type - [Fact] [Trait("Category", "ContentType")] public async void ListContentTypes_ListsContentTypes() { - var client = CreateManagementClient(nameof(ListContentTypes_ListsContentTypes)); + var client = CreateManagementClient(); var response = await client.ListContentTypesAsync(); @@ -33,7 +33,7 @@ public async void ListContentTypes_ListsContentTypes() //same applies to content item test (where is page size 100) public async void ListContentTypes_WithContinuation_ListsContentTypes() { - var client = CreateManagementClient(nameof(ListContentTypes_WithContinuation_ListsContentTypes)); + var client = CreateManagementClient(); var response = await client.ListContentTypesAsync(); Assert.NotNull(response); @@ -58,7 +58,7 @@ public async void ListContentTypes_WithContinuation_ListsContentTypes() [Trait("Category", "ContentType")] public async void GetContentType_ById_GetsContentType() { - var client = CreateManagementClient(nameof(GetContentType_ById_GetsContentType)); + var client = CreateManagementClient(); var identifier = Reference.ById(EXISTING_CONTENT_TYPE_ID); @@ -70,7 +70,7 @@ public async void GetContentType_ById_GetsContentType() [Trait("Category", "ContentType")] public async void GetContentType_ByCodename_GetsContentType() { - var client = CreateManagementClient(nameof(GetContentType_ByCodename_GetsContentType)); + var client = CreateManagementClient(); var identifier = Reference.ByCodename(EXISTING_CONTENT_TYPE_CODENAME); @@ -84,7 +84,7 @@ public async void GetContentType_ByExternalId_GetsContentType() { var externalId = "b7aa4a53-d9b1-48cf-b7a6-ed0b182c4b89"; - var client = CreateManagementClient(nameof(GetContentType_ByExternalId_GetsContentType)); + var client = CreateManagementClient(); var identifier = Reference.ByExternalId(externalId); @@ -96,34 +96,13 @@ public async void GetContentType_ByExternalId_GetsContentType() [Trait("Category", "ContentType")] public async void DeleteContentType_ById_DeletesContentType() { - var client = CreateManagementClient(nameof(DeleteContentType_ById_DeletesContentType)); - - var typeName = "TestDeleteById!"; - var typeCodename = "test_delete_id"; - var typeExternalId = "test_delete_externalId_id"; - var type = new ContentTypeCreateModel - { - Name = typeName, - Codename = typeCodename, - ExternalId = typeExternalId, - Elements = new List - { - new GuidelinesElementMetadataModel - { - Codename = "guidelines_codename", - ExternalId = "guidelines_test_delete_id", - Guidelines = "

Guidelines

" - } - } - }; - - var responseType = await client.CreateContentTypeAsync(type); + var client = CreateManagementClient(); + var responseType = await CreateContentType(client); var identifier = Reference.ById(responseType.Id); var exception = await Record.ExceptionAsync(async () => await client.DeleteContentTypeAsync(identifier)); - if (_runType != TestUtils.TestRunType.MockFromFileSystem) { await Assert.ThrowsAsync(async () => await client.DeleteContentTypeAsync(identifier)); @@ -136,31 +115,11 @@ public async void DeleteContentType_ById_DeletesContentType() [Trait("Category", "ContentType")] public async void DeleteContentType_ByCodename_DeletesContentType() { - var client = CreateManagementClient(nameof(DeleteContentType_ByCodename_DeletesContentType)); + var client = CreateManagementClient(); - var typeName = "TestDeleteByCodename!"; - var typeCodename = "test_delete_codename"; - var typeExternalId = "test_delete_externalId_codename"; - var type = new ContentTypeCreateModel - { - Name = typeName, - Codename = typeCodename, - ExternalId = typeExternalId, - Elements = new List - { - new GuidelinesElementMetadataModel - { - Codename = "guidelines_codename", - ExternalId = "guidelines_test_delete_codename", - Guidelines = "

Guidelines

" - } - } - }; + var responseType = await CreateContentType(client); - var responseType = await client.CreateContentTypeAsync(type); - - - var identifier = Reference.ByCodename(typeCodename); + var identifier = Reference.ByCodename(responseType.Codename); var exception = await Record.ExceptionAsync(async () => await client.DeleteContentTypeAsync(identifier)); @@ -176,31 +135,11 @@ public async void DeleteContentType_ByCodename_DeletesContentType() [Trait("Category", "ContentType")] public async void DeleteContentType_ByExternalId_DeletesContentType() { - var client = CreateManagementClient(nameof(DeleteContentType_ByExternalId_DeletesContentType)); - - var typeName = "TestDeleteByExternalId!"; - var typeCodename = "test_delete_externalid"; - var typeExternalId = "test_delete_externalId_externalid"; - var type = new ContentTypeCreateModel - { - Name = typeName, - Codename = typeCodename, - ExternalId = typeExternalId, - Elements = new List - { - new GuidelinesElementMetadataModel - { - Codename = "guidelines_externalid", - ExternalId = "guidelines_test_delete_externalid", - Guidelines = "

Guidelines

" - } - } - }; - - var responseType = await client.CreateContentTypeAsync(type); + var client = CreateManagementClient(); + var responseType = await CreateContentType(client); - var identifier = Reference.ByExternalId(typeExternalId); + var identifier = Reference.ByExternalId(responseType.ExternalId); var exception = await Record.ExceptionAsync(async () => await client.DeleteContentTypeAsync(identifier)); @@ -217,7 +156,7 @@ public async void DeleteContentType_ByExternalId_DeletesContentType() //Todo create more elements public async void CreateContentType_CreatesContentType() { - var client = CreateManagementClient(nameof(CreateContentType_CreatesContentType)); + var client = CreateManagementClient(); var typeName = "HoorayType!"; var typeCodename = "hooray_codename_type"; @@ -254,39 +193,9 @@ public async void CreateContentType_CreatesContentType() public async void ModifyContentType_AddInto_ModifiesContentType() { //Arrange - var client = CreateManagementClient(nameof(ModifyContentType_AddInto_ModifiesContentType)); - - var typeCodename = "patch_codename_add_into"; - var type = new ContentTypeCreateModel - { - Name = "PatchTypeAddInto!", - Codename = typeCodename, - ExternalId = "patchAddInto_external_id", - Elements = new List - { - new GuidelinesElementMetadataModel - { - Codename = "guidelines_codename_patchaddinto", - ExternalId = "guidelines_external_id_patchaddinto", - Guidelines = "

Guidelines

" - }, - new TextElementMetadataModel - { - Codename = "text_codename_patchaddinto", - ExternalId = "text_external_id_patchaddinto", - Guidelines = "Guidelines", - Name = "textName", - IsRequired = false, - MaximumTextLength = new MaximumTextLengthModel - { - AppliesTo = TextLengthLimitType.Words, - Value = 30 - } - }, - } - }; + var client = CreateManagementClient(); - _ = await client.CreateContentTypeAsync(type); + var responseType = await CreateContentType(client); var elementCodename = "text_codename2_patchaddinto"; var textName = "textName2"; @@ -305,13 +214,13 @@ public async void ModifyContentType_AddInto_ModifiesContentType() Value = 30 } }, - Before = Reference.ByCodename("guidelines_codename_patchaddinto"), + Before = Reference.ByCodename(responseType.Elements.First().Codename), Path = "/elements" }; //act - var modifiedType = await client.ModifyContentTypeAsync(Reference.ByCodename(typeCodename), new List { changes }); + var modifiedType = await client.ModifyContentTypeAsync(Reference.ByCodename(responseType.Codename), new List { changes }); //assert @@ -321,7 +230,7 @@ public async void ModifyContentType_AddInto_ModifiesContentType() // Cleanup - var typeToClean = Reference.ByCodename(typeCodename); + var typeToClean = Reference.ByCodename(responseType.Codename); await client.DeleteContentTypeAsync(typeToClean); } @@ -331,61 +240,30 @@ public async void ModifyContentType_Replace_ModifiesContentType() { //arrange //todo extract creation of type to method - var client = CreateManagementClient(nameof(ModifyContentType_Replace_ModifiesContentType)); + var client = CreateManagementClient(); - var typeCodename = "patch_codename_replace"; - var elementCodename = "text_codename_replace"; - var type = new ContentTypeCreateModel - { - Name = "PatchTypeReplace!", - Codename = typeCodename, - ExternalId = "patch_external_id_replace", - Elements = new List - { - new GuidelinesElementMetadataModel - { - Codename = "guidelines_codename_replace", - ExternalId = "guidelines_external_id_replace", - Guidelines = "

Guidelines

" - }, - new TextElementMetadataModel - { - Codename = elementCodename, - ExternalId = "text_external_id_replace", - Guidelines = "Guidelines", - Name = "textName", - IsRequired = false, - MaximumTextLength = new MaximumTextLengthModel - { - AppliesTo = TextLengthLimitType.Words, - Value = 30 - } - }, - } - }; - - _ = await client.CreateContentTypeAsync(type); + var responseType = await CreateContentType(client); - var expectedValue = "Here you can tell users how to fill in the element."; + var expectedValue = "

Here you can tell users how to fill in the element.

"; var changes = new ContentTypePatchReplaceModel { Value = expectedValue, - After = Reference.ByCodename("guidelines_codename"), - Path = $"/elements/codename:{elementCodename}/guidelines" + After = Reference.ByCodename(responseType.Elements.First().Codename), + Path = $"/elements/codename:{responseType.Elements.First().Codename}/guidelines" }; //Act - var modifiedType = await client.ModifyContentTypeAsync(Reference.ByCodename(typeCodename), new List { changes }); + var modifiedType = await client.ModifyContentTypeAsync(Reference.ByCodename(responseType.Codename), new List { changes }); //Assert - Assert.Equal(expectedValue, modifiedType.Elements.FirstOrDefault(x => x.Codename == elementCodename)?.ToTextElement().Guidelines); + Assert.Equal(expectedValue, modifiedType.Elements.FirstOrDefault(x => x.Codename == responseType.Elements.First().Codename)?.ToGuidelines().Guidelines); // Cleanup - var typeToClean = Reference.ByCodename(typeCodename); + var typeToClean = Reference.ByCodename(responseType.Codename); await client.DeleteContentTypeAsync(typeToClean); } @@ -394,59 +272,50 @@ public async void ModifyContentType_Replace_ModifiesContentType() public async void ModifyContentType_Remove_ModifiesContentType() { //arrange - var client = CreateManagementClient(nameof(ModifyContentType_Remove_ModifiesContentType)); + var client = CreateManagementClient(); - var typeCodename = "patch_codename_remove"; - var elementCodename = "text_codename_remove"; - var type = new ContentTypeCreateModel - { - Name = "PatchTypeRemove!", - Codename = typeCodename, - ExternalId = "patch_external_id_remove", - Elements = new List - { - new GuidelinesElementMetadataModel - { - Codename = "guidelines_codename_remove", - ExternalId = "guidelines_external_id_remove", - Guidelines = "

Guidelines

" - }, - new TextElementMetadataModel - { - Codename = elementCodename, - ExternalId = "text_external_id_remove", - Guidelines = "Guidelines", - Name = "textName", - IsRequired = false, - MaximumTextLength = new MaximumTextLengthModel - { - AppliesTo = TextLengthLimitType.Words, - Value = 30 - } - }, - } - }; - - _ = await client.CreateContentTypeAsync(type); + var responseType = await CreateContentType(client); var changes = new ContentTypePatchRemoveModel { - Path = $"/elements/codename:{elementCodename}" + Path = $"/elements/codename:{responseType.Elements.First().Codename}" }; //Act - var modifiedType = await client.ModifyContentTypeAsync(Reference.ByCodename(typeCodename), new List { changes }); + var modifiedType = await client.ModifyContentTypeAsync(Reference.ByCodename(responseType.Codename), new List { changes }); //Assert - Assert.Null(modifiedType.Elements.FirstOrDefault(x => x.Codename == elementCodename)); + Assert.Null(modifiedType.Elements.FirstOrDefault(x => x.Codename == responseType.Elements.First().Codename)); // Cleanup - var typeToClean = Reference.ByCodename(typeCodename); + var typeToClean = Reference.ByCodename(responseType.Codename); await client.DeleteContentTypeAsync(typeToClean); } - #endregion + + private async Task CreateContentType(ManagementClient client, [CallerMemberName] string memberName = "", [CallerLineNumber] int sourceLineNumber = 0) + { + var suffix = $"{memberName.ToLower().Substring(0,40)}_{sourceLineNumber:d}"; + + var type = new ContentTypeCreateModel + { + Name = $"{suffix}", + Codename = $"c_{suffix}", + ExternalId = $"eid_{suffix}", + Elements = new List + { + new GuidelinesElementMetadataModel + { + Codename = $"g_c_{suffix}", + ExternalId = $"g_eid_{suffix}", + Guidelines = "

Guidelines

" + } + } + }; + + return await client.CreateContentTypeAsync(type); + } } } diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/LanguageVariantTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/LanguageVariantTests.cs index 447d3d5f4..0778caf69 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/LanguageVariantTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/LanguageVariantTests.cs @@ -23,7 +23,7 @@ public partial class ManagementClientTests [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_ById_LanguageId_UpdatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_ById_LanguageId_UpdatesVariant)); + var client = CreateManagementClient(); var contentItemVariantUpsertModel = new ContentItemVariantUpsertModel() { Elements = _elements }; @@ -42,7 +42,7 @@ public async Task UpsertVariant_ById_LanguageId_UpdatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_ByCodename_LanguageId_UpdatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_ByCodename_LanguageId_UpdatesVariant)); + var client = CreateManagementClient(); var contentItemVariantUpsertModel = new ContentItemVariantUpsertModel() { Elements = _elements }; @@ -61,7 +61,7 @@ public async Task UpsertVariant_ByCodename_LanguageId_UpdatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_ById_LanguageCodename_UpdatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_ById_LanguageCodename_UpdatesVariant)); + var client = CreateManagementClient(); var contentItemVariantUpsertModel = new ContentItemVariantUpsertModel() { Elements = _elements }; @@ -80,7 +80,7 @@ public async Task UpsertVariant_ById_LanguageCodename_UpdatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant)); + var client = CreateManagementClient(); var contentItemVariantUpsertModel = new ContentItemVariantUpsertModel() { Elements = _elements }; @@ -99,7 +99,7 @@ public async Task UpsertVariant_ByCodename_LanguageCodename_UpdatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "fe2e8c24f0794f01b36807919602625d"; @@ -126,7 +126,7 @@ public async Task UpsertVariant_ByExternalId_LanguageCodename_UpdatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "348052a5ad8c44ddac1e9683923d74a5"; @@ -152,7 +152,7 @@ public async Task UpsertVariant_ByExternalId_LanguageCodename_CreatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_ByExternalId_LanguageId_UpdatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_ByExternalId_LanguageId_UpdatesVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "d5e050980baa43b085b909cdea4c6d2b"; @@ -180,7 +180,7 @@ public async Task UpsertVariant_ByExternalId_LanguageId_UpdatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_ByExternalId_LanguageId_CreatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_ByExternalId_LanguageId_CreatesVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "73e02811b05f429284006ea94c68c8f7"; @@ -207,7 +207,7 @@ public async Task UpsertVariant_ByExternalId_LanguageId_CreatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_UsingResponseModel_UpdatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_UsingResponseModel_UpdatesVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "4357b71d21eb45369d54a635faf7672b"; @@ -235,7 +235,7 @@ public async Task UpsertVariant_UsingResponseModel_UpdatesVariant() [Trait("Category", "ContentItemVariant")] public async Task UpsertVariant_UsingResponseModel_CreatesVariant() { - var client = CreateManagementClient(nameof(UpsertVariant_UsingResponseModel_CreatesVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "5249f596a8be4d719bc9816e3d416d16"; @@ -263,7 +263,7 @@ public async Task UpsertVariant_UsingResponseModel_CreatesVariant() [Trait("Category", "ContentItemVariant")] public async Task ListContentItemVariants_ById_ListsVariants() { - var client = CreateManagementClient(nameof(ListContentItemVariants_ById_ListsVariants)); + var client = CreateManagementClient(); var identifier = Reference.ById(EXISTING_ITEM_ID); @@ -276,7 +276,7 @@ public async Task ListContentItemVariants_ById_ListsVariants() [Trait("Category", "ContentItemVariant")] public async Task ListContentItemVariants_ByCodename_ListsVariants() { - var client = CreateManagementClient(nameof(ListContentItemVariants_ByCodename_ListsVariants)); + var client = CreateManagementClient(); var identifier = Reference.ByCodename(EXISTING_ITEM_CODENAME); @@ -289,7 +289,7 @@ public async Task ListContentItemVariants_ByCodename_ListsVariants() [Trait("Category", "ContentItemVariant")] public async Task ListContentItemVariants_ByExternalId_ListsVariants() { - var client = CreateManagementClient(nameof(ListContentItemVariants_ByExternalId_ListsVariants)); + var client = CreateManagementClient(); // Arrange var externalId = "0220e6ec5b77401ea113b5273c8cdd5e"; @@ -311,7 +311,7 @@ public async Task ListContentItemVariants_ByExternalId_ListsVariants() [Trait("Category", "ContentItemVariant")] public async Task GetContentItemVariant_ById_LanguageId_GetsVariant() { - var client = CreateManagementClient(nameof(GetContentItemVariant_ById_LanguageId_GetsVariant)); + var client = CreateManagementClient(); var itemIdentifier = Reference.ById(EXISTING_ITEM_ID); var languageIdentifier = Reference.ById(EXISTING_LANGUAGE_ID); @@ -328,7 +328,7 @@ public async Task GetContentItemVariant_ById_LanguageId_GetsVariant() [Trait("Category", "ContentItemVariant")] public async Task GetContentItemVariant_ById_LanguageCodename_GetsVariant() { - var client = CreateManagementClient(nameof(GetContentItemVariant_ById_LanguageCodename_GetsVariant)); + var client = CreateManagementClient(); var itemIdentifier = Reference.ById(EXISTING_ITEM_ID); var languageIdentifier = Reference.ByCodename(EXISTING_LANGUAGE_CODENAME); @@ -345,7 +345,7 @@ public async Task GetContentItemVariant_ById_LanguageCodename_GetsVariant() [Trait("Category", "ContentItemVariant")] public async Task GetContentItemVariant_ByCodename_LanguageId_GetsVariant() { - var client = CreateManagementClient(nameof(GetContentItemVariant_ByCodename_LanguageId_GetsVariant)); + var client = CreateManagementClient(); var itemIdentifier = Reference.ByCodename(EXISTING_ITEM_CODENAME); var languageIdentifier = Reference.ById(EXISTING_LANGUAGE_ID); @@ -362,7 +362,7 @@ public async Task GetContentItemVariant_ByCodename_LanguageId_GetsVariant() [Trait("Category", "ContentItemVariant")] public async Task GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant() { - var client = CreateManagementClient(nameof(GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant)); + var client = CreateManagementClient(); var itemIdentifier = Reference.ByCodename(EXISTING_ITEM_CODENAME); var languageIdentifier = Reference.ByCodename(EXISTING_LANGUAGE_CODENAME); @@ -379,7 +379,7 @@ public async Task GetContentItemVariant_ByCodename_LanguageCodename_GetsVariant( [Trait("Category", "ContentItemVariant")] public async Task GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant() { - var client = CreateManagementClient(nameof(GetContentItemVariant_ByExternalId_LanguageCodename_GetsVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "f9cfaa3e00f64e22a144fdacf4cba3e5"; @@ -406,7 +406,7 @@ public async Task GetContentItemVariant_ByExternalId_LanguageCodename_GetsVarian [Trait("Category", "ContentItemVariant")] public async Task GetContentItemVariant_ByExternalId_ReturnsVariant() { - var client = CreateManagementClient(nameof(GetContentItemVariant_ByExternalId_ReturnsVariant)); + var client = CreateManagementClient(); var externalId = "ad66f70ed9bb4b8694116c9119c4a930"; var preparedItem = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME, externalId); @@ -431,7 +431,7 @@ public async Task GetContentItemVariant_ByExternalId_ReturnsVariant() [Trait("Category", "ContentItemVariant")] public async Task DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant() { - var client = CreateManagementClient(nameof(DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant)); + var client = CreateManagementClient(); var itemResponse = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME); await TestUtils.PrepareTestVariant(client, EXISTING_LANGUAGE_CODENAME, _elements, itemResponse); @@ -447,7 +447,7 @@ public async Task DeleteContentItemVariant_ById_LanguageCodename_DeletesVariant( [Trait("Category", "ContentItemVariant")] public async Task DeleteContentItemVariant_ById_LanguageId_DeletesVariant() { - var client = CreateManagementClient(nameof(DeleteContentItemVariant_ById_LanguageId_DeletesVariant)); + var client = CreateManagementClient(); var itemResponse = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME); await TestUtils.PrepareTestVariant(client, EXISTING_LANGUAGE_CODENAME, _elements, itemResponse); @@ -463,7 +463,7 @@ public async Task DeleteContentItemVariant_ById_LanguageId_DeletesVariant() [Trait("Category", "ContentItemVariant")] public async Task DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant() { - var client = CreateManagementClient(nameof(DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant)); + var client = CreateManagementClient(); // Prepare item var itemResponse = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME); @@ -480,7 +480,7 @@ public async Task DeleteContentItemVariant_ByCodename_LanguageId_DeletesVariant( [Trait("Category", "ContentItemVariant")] public async Task DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant() { - var client = CreateManagementClient(nameof(DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVariant)); + var client = CreateManagementClient(); // Prepare item var itemResponse = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME); @@ -497,7 +497,7 @@ public async Task DeleteContentItemVariant_ByCodename_LanguageCodename_DeletesVa [Trait("Category", "ContentItemVariant")] public async Task DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant() { - var client = CreateManagementClient(nameof(DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVariant)); + var client = CreateManagementClient(); var externalId = "90285b1a983c43299638c8a835f16b81"; var itemResponse = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME, externalId); @@ -514,7 +514,7 @@ public async Task DeleteContentItemVariant_ByExternalId_LanguageId_DeletesVarian [Trait("Category", "ContentItemVariant")] public async Task DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant() { - var client = CreateManagementClient(nameof(DeleteContentItemVariant_ByExternalId_LanguageCodename_DeletesVariant)); + var client = CreateManagementClient(); var externalId = "f4fe87222b6b46739bc673f6e5165c12"; var itemResponse = await TestUtils.PrepareTestItem(client, EXISTING_CONTENT_TYPE_CODENAME, externalId); @@ -531,7 +531,7 @@ public async Task DeleteContentItemVariant_ByExternalId_LanguageCodename_Deletes [Trait("Category", "ContentItemVariant")] public async Task ListStronglyTypedContentItemVariants_ById_ListsVariants() { - var client = CreateManagementClient(nameof(ListStronglyTypedContentItemVariants_ById_ListsVariants)); + var client = CreateManagementClient(); var identifier = Reference.ById(EXISTING_ITEM_ID); @@ -548,7 +548,7 @@ public async Task ListStronglyTypedContentItemVariants_ById_ListsVariants() [Trait("Category", "ContentItemVariant")] public async Task GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant() { - var client = CreateManagementClient(nameof(GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVariant)); + var client = CreateManagementClient(); var itemIdentifier = Reference.ById(EXISTING_ITEM_ID); var languageIdentifier = Reference.ById(EXISTING_LANGUAGE_ID); @@ -566,7 +566,7 @@ public async Task GetStronglyTypedContentItemVariantAsync_ById_LanguageId_GetVar [Trait("Category", "ContentItemVariant")] public async Task UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant() { - var client = CreateManagementClient(nameof(UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_UpdatesVariant)); + var client = CreateManagementClient(); var itemIdentifier = Reference.ById(EXISTING_ITEM_ID); var languageIdentifier = Reference.ById(EXISTING_LANGUAGE_ID); @@ -795,7 +795,7 @@ public async Task UpsertStronglyTypedContentItemVariantAsync_ById_LanguageId_Upd private string UnifyWhitespace(string text) { - return new Regex("\\s+", RegexOptions.Multiline).Replace(text, " ").Trim(); + return Regex.Replace(text, "\\s+", string.Empty); } private void AssertResponseElements(ContentItemVariantModel responseVariant) diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/LanguagesTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/LanguagesTests.cs index 2d0fb1055..2f27abd98 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/LanguagesTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/LanguagesTests.cs @@ -13,7 +13,7 @@ public partial class ManagementClientTests [Trait("Category", "Languages")] public async void ListLanguages_ListsLanguages() { - var client = CreateManagementClient(nameof(ListLanguages_ListsLanguages)); + var client = CreateManagementClient(); var response = await client.ListLanguagesAsync(); @@ -25,7 +25,7 @@ public async void ListLanguages_ListsLanguages() [Trait("Category", "Languages")] public async void GetLanguage_ById_GetsLanguages() { - var client = CreateManagementClient(nameof(GetLanguage_ById_GetsLanguages)); + var client = CreateManagementClient(); var identifier = Reference.ById(EXISTING_LANGUAGE_ID); @@ -37,7 +37,7 @@ public async void GetLanguage_ById_GetsLanguages() [Trait("Category", "Languages")] public async void GetLanguages_ByCodename_GetsLanguages() { - var client = CreateManagementClient(nameof(GetLanguages_ByCodename_GetsLanguages)); + var client = CreateManagementClient(); var identifier = Reference.ByCodename(EXISTING_LANGUAGE_CODENAME); @@ -50,7 +50,7 @@ public async void GetLanguages_ByCodename_GetsLanguages() public async void GetLanguages_ByExternalId_GetsLanguages() { var externalid = "standard_german"; - var client = CreateManagementClient(nameof(GetLanguages_ByExternalId_GetsLanguages)); + var client = CreateManagementClient(); var identifier = Reference.ByExternalId(externalid); @@ -68,7 +68,7 @@ public async void CreateLanguage_CreatesLanguage() return; } - var client = CreateManagementClient(nameof(CreateLanguage_CreatesLanguage)); + var client = CreateManagementClient(); var newLanguage = new LanguageCreateModel { @@ -91,7 +91,7 @@ public async void CreateLanguage_CreatesLanguage() public async void ModifyLanguages_Replace_ModifiesLanguages() { //Arrange - var client = CreateManagementClient(nameof(ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup)); + var client = CreateManagementClient(); var newCodename = "new codename"; diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/ManagementClientTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/ManagementClientTests.cs index eeb0b9fa0..3d351d64e 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/ManagementClientTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/ManagementClientTests.cs @@ -79,7 +79,7 @@ public ManagementClientTests() protected static readonly Guid TWEET_DISPLAY_OPTIONS_HIDE_THREAD_OPTION_ID = Guid.Parse("dd78b09e-4337-599c-9701-20a0a165c63b"); protected const string TWEET_DISPLAY_OPTIONS_HIDE_THREAD_OPTION_CODENAME = "hide_thread"; - private ManagementClient CreateManagementClient(string testName, [CallerMemberName] string memberName = "", [CallerLineNumber] int sourceLineNumber = 0) + private ManagementClient CreateManagementClient([CallerMemberName] string memberName = "", [CallerLineNumber] int sourceLineNumber = 0) { return TestUtils.CreateManagementClient(_options, _runType, $"{memberName}_{sourceLineNumber}"); } diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/TaxonomyGroupTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/TaxonomyGroupTests.cs index 2f2456100..7c429e17c 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/TaxonomyGroupTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/TaxonomyGroupTests.cs @@ -1,10 +1,11 @@ using Kentico.Kontent.Management.Exceptions; -using Kentico.Kontent.Management.Models; using Kentico.Kontent.Management.Models.Shared; using Kentico.Kontent.Management.Models.TaxonomyGroups; using Kentico.Kontent.Management.Models.TaxonomyGroups.Patch; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using System.Threading.Tasks; using Xunit; namespace Kentico.Kontent.Management.Tests.ManagementClientTests @@ -15,7 +16,7 @@ public partial class ManagementClientTests [Trait("Category", "TaxonomyGroups")] public async void ListTaxonomyGroups_ListsTaxonomyGroups() { - var client = CreateManagementClient(nameof(ListTaxonomyGroups_ListsTaxonomyGroups)); + var client = CreateManagementClient(); var response = await client.ListTaxonomyGroupsAsync(); @@ -27,7 +28,7 @@ public async void ListTaxonomyGroups_ListsTaxonomyGroups() [Trait("Category", "TaxonomyGroups")] public async void GetTaxonomyGroup_ById_GetsTaxonomyGroup() { - var client = CreateManagementClient(nameof(GetTaxonomyGroup_ById_GetsTaxonomyGroup)); + var client = CreateManagementClient(); var identifier = Reference.ById(EXISTING_TAXONOMY_GROUP_ID); @@ -39,7 +40,7 @@ public async void GetTaxonomyGroup_ById_GetsTaxonomyGroup() [Trait("Category", "TaxonomyGroups")] public async void GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup() { - var client = CreateManagementClient(nameof(GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup)); + var client = CreateManagementClient(); var identifier = Reference.ByCodename(EXISTING_TAXONOMY_GROUP_CODENAME); @@ -52,7 +53,7 @@ public async void GetTaxonomyGroup_ByCodename_GetsTaxonomyGroup() public async void GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup() { var externalid = "4ce421e9-c403-eee8-fdc2-74f09392a749"; - var client = CreateManagementClient(nameof(GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup)); + var client = CreateManagementClient(); var identifier = Reference.ByExternalId(externalid); @@ -64,7 +65,7 @@ public async void GetTaxonomyGroup_ByExternalId_GetsTaxonomyGroup() [Trait("Category", "TaxonomyGroups")] public async void CreateTaxonomyGroup_CreatesTaxonomyGroup() { - var client = CreateManagementClient(nameof(CreateContentType_CreatesContentType)); + var client = CreateManagementClient(); var group = new TaxonomyGroupCreateModel { @@ -99,29 +100,11 @@ public async void CreateTaxonomyGroup_CreatesTaxonomyGroup() [Trait("Category", "TaxonomyGroups")] public async void DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup() { - var client = CreateManagementClient(nameof(DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup)); - - var group = new TaxonomyGroupCreateModel - { - Name = "taxonomiesDeletecodename!", - Codename = "taxonomies_codename_delete", - ExternalId = "taxonomies_codename_external_id_deletecodename", - Terms = new List - { - new TaxonomyGroupCreateModel - { - Codename = "taxonomies_term_codename_deletecodename", - Name = "name", - ExternalId = "taxonomies_term_external_id_deletecodename", - Terms = new TaxonomyGroupCreateModel[0] - } - } - }; - - var responseGroup = await client.CreateTaxonomyGroupAsync(group); + var client = CreateManagementClient(); + var responseGroup = await CreateTaxonomyGroup(client); - var identifier = Reference.ByCodename(group.Codename); + var identifier = Reference.ByCodename(responseGroup.Codename); var exception = await Record.ExceptionAsync(async () => await client.DeleteTaxonomyGroupAsync(identifier)); @@ -138,27 +121,9 @@ public async void DeleteTaxonomyGroup_ByCodename_DeletesTaxonomyGroup() [Trait("Category", "TaxonomyGroups")] public async void DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup() { - var client = CreateManagementClient(nameof(DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup)); - - var group = new TaxonomyGroupCreateModel - { - Name = "taxonomiesDeleteId!", - Codename = "taxonomies_codename_deleteid", - ExternalId = "taxonomies_codename_external_id_deleteid", - Terms = new List - { - new TaxonomyGroupCreateModel - { - Codename = "taxonomies_term_codename_deleteid", - Name = "name", - ExternalId = "taxonomies_term_external_id_deleteid", - Terms = new TaxonomyGroupCreateModel[0] - } - } - }; - - var responseGroup = await client.CreateTaxonomyGroupAsync(group); + var client = CreateManagementClient(); + var responseGroup = await CreateTaxonomyGroup(client); var identifier = Reference.ById(responseGroup.Id); @@ -177,31 +142,12 @@ public async void DeleteTaxonomyGroup_ById_DeletesTaxonomyGroup() [Trait("Category", "TaxonomyGroups")] public async void DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup() { - var client = CreateManagementClient(nameof(DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup)); - - var group = new TaxonomyGroupCreateModel - { - Name = "taxonomiesDeletEexternalId!", - Codename = "taxonomies_codename_deleteexternalid", - ExternalId = "taxonomies_external_id_deleteexternalid", - Terms = new List - { - new TaxonomyGroupCreateModel - { - Codename = "taxonomies_term_codename_deleteid", - Name = "name", - ExternalId = "taxonomies_term_external_id_deleteid", - Terms = new TaxonomyGroupCreateModel[0] - } - } - }; - - var responseGroup = await client.CreateTaxonomyGroupAsync(group); + var client = CreateManagementClient(); + var responseGroup = await CreateTaxonomyGroup(client); var identifier = Reference.ByExternalId(responseGroup.ExternalId); - var exception = await Record.ExceptionAsync(async () => await client.DeleteTaxonomyGroupAsync(identifier)); if (_runType != TestUtils.TestRunType.MockFromFileSystem) @@ -217,26 +163,9 @@ public async void DeleteTaxonomyGroup_ByExternalId_DeletesTaxonomyGroup() public async void ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup() { //Arrange - var client = CreateManagementClient(nameof(ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup)); - - var group = new TaxonomyGroupCreateModel - { - Name = "taxonomiesAddInto!", - Codename = "taxonomies_codename_addinto", - ExternalId = "taxonomies_codename_external_id_addinto", - Terms = new List - { - new TaxonomyGroupCreateModel - { - Codename = "taxonomies_term_codename_addinto", - Name = "name", - ExternalId = "taxonomies_term_external_id_addinto", - Terms = new TaxonomyGroupCreateModel[0] - } - } - }; + var client = CreateManagementClient(); - _ = await client.CreateTaxonomyGroupAsync(group); + var group = await CreateTaxonomyGroup(client); var termName = "New taxonomy term"; var changes = new TaxonomyGroupAddIntoPatchModel @@ -249,16 +178,13 @@ public async void ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup() } }; - //act var modifiedType = await client.ModifyTaxonomyGroupAsync(Reference.ByCodename(group.Codename), new List { changes }); - //assert - Assert.Equal(2, modifiedType.Terms.Count()); + Assert.Equal(3, modifiedType.Terms.Count()); Assert.Single(modifiedType.Terms.Where(x => x.Name == termName)); - // Cleanup var groupClean = Reference.ByCodename(group.Codename); await client.DeleteTaxonomyGroupAsync(groupClean); @@ -269,28 +195,9 @@ public async void ModifyTaxonomyGroup_AddInto_ModifiesTaxonomyGroup() public async void ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup() { //Arrange - var client = CreateManagementClient(nameof(ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup)); + var client = CreateManagementClient(); - var taxonomyTermCodename = "taxonomies_term_codename_replace"; - - var group = new TaxonomyGroupCreateModel - { - Name = "taxonomiesReplace!", - Codename = "taxonomies_codename_replace", - ExternalId = "taxonomies_external_id_replace", - Terms = new List - { - new TaxonomyGroupCreateModel - { - Codename = taxonomyTermCodename, - Name = "name", - ExternalId = "taxonomies_term_external_id_replace", - Terms = new TaxonomyGroupCreateModel[0] - } - } - }; - - _ = await client.CreateTaxonomyGroupAsync(group); + var group = await CreateTaxonomyGroup(client); var termName = "New taxonomy term name"; var changes = new TaxonomyGroupPatchReplaceModel @@ -306,15 +213,12 @@ public async void ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup() } }; - //act var modifiedType = await client.ModifyTaxonomyGroupAsync(Reference.ByCodename(group.Codename), new List { changes }); - //assert Assert.Single(modifiedType.Terms.Where(x => x.Name == termName)); - // Cleanup var groupClean = Reference.ByCodename(group.Codename); await client.DeleteTaxonomyGroupAsync(groupClean); @@ -325,53 +229,55 @@ public async void ModifyTaxonomyGroup_Replace_ModifiesTaxonomyGroup() public async void ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup() { //Arrange - var client = CreateManagementClient(nameof(ModifyTaxonomyGroup_Remove_ModifiesTaxonomyGroup)); + var client = CreateManagementClient(); + + var group = await CreateTaxonomyGroup(client); + + var changes = new TaxonomyGroupPatchRemoveModel + { + Reference = Reference.ByCodename(group.Terms.First().Codename), + }; + + //act + var modifiedType = await client.ModifyTaxonomyGroupAsync(Reference.ByCodename(group.Codename), new List { changes }); - var taxonomyTermCodename = "taxonomies_term_codename_remove"; + //assert + Assert.Single(modifiedType.Terms); + + // Cleanup + var groupClean = Reference.ByCodename(group.Codename); + await client.DeleteTaxonomyGroupAsync(groupClean); + } + + private async Task CreateTaxonomyGroup(ManagementClient client, [CallerMemberName] string memberName = "", [CallerLineNumber] int sourceLineNumber = 0) + { + var suffix = $"{memberName.ToLower().Substring(0, 40)}_{sourceLineNumber:d}"; var group = new TaxonomyGroupCreateModel { - Name = "taxonomiesRemove!", - Codename = "taxonomies_codename_remove", - ExternalId = "taxonomies_codename_external_id_remove", + Name = $"{suffix}", + Codename = $"c_{suffix}", + ExternalId = $"eid_{suffix}", Terms = new List { new TaxonomyGroupCreateModel { - Codename = "taxonomies_term_codename_remove", - Name = "name", - ExternalId = "taxonomies_term_external_id_remove", + Codename = $"t_c_1{suffix}", + Name = $"name1_{suffix}", + ExternalId = $"eid1_{suffix}", Terms = new TaxonomyGroupCreateModel[0] }, new TaxonomyGroupCreateModel { - Codename = "second_term_codename", - Name = "name13254", - ExternalId = "taxonomies_term_external_id_remove2", + Codename = $"t_c_2{suffix}", + Name = $"name2_{suffix}", + ExternalId = $"eid2_{suffix}", Terms = new TaxonomyGroupCreateModel[0] } } }; - _ = await client.CreateTaxonomyGroupAsync(group); - - var changes = new TaxonomyGroupPatchRemoveModel - { - Reference = Reference.ByCodename(taxonomyTermCodename), - }; - - - //act - var modifiedType = await client.ModifyTaxonomyGroupAsync(Reference.ByCodename(group.Codename), new List { changes }); - - - //assert - Assert.Single(modifiedType.Terms); - - - // Cleanup - var groupClean = Reference.ByCodename(group.Codename); - await client.DeleteTaxonomyGroupAsync(groupClean); + return await client.CreateTaxonomyGroupAsync(group); } } } diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/ValidationTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/ValidationTests.cs index a11b60739..17a98b231 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/ValidationTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/ValidationTests.cs @@ -40,7 +40,7 @@ public async void ValidateProject_ReturnsProjectReportModel() Codename = "related_articles" }; - var client = CreateManagementClient(nameof(ValidateProject_ReturnsProjectReportModel)); + var client = CreateManagementClient(); var response = await client.ValidateProjectAsync(); Assert.Equal(project.Id, response.Project.Id); diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/WebhookTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/WebhookTests.cs index 86cf782ce..2f7293b7b 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/WebhookTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/WebhookTests.cs @@ -13,7 +13,7 @@ partial class ManagementClientTests [Trait("Category", "Webhooks")] public async void ListWebhooks_ListsWebhooks() { - var client = CreateManagementClient(nameof(ListWebhooks_ListsWebhooks)); + var client = CreateManagementClient(); var response = await client.ListWebhooksAsync(); @@ -25,7 +25,7 @@ public async void ListWebhooks_ListsWebhooks() [Trait("Category", "Webhooks")] public async void GetWebhook_ById_GetsWebhook() { - var client = CreateManagementClient(nameof(GetWebhook_ById_GetsWebhook)); + var client = CreateManagementClient(); var identifier = ObjectIdentifier.ById(EXISTING_WEBHOOK_ID); @@ -37,7 +37,7 @@ public async void GetWebhook_ById_GetsWebhook() [Trait("Category", "Webhooks")] public async void CreateWebhookGroup_CreatesWebhookGroup() { - var client = CreateManagementClient(nameof(CreateContentType_CreatesContentType)); + var client = CreateManagementClient(); var webhook = new WebhookCreateModel { @@ -80,7 +80,7 @@ public async void CreateWebhookGroup_CreatesWebhookGroup() [Trait("Category", "Webhooks")] public async void DeleteWebhook_ById_DeletesWebhook() { - var client = CreateManagementClient(nameof(DeleteWebhook_ById_DeletesWebhook)); + var client = CreateManagementClient(); var webhook = new WebhookCreateModel { @@ -123,7 +123,7 @@ public async void DeleteWebhook_ById_DeletesWebhook() [Trait("Category", "Webhooks")] public async void EnableWebhook_ById_EnablesWebhook() { - var client = CreateManagementClient(nameof(EnableWebhook_ById_EnablesWebhook)); + var client = CreateManagementClient(); var webhook = new WebhookCreateModel { @@ -162,7 +162,7 @@ public async void EnableWebhook_ById_EnablesWebhook() [Trait("Category", "Webhooks")] public async void DisableWebhook_ById_DisablesWebhook() { - var client = CreateManagementClient(nameof(EnableWebhook_ById_EnablesWebhook)); + var client = CreateManagementClient(); var webhook = new WebhookCreateModel { diff --git a/Kentico.Kontent.Management.Tests/ManagementClientTests/WorkflowStepTests.cs b/Kentico.Kontent.Management.Tests/ManagementClientTests/WorkflowStepTests.cs index 096590a85..2a23b4572 100644 --- a/Kentico.Kontent.Management.Tests/ManagementClientTests/WorkflowStepTests.cs +++ b/Kentico.Kontent.Management.Tests/ManagementClientTests/WorkflowStepTests.cs @@ -13,7 +13,7 @@ public partial class ManagementClientTests [Trait("Category", "Workflow")] public async void ListWorkflowSteps_ListsWorkflowSteps() { - var client = CreateManagementClient(nameof(ListWorkflowSteps_ListsWorkflowSteps)); + var client = CreateManagementClient(); var response = await client.ListWorkflowStepsAsync(); @@ -25,7 +25,7 @@ public async void ListWorkflowSteps_ListsWorkflowSteps() [Trait("Category", "Workflow")] public async void ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant() { - var client = CreateManagementClient(nameof(ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "11102811b05f429284006ea94c68333"; @@ -55,7 +55,7 @@ public async void ChangeWorkflowStepOfVariant_ChangesWorkflowStepOfVariant() [Trait("Category", "Workflow")] public async void PublishVariant_PublishesVariant() { - var client = CreateManagementClient(nameof(PublishVariant_PublishesVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "22202811b05f429284006ea94c68333"; @@ -82,7 +82,7 @@ public async void PublishVariant_PublishesVariant() [Trait("Category", "Workflow")] public async void UnpublishVariant_UnpublishesVariant() { - var client = CreateManagementClient(nameof(PublishVariant_PublishesVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "78902811b05f429284006ea94c68333"; @@ -111,7 +111,7 @@ public async void UnpublishVariant_UnpublishesVariant() [Trait("Category", "Workflow")] public async void CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant() { - var client = CreateManagementClient(nameof(CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "33302811b05f429284006ea94c68333"; @@ -139,7 +139,7 @@ public async void CreateNewVersionsOfVariant_CreatesNewVersionsOfVariant() [Trait("Category", "Workflow")] public async void SchedulePublishingOfVariant_SchedulesPublishingOfVariant() { - var client = CreateManagementClient(nameof(SchedulePublishingOfVariant_SchedulesPublishingOfVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "32302811b05f429284006ea94c68333"; @@ -166,7 +166,7 @@ public async void SchedulePublishingOfVariant_SchedulesPublishingOfVariant() [Trait("Category", "Workflow")] public async void ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant() { - var client = CreateManagementClient(nameof(ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "35302811b05f429284006ea94c68333"; @@ -196,7 +196,7 @@ public async void ScheduleUnpublishingOfVariant_SchedulesUnpublishingOfVariant() [Trait("Category", "Workflow")] public async void CancelPublishingOfVariant_CancelsPublishingOfVariant() { - var client = CreateManagementClient(nameof(CancelPublishingOfVariant_CancelsPublishingOfVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "37302811b05f429284006ea94c68333"; @@ -224,7 +224,7 @@ public async void CancelPublishingOfVariant_CancelsPublishingOfVariant() [Trait("Category", "Workflow")] public async void CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant() { - var client = CreateManagementClient(nameof(CancelUnpublishingOfVariant_CancelsUnpublishingOfVariant)); + var client = CreateManagementClient(); // Arrange var externalId = "37302811b05f429284006ea94c68333"; diff --git a/Kentico.Kontent.Management.Tests/Mocks/FileSystemHttpClientMock.cs b/Kentico.Kontent.Management.Tests/Mocks/FileSystemHttpClientMock.cs index 5b6d04b54..0fd79d18b 100644 --- a/Kentico.Kontent.Management.Tests/Mocks/FileSystemHttpClientMock.cs +++ b/Kentico.Kontent.Management.Tests/Mocks/FileSystemHttpClientMock.cs @@ -9,8 +9,6 @@ using System.Linq; using System.Net.Http; using System.Net.Http.Headers; -using System.Security.Cryptography; -using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Xunit; @@ -32,11 +30,11 @@ public class FileSystemHttpClientMock : IManagementHttpClient new DefaultResiliencePolicyProvider(Constants.DEFAULT_MAX_RETRIES), Constants.ENABLE_RESILIENCE_POLICY); - public FileSystemHttpClientMock(ManagementOptions options, bool saveToFileSystem, string testName) + public FileSystemHttpClientMock(ManagementOptions options, bool saveToFileSystem, string directoryName) { _saveToFileSystem = saveToFileSystem; _options = options; - _directoryName = testName; + _directoryName = directoryName; } public async Task SendAsync( @@ -156,8 +154,9 @@ private async Task SerializeContent(HttpContent content) private string GetMockFileFolder(string methodName) { - string projectDirectory = Directory.GetParent(Environment.CurrentDirectory).Parent.Parent.FullName; - var rootPath = Path.Combine(projectDirectory, "Data"); + string directory = Directory.GetParent(Environment.CurrentDirectory).Parent.Parent.FullName; + + var rootPath = Path.Combine(directory, "Data"); var testPath = Path.Combine(rootPath, _directoryName); return Path.Combine(testPath, $"{_counter:d}_{methodName}"); } diff --git a/Kentico.Kontent.Management.Tests/TestUtils.cs b/Kentico.Kontent.Management.Tests/TestUtils.cs index ef2d4260d..b9fc52103 100644 --- a/Kentico.Kontent.Management.Tests/TestUtils.cs +++ b/Kentico.Kontent.Management.Tests/TestUtils.cs @@ -36,12 +36,12 @@ internal enum TestRunType MockFromFileSystem } - internal static ManagementClient CreateManagementClient(ManagementOptions options, TestRunType runType, string testName) + internal static ManagementClient CreateManagementClient(ManagementOptions options, TestRunType runType, string directoryName) { if (runType != TestRunType.LiveEndPoint) { var saveToFileSystem = runType == TestRunType.LiveEndPoint_SaveToFileSystem; - var httpClient = new FileSystemHttpClientMock(options, saveToFileSystem, testName); + var httpClient = new FileSystemHttpClientMock(options, saveToFileSystem, directoryName); var urlBuilder = new EndpointUrlBuilder(options); var actionInvoker = new ActionInvoker(httpClient, new MessageCreator(options.ApiKey)); diff --git a/Kentico.Kontent.Management/Extenstions/ElementMetadataExtension.cs b/Kentico.Kontent.Management/Extenstions/ElementMetadataExtension.cs index 33450b645..67109ff39 100644 --- a/Kentico.Kontent.Management/Extenstions/ElementMetadataExtension.cs +++ b/Kentico.Kontent.Management/Extenstions/ElementMetadataExtension.cs @@ -15,5 +15,15 @@ public static TextElementMetadataModel ToTextElement(this ElementMetadataBase so return source as TextElementMetadataModel; } + + public static GuidelinesElementMetadataModel ToGuidelines(this ElementMetadataBase source) + { + if (source.Type != ElementMetadataType.Guidelines) + { + throw new InvalidOperationException($"type {source.Type} cannot be converted to {nameof(GuidelinesElementMetadataModel)}"); + } + + return source as GuidelinesElementMetadataModel; + } } }