feat(yaml): support comments (#3529)

This commit is contained in:
Erez Rokah 2020-04-07 15:00:06 +03:00 committed by GitHub
parent 4489b6ff49
commit 4afbbdd8a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
98 changed files with 458 additions and 185 deletions

View File

@ -564,7 +564,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {
@ -1085,7 +1085,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMzAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=600",
"headers": {
@ -1666,7 +1666,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC42MDBaIgpkZXNjcmlwdGlvbjogdGhpcmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHRoaXJkIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWczCi0tLQp0aGlyZCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=900",
"headers": {

View File

@ -564,7 +564,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -564,7 +564,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -564,7 +564,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -564,7 +564,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -564,7 +564,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {
@ -1265,7 +1265,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=600",
"headers": {

View File

@ -564,7 +564,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -615,7 +615,7 @@
"status": 201
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -615,7 +615,7 @@
"status": 201
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -615,7 +615,7 @@
"status": 201
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -615,7 +615,7 @@
"status": 201
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -615,7 +615,7 @@
"status": 201
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {

View File

@ -461,7 +461,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/.netlify/git/github/git/blobs?ts=300",
"headers": {
@ -705,4 +705,4 @@
"response": "{\n \"sha\": \"762722b79294e825e5f22194f9273b53a2a3e6d5\",\n \"node_id\": \"MDQ6QmxvYjIzMzM2MzgzOTo3NjI3MjJiNzkyOTRlODI1ZTVmMjIxOTRmOTI3M2I1M2EyYTNlNmQ1\",\n \"size\": 155,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/762722b79294e825e5f22194f9273b53a2a3e6d5\",\n \"content\": \"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAx\\nOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRl\\nc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0g\\ndGFnMQotLS0KZmlyc3QgYm9keQo=\\n\",\n \"encoding\": \"base64\"\n}\n",
"status": 200
}
]
]

View File

@ -534,7 +534,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -932,7 +932,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-second-title\",\"commit_message\":\"Create Post “1970-01-01-second-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-second-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-second-title\",\"commit_message\":\"Create Post “1970-01-01-second-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-second-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMzAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=600",
"headers": {
@ -1398,7 +1398,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-third-title\",\"commit_message\":\"Create Post “1970-01-01-third-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-third-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-third-title\",\"commit_message\":\"Create Post “1970-01-01-third-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-third-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC42MDBaIgpkZXNjcmlwdGlvbjogdGhpcmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHRoaXJkIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWczCi0tLQp0aGlyZCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=900",
"headers": {
@ -2426,4 +2426,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -534,7 +534,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -1220,4 +1220,4 @@
"response": "{\"id\":47130772,\"iid\":4,\"project_id\":16332054,\"title\":\"Create Post “1970-01-01-first-title”\",\"description\":\"Automatically generated by Netlify CMS\",\"state\":\"opened\",\"created_at\":\"2020-01-15T12:02:17.011Z\",\"updated_at\":\"2020-01-15T12:02:24.011Z\",\"merged_by\":null,\"merged_at\":null,\"closed_by\":null,\"closed_at\":null,\"target_branch\":\"master\",\"source_branch\":\"cms/posts/1970-01-01-first-title\",\"user_notes_count\":0,\"upvotes\":0,\"downvotes\":0,\"assignee\":null,\"author\":{\"id\":4843565,\"name\":\"owner\",\"username\":\"owner\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/2c95a9ee2f890f6c9ccdbf2438c88ca7?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/owner\"},\"assignees\":[],\"source_project_id\":16332054,\"target_project_id\":16332054,\"labels\":[\"netlify-cms/pending_publish\"],\"work_in_progress\":false,\"milestone\":null,\"merge_when_pipeline_succeeds\":false,\"merge_status\":\"can_be_merged\",\"sha\":\"a88123c03d9fb629e5213c0bdf7f9cb300907e26\",\"merge_commit_sha\":null,\"squash_commit_sha\":null,\"discussion_locked\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":true,\"reference\":\"!4\",\"references\":{\"short\":\"!4\",\"relative\":\"!4\",\"full\":\"owner/repo!4\"},\"web_url\":\"https://gitlab.com/owner/repo/merge_requests/4\",\"time_stats\":{\"time_estimate\":0,\"total_time_spent\":0,\"human_time_estimate\":null,\"human_total_time_spent\":null},\"squash\":false,\"task_completion_status\":{\"count\":0,\"completed_count\":0},\"has_conflicts\":false,\"blocking_discussions_resolved\":true,\"subscribed\":true,\"changes_count\":\"1\",\"latest_build_started_at\":null,\"latest_build_finished_at\":null,\"first_deployed_to_production_at\":null,\"pipeline\":null,\"head_pipeline\":null,\"diff_refs\":{\"base_sha\":\"60f057f9f06b05b3adb5672d9a85f95be7ad0a12\",\"head_sha\":\"a88123c03d9fb629e5213c0bdf7f9cb300907e26\",\"start_sha\":\"60f057f9f06b05b3adb5672d9a85f95be7ad0a12\"},\"merge_error\":null,\"user\":{\"can_merge\":true},\"approvals_before_merge\":null}",
"status": 200
}
]
]

View File

@ -534,7 +534,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -813,4 +813,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -534,7 +534,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -934,4 +934,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -534,7 +534,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -1074,4 +1074,4 @@
"response": "---\ntemplate: post\ntitle: first title\ndate: 1970-01-01T00:00:00.000Z\ndescription: first description\ncategory: first category\ntags:\n - tag1\n---\nfirst body\n",
"status": 200
}
]
]

View File

@ -534,7 +534,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -1460,7 +1460,7 @@
"status": 200
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Update Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"update\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}],\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Update Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"update\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}],\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=600",
"headers": {
@ -1725,4 +1725,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -534,7 +534,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -1037,4 +1037,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -613,7 +613,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -1286,4 +1286,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -578,7 +578,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -919,4 +919,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -578,7 +578,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -953,4 +953,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -578,7 +578,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -1237,4 +1237,4 @@
},
"status": 200
}
]
]

View File

@ -578,7 +578,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"},{\"action\":\"create\",\"file_path\":\"static/media/netlify.png\",\"content\":\"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5MzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -1214,4 +1214,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -466,7 +466,7 @@
"status": 404
},
{
"body": "{\"branch\":\"master\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"body": "{\"branch\":\"master\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"author_name\":\"netlifyCMS\",\"author_email\":\"netlifyCMS@netlify.com\"}",
"method": "POST",
"url": "/.netlify/git/gitlab/repository/commits?ts=300",
"headers": {
@ -530,4 +530,4 @@
"response": "---\ntemplate: post\ntitle: first title\ndate: 1970-01-01T00:00:00.000Z\ndescription: first description\ncategory: first category\ntags:\n - tag1\n---\nfirst body\n",
"status": 200
}
]
]

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -379,7 +379,7 @@
"status": 201
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -365,7 +365,7 @@
"status": 201
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6IDE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQppbWFnZTogL21lZGlhL25ldGxpZnkucG5nCmRhdGU6ICIxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoiCmRlc2NyaXB0aW9uOiBmaXJzdCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogZmlyc3QgY2F0ZWdvcnkKdGFnczoKICAtIHRhZzEKLS0tCmZpcnN0IGJvZHk=\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -270,7 +270,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {
@ -488,4 +488,4 @@
"response": "{\"data\":{\"repository\":{\"id\":\"MDEwOlJlcG9zaXRvcnkyNDM1Njk1NDI=\",\"isFork\":false,\"__typename\":\"Repository\",\"object\":{\"id\":\"MDQ6QmxvYjI0MzU2OTU0Mjo3NjI3MjJiNzkyOTRlODI1ZTVmMjIxOTRmOTI3M2I1M2EyYTNlNmQ1\",\"text\":\"---\\ntemplate: post\\ntitle: first title\\ndate: 1970-01-01T00:00:00.000Z\\ndescription: first description\\ncategory: first category\\ntags:\\n - tag1\\n---\\nfirst body\\n\",\"is_binary\":false,\"__typename\":\"Blob\"}}}}\n",
"status": 200
}
]
]

View File

@ -259,7 +259,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {
@ -447,4 +447,4 @@
"response": "{\n \"sha\": \"762722b79294e825e5f22194f9273b53a2a3e6d5\",\n \"node_id\": \"MDQ6QmxvYjI0MTg4MDM3MDo3NjI3MjJiNzkyOTRlODI1ZTVmMjIxOTRmOTI3M2I1M2EyYTNlNmQ1\",\n \"size\": 155,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/762722b79294e825e5f22194f9273b53a2a3e6d5\",\n \"content\": \"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAx\\nOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRl\\nc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0g\\ndGFnMQotLS0KZmlyc3QgYm9keQo=\\n\",\n \"encoding\": \"base64\"\n}\n",
"status": 200
}
]
]

View File

@ -400,7 +400,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=300",
"headers": {
@ -743,7 +743,7 @@
"status": 200
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-second-title\",\"commit_message\":\"Create Post “1970-01-01-second-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-second-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-second-title\",\"commit_message\":\"Create Post “1970-01-01-second-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-second-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMzAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=600",
"headers": {
@ -1146,7 +1146,7 @@
"status": 200
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-third-title\",\"commit_message\":\"Create Post “1970-01-01-third-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-third-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-third-title\",\"commit_message\":\"Create Post “1970-01-01-third-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-third-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC42MDBaIgpkZXNjcmlwdGlvbjogdGhpcmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHRoaXJkIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWczCi0tLQp0aGlyZCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=900",
"headers": {
@ -2015,4 +2015,4 @@
"response": "---\ntemplate: post\ntitle: first title\ndate: 1970-01-01T00:00:00.000Z\ndescription: first description\ncategory: first category\ntags:\n - tag1\n---\nfirst body\n",
"status": 200
}
]
]

View File

@ -400,7 +400,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=300",
"headers": {
@ -997,4 +997,4 @@
"response": "{\"id\":46642979,\"iid\":1,\"project_id\":16228714,\"title\":\"Create Post “1970-01-01-first-title”\",\"description\":\"Automatically generated by Netlify CMS\",\"state\":\"opened\",\"created_at\":\"2020-01-09T07:58:08.853Z\",\"updated_at\":\"2020-01-09T07:58:16.539Z\",\"merged_by\":null,\"merged_at\":null,\"closed_by\":null,\"closed_at\":null,\"target_branch\":\"master\",\"source_branch\":\"cms/posts/1970-01-01-first-title\",\"user_notes_count\":0,\"upvotes\":0,\"downvotes\":0,\"assignee\":null,\"author\":{\"id\":4843565,\"name\":\"owner\",\"username\":\"owner\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/2c95a9ee2f890f6c9ccdbf2438c88ca7?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/owner\"},\"assignees\":[],\"source_project_id\":16228714,\"target_project_id\":16228714,\"labels\":[\"netlify-cms/pending_publish\"],\"work_in_progress\":false,\"milestone\":null,\"merge_when_pipeline_succeeds\":false,\"merge_status\":\"can_be_merged\",\"sha\":\"3f4c28a51d2c0f8a314f1dcdc46676533ae4e1a5\",\"merge_commit_sha\":null,\"squash_commit_sha\":null,\"discussion_locked\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":true,\"reference\":\"!1\",\"references\":{\"short\":\"!1\",\"relative\":\"!1\",\"full\":\"owner/repo!1\"},\"web_url\":\"https://gitlab.com/owner/repo/merge_requests/1\",\"time_stats\":{\"time_estimate\":0,\"total_time_spent\":0,\"human_time_estimate\":null,\"human_total_time_spent\":null},\"squash\":false,\"task_completion_status\":{\"count\":0,\"completed_count\":0},\"has_conflicts\":false,\"blocking_discussions_resolved\":true,\"subscribed\":true,\"changes_count\":\"1\",\"latest_build_started_at\":null,\"latest_build_finished_at\":null,\"first_deployed_to_production_at\":null,\"pipeline\":null,\"head_pipeline\":null,\"diff_refs\":{\"base_sha\":\"cccedba45cd89df3190e24a5e173a89c097b65bb\",\"head_sha\":\"3f4c28a51d2c0f8a314f1dcdc46676533ae4e1a5\",\"start_sha\":\"cccedba45cd89df3190e24a5e173a89c097b65bb\"},\"merge_error\":null,\"user\":{\"can_merge\":true},\"approvals_before_merge\":null}",
"status": 200
}
]
]

View File

@ -400,7 +400,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=300",
"headers": {
@ -642,4 +642,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -400,7 +400,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=300",
"headers": {
@ -716,4 +716,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -400,7 +400,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=300",
"headers": {
@ -841,4 +841,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -400,7 +400,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=300",
"headers": {
@ -1236,7 +1236,7 @@
"status": 200
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Update Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"update\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}]}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Update Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"update\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}]}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=600",
"headers": {
@ -1409,4 +1409,4 @@
"response": "[]",
"status": 200
}
]
]

View File

@ -400,7 +400,7 @@
"status": 404
},
{
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"body": "{\"branch\":\"cms/posts/1970-01-01-first-title\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=300",
"headers": {
@ -808,4 +808,4 @@
"response": "[]",
"status": 200
}
]
]

File diff suppressed because one or more lines are too long

View File

@ -370,7 +370,7 @@
"status": 404
},
{
"body": "{\"branch\":\"master\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}]}",
"body": "{\"branch\":\"master\",\"commit_message\":\"Create Post “1970-01-01-first-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-first-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}]}",
"method": "POST",
"url": "/api/v4/projects/owner%2Frepo/repository/commits?ts=300",
"headers": {
@ -426,4 +426,4 @@
"response": "---\ntemplate: post\ntitle: first title\ndate: 1970-01-01T00:00:00.000Z\ndescription: first description\ncategory: first category\ntags:\n - tag1\n---\nfirst body\n",
"status": 200
}
]
]

View File

@ -479,7 +479,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {

View File

@ -479,7 +479,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {

View File

@ -403,7 +403,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -479,7 +479,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {

View File

@ -403,7 +403,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -479,7 +479,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {

View File

@ -479,7 +479,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {
@ -993,7 +993,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=600",
"headers": {

View File

@ -403,7 +403,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {
@ -944,7 +944,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=600",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {
@ -785,7 +785,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMzAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=600",
"headers": {
@ -1273,7 +1273,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC42MDBaIgpkZXNjcmlwdGlvbjogdGhpcmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHRoaXJkIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWczCi0tLQp0aGlyZCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=900",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {
@ -892,7 +892,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=600",
"headers": {

View File

@ -351,7 +351,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -464,7 +464,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {

View File

@ -464,7 +464,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {

View File

@ -389,7 +389,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -438,7 +438,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {

View File

@ -389,7 +389,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -464,7 +464,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {

View File

@ -464,7 +464,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=300",
"headers": {
@ -1174,7 +1174,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/forkOwner/repo/git/blobs?ts=600",
"headers": {

View File

@ -389,7 +389,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {
@ -998,7 +998,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=600",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {
@ -790,7 +790,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMzAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=600",
"headers": {
@ -1295,7 +1295,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC42MDBaIgpkZXNjcmlwdGlvbjogdGhpcmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHRoaXJkIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWczCi0tLQp0aGlyZCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=900",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {
@ -946,7 +946,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogIjE5NzAtMDEtMDFUMDA6MDA6MDAuMDAwWiIKZGVzY3JpcHRpb246IHNlY29uZCBkZXNjcmlwdGlvbgpjYXRlZ29yeTogc2Vjb25kIGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcyCi0tLQpzZWNvbmQgYm9keQ==\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=600",
"headers": {

View File

@ -337,7 +337,7 @@
"status": 200
},
{
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjAwMFoKZGVzY3JpcHRpb246IGZpcnN0IGRlc2NyaXB0aW9uCmNhdGVnb3J5OiBmaXJzdCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMQotLS0KZmlyc3QgYm9keQ==\",\"encoding\":\"base64\"}",
"body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBmaXJzdCB0aXRsZQpkYXRlOiAiMTk3MC0wMS0wMVQwMDowMDowMC4wMDBaIgpkZXNjcmlwdGlvbjogZmlyc3QgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IGZpcnN0IGNhdGVnb3J5CnRhZ3M6CiAgLSB0YWcxCi0tLQpmaXJzdCBib2R5\",\"encoding\":\"base64\"}",
"method": "POST",
"url": "/repos/owner/repo/git/blobs?ts=300",
"headers": {

View File

@ -35,7 +35,6 @@
"history": "^4.7.2",
"immer": "^3.1.3",
"js-base64": "^2.5.1",
"js-yaml": "^3.12.2",
"jwt-decode": "^2.1.0",
"node-polyglot": "^2.3.0",
"prop-types": "^15.7.2",
@ -67,7 +66,8 @@
"semaphore": "^1.0.5",
"tomlify-j0.4": "^3.0.0-alpha.0",
"url": "^0.11.0",
"what-input": "^5.1.4"
"what-input": "^5.1.4",
"yaml": "^1.8.3"
},
"peerDependencies": {
"@emotion/core": "^10.0.9",

View File

@ -1,4 +1,4 @@
import yaml from 'js-yaml';
import yaml from 'yaml';
import { Map, fromJS } from 'immutable';
import { trimStart, get, isPlainObject } from 'lodash';
import { authenticateUser } from 'Actions/auth';
@ -119,7 +119,7 @@ function mergePreloadedConfig(preloadedConfig, loadedConfig) {
}
function parseConfig(data) {
const config = yaml.safeLoad(data);
const config = yaml.parse(data);
if (typeof CMS_ENV === 'string' && config[CMS_ENV]) {
Object.keys(config[CMS_ENV]).forEach(key => {
config[key] = config[CMS_ENV][key];

View File

@ -14,6 +14,7 @@ import {
selectFolderEntryExtension,
selectInferedField,
selectMediaFolders,
selectFieldsComments,
} from './reducers/collections';
import { createEntry, EntryValue } from './valueObjects/Entry';
import { sanitizeChar } from './lib/urlHelper';
@ -896,7 +897,8 @@ export class Backend {
entryToRaw(collection: Collection, entry: EntryMap): string {
const format = resolveFormat(collection, entry.toJS());
const fieldsOrder = this.fieldsOrder(collection, entry);
return format && format.toFile(entry.get('data').toJS(), fieldsOrder);
const fieldsComments = selectFieldsComments(collection, entry);
return format && format.toFile(entry.get('data').toJS(), fieldsOrder, fieldsComments);
}
fieldsOrder(collection: Collection, entry: EntryMap) {

View File

@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { translate } from 'react-polyglot';
import styled from '@emotion/styled';
import yaml from 'js-yaml';
import yaml from 'yaml';
import { truncate } from 'lodash';
import copyToClipboard from 'copy-text-to-clipboard';
import { localForage } from 'netlify-cms-lib-util';
@ -43,7 +43,7 @@ const buildIssueTemplate = ({ config }) => {
version,
provider: config.getIn(['backend', 'name']),
browser: navigator.userAgent,
config: yaml.safeDump(config.toJS()),
config: yaml.stringify(config.toJS()),
});
return template;
@ -124,7 +124,7 @@ const RecoveredEntry = ({ entry, t }) => {
);
};
class ErrorBoundary extends React.Component {
export class ErrorBoundary extends React.Component {
static propTypes = {
children: PropTypes.node,
t: PropTypes.func.isRequired,
@ -174,6 +174,7 @@ class ErrorBoundary extends React.Component {
href={buildIssueUrl({ title: errorMessage, config: this.props.config })}
target="_blank"
rel="noopener noreferrer"
data-testid="issue-url"
>
{t('ui.errorBoundary.reportIt')}
</a>

View File

@ -0,0 +1,59 @@
import React from 'react';
import { ErrorBoundary } from '../ErrorBoundary';
import { render } from '@testing-library/react';
import { fromJS } from 'immutable';
import { oneLineTrim } from 'common-tags';
const WithError = () => {
throw new Error('Some unknown error');
};
jest.spyOn(console, 'error').mockImplementation(() => ({}));
Object.defineProperty(
window.navigator,
'userAgent',
(value => ({
get() {
return value;
},
set(v) {
value = v;
},
}))(window.navigator['userAgent']),
);
describe('Editor', () => {
const config = fromJS({ backend: { name: 'github' } });
const props = { t: jest.fn(key => key), config };
beforeEach(() => {
jest.clearAllMocks();
});
it('should match snapshot with issue URL', () => {
global.navigator.userAgent = 'Test User Agent';
const { asFragment, getByTestId } = render(
<ErrorBoundary {...props}>
<WithError />
</ErrorBoundary>,
);
expect(console.error).toHaveBeenCalledWith(new Error('Some unknown error'));
expect(getByTestId('issue-url').getAttribute('href')).toEqual(
oneLineTrim`https://github.com/netlify/netlify-cms/issues/new?
title=Error%3A+Some+unknown+error&
body=%0A**Describe+the+bug**%0A%0A**To+Reproduce**%0A%0A**Expected+behavior**%0A%0A**
Screenshots**%0A%0A**Applicable+Versions%3A**%0A+-+
Netlify+CMS+version%3A+%60%60%0A+-+
Git+provider%3A+%60github%60%0A+-+
Browser+version%3A+%60Test+User+Agent%60%0A%0A**
CMS+configuration**%0A%60%60%60%0Abackend%3A%0A++name%3A+github%0A%0A%60%60%60%0A%0A**
Additional+context**%0A&labels=type%3A+bug
`,
);
expect(asFragment()).toMatchSnapshot();
});
});

View File

@ -0,0 +1,75 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Editor should match snapshot with issue URL 1`] = `
<DocumentFragment>
.emotion-2 {
padding: 40px;
}
.emotion-2 h1 {
font-size: 28px;
color: #798291;
}
.emotion-2 h2 {
font-size: 20px;
}
.emotion-2 strong {
color: #313d3e;
font-weight: 500;
}
.emotion-2 hr {
width: 200px;
margin: 30px 0;
border: 0;
height: 1px;
background-color: #798291;
}
.emotion-2 a {
color: #3a69c7;
}
.emotion-0 {
color: #798291;
}
<div
class="emotion-2 emotion-3"
>
<h1>
ui.errorBoundary.title
</h1>
<p>
<span>
ui.errorBoundary.details
</span>
<a
data-testid="issue-url"
href="https://github.com/netlify/netlify-cms/issues/new?title=Error%3A+Some+unknown+error&body=%0A**Describe+the+bug**%0A%0A**To+Reproduce**%0A%0A**Expected+behavior**%0A%0A**Screenshots**%0A%0A**Applicable+Versions%3A**%0A+-+Netlify+CMS+version%3A+%60%60%0A+-+Git+provider%3A+%60github%60%0A+-+Browser+version%3A+%60Test+User+Agent%60%0A%0A**CMS+configuration**%0A%60%60%60%0Abackend%3A%0A++name%3A+github%0A%0A%60%60%60%0A%0A**Additional+context**%0A&labels=type%3A+bug"
rel="noopener noreferrer"
target="_blank"
>
ui.errorBoundary.reportIt
</a>
</p>
<p>
<span
class="emotion-0 emotion-1"
>
ui.errorBoundary.privacyWarning
</span>
<br />
</p>
<hr />
<h2>
ui.errorBoundary.detailsHeading
</h2>
<p>
Error: Some unknown error
</p>
</div>
</DocumentFragment>
`;

View File

@ -1,9 +1,58 @@
import yaml from '../yaml';
import { stripIndent } from 'common-tags';
describe('yaml', () => {
describe('fromFile', () => {
test('loads valid yaml', () => {
expect(yaml.fromFile('[]')).toEqual([]);
const result = yaml.fromFile(stripIndent`
date: '2020-04-02T16:08:03.327Z'
boolean: true
number: 1
`);
expect(result).toEqual({
date: '2020-04-02T16:08:03.327Z',
boolean: true,
number: 1,
});
expect(yaml.fromFile('# Comment a\na: a\nb:\n # Comment c\n c:\n d: d\n')).toEqual({
a: 'a',
b: { c: { d: 'd' } },
});
expect(
yaml.fromFile(stripIndent`
# template comment
template: post
# title comment
title: title
# image comment
image: /media/netlify.png
# date comment
date: '2020-04-02T13:27:48.617Z'
# object comment
object:
# object_title comment
object_title: object_title
# object_list comment
object_list:
- object_list_item_1: "1"
object_list_item_2: "2"
# list comment
list:
- "1"
`),
).toEqual({
list: ['1'],
object: {
object_title: 'object_title',
object_list: [{ object_list_item_1: '1', object_list_item_2: '2' }],
},
date: '2020-04-02T13:27:48.617Z',
image: '/media/netlify.png',
title: 'title',
template: 'post',
});
});
test('does not fail on closing separator', () => {
expect(yaml.fromFile('---\n[]\n---')).toEqual([]);
@ -13,5 +62,73 @@ describe('yaml', () => {
test('outputs valid yaml', () => {
expect(yaml.toFile([])).toEqual('[]\n');
});
test('should sort keys', () => {
expect(yaml.toFile({ a: 'a', b: 'b', c: 'c', d: 'd' })).toEqual('a: a\nb: b\nc: c\nd: d\n');
expect(yaml.toFile({ a: 'a', b: 'b', c: 'c', d: 'd' }, ['d', 'b', 'a', 'c'])).toEqual(
'd: d\nb: b\na: a\nc: c\n',
);
expect(yaml.toFile({ a: 'a', b: 'b', c: 'c', d: 'd' }, ['d', 'b', 'c'])).toEqual(
'a: a\nd: d\nb: b\nc: c\n',
);
});
test('should add comments', () => {
expect(
yaml.toFile({ a: 'a', b: { c: { d: 'd' } } }, [], { a: 'Comment a', 'b.c': 'Comment c' }),
).toEqual('# Comment a\na: a\nb:\n # Comment c\n c:\n d: d\n');
const expected = `# template comment
template: post
# title comment
title: title
# image comment
image: /media/netlify.png
# date comment
date: "2020-04-02T13:27:48.617Z"
# object comment
object:
# object_title comment
object_title: object_title
# object_list comment
object_list:
- object_list_item_1: "1"
object_list_item_2: "2"
# list comment
list:
- "1"
`;
const result = yaml.toFile(
{
list: ['1'],
object: {
object_title: 'object_title',
object_list: [{ object_list_item_1: '1', object_list_item_2: '2' }],
},
date: '2020-04-02T13:27:48.617Z',
image: '/media/netlify.png',
title: 'title',
template: 'post',
},
['template', 'title', 'image', 'date', 'object', 'list'],
{
list: 'list comment',
object: 'object comment',
'object.object_title': 'object_title comment',
'object.object_list': 'object_list comment',
date: 'date comment',
image: 'image comment',
title: 'title comment',
template: 'template comment',
},
);
expect(result).toEqual(expected);
expect(yaml.toFile({ a: 'a' }, [], { a: 'line 1\\nline 2' })).toEqual(
'# line 1\n# line 2\na: a\n',
);
});
});
});

View File

@ -31,7 +31,8 @@ const parsers = {
},
yaml: {
parse: input => yamlFormatter.fromFile(input),
stringify: (metadata, { sortedKeys }) => yamlFormatter.toFile(metadata, sortedKeys),
stringify: (metadata, { sortedKeys, comments }) =>
yamlFormatter.toFile(metadata, sortedKeys, comments),
},
};
@ -78,7 +79,7 @@ class FrontmatterFormatter {
};
}
toFile(data, sortedKeys) {
toFile(data, sortedKeys, comments = {}) {
const { body = '', ...meta } = data;
// Stringify to YAML if the format was not set
@ -90,7 +91,12 @@ class FrontmatterFormatter {
// https://github.com/jonschlinkert/gray-matter/issues/96
const trimLastLineBreak = body.slice(-1) !== '\n' ? true : false;
// `sortedKeys` is not recognized by gray-matter, so it gets passed through to the parser
const file = matter.stringify(body, meta, { engines: parsers, sortedKeys, ...format });
const file = matter.stringify(body, meta, {
engines: parsers,
sortedKeys,
comments,
...format,
});
return trimLastLineBreak && file.slice(-1) === '\n' ? file.substring(0, file.length - 1) : file;
}
}

View File

@ -1,6 +1,6 @@
export const sortKeys = (sortedKeys = []) => (a, b) => {
const idxA = sortedKeys.indexOf(a);
const idxB = sortedKeys.indexOf(b);
export const sortKeys = (sortedKeys = [], selector = a => a) => (a, b) => {
const idxA = sortedKeys.indexOf(selector(a));
const idxB = sortedKeys.indexOf(selector(b));
if (idxA === -1 || idxB === -1) return 0;
if (idxA > idxB) return 1;
if (idxA < idxB) return -1;

View File

@ -1,49 +1,41 @@
import yaml from 'js-yaml';
import moment from 'moment';
import AssetProxy from 'ValueObjects/AssetProxy';
import yaml from 'yaml';
import { sortKeys } from './helpers';
const MomentType = new yaml.Type('date', {
kind: 'scalar',
predicate(value) {
return moment.isMoment(value);
},
represent(value) {
return value.format(value._f);
},
resolve(value) {
return moment.isMoment(value) && value._f;
},
});
const addComments = (items, comments, prefix = '') => {
items.forEach(item => {
if (item.key !== undefined) {
const itemKey = item.key.toString();
const key = prefix ? `${prefix}.${itemKey}` : itemKey;
if (comments[key]) {
const value = comments[key].split('\\n').join('\n ');
item.commentBefore = ` ${value}`;
}
if (Array.isArray(item.value?.items)) {
addComments(item.value.items, comments, key);
}
}
});
};
const ImageType = new yaml.Type('image', {
kind: 'scalar',
instanceOf: AssetProxy,
represent(value) {
return `${value.path}`;
},
resolve(value) {
if (value === null) return false;
if (value instanceof AssetProxy) return true;
return false;
},
});
const OutputSchema = new yaml.Schema({
include: yaml.DEFAULT_SAFE_SCHEMA.include,
implicit: [MomentType, ImageType].concat(yaml.DEFAULT_SAFE_SCHEMA.implicit),
explicit: yaml.DEFAULT_SAFE_SCHEMA.explicit,
});
const options = { version: '1.1' };
export default {
fromFile(content) {
if (content && content.trim().endsWith('---')) {
content = content.trim().slice(0, -3);
}
return yaml.safeLoad(content);
return yaml.parse(content, options);
},
toFile(data, sortedKeys = []) {
return yaml.safeDump(data, { schema: OutputSchema, sortKeys: sortKeys(sortedKeys) });
toFile(data, sortedKeys = [], comments = {}) {
const contents = yaml.createNode(data);
addComments(contents.items, comments);
contents.items.sort(sortKeys(sortedKeys, item => item.key?.toString()));
const doc = new yaml.Document(options);
doc.contents = contents;
return doc.toString();
},
};

View File

@ -404,4 +404,24 @@ export const selectSortDataPath = (collection: Collection, key: string) => {
}
};
export const selectFieldsComments = (collection: Collection, entryMap: EntryMap) => {
let fields: EntryField[] = [];
if (collection.has('folder')) {
fields = collection.get('fields').toArray();
} else if (collection.has('files')) {
const file = collection.get('files')!.find(f => f?.get('name') === entryMap.get('slug'));
fields = file.get('fields').toArray();
}
const comments: Record<string, string> = {};
const names = getFieldsNames(fields);
names.forEach(name => {
const field = selectField(collection, name);
if (field?.has('comment')) {
comments[name] = field.get('comment')!;
}
});
return comments;
};
export default collections;

View File

@ -113,6 +113,7 @@ export type EntryField = StaticallyTypedRecord<{
default: string | null | boolean;
media_folder?: string;
public_folder?: string;
comment?: string;
}>;
export type EntryFields = List<EntryField>;

View File

@ -7,7 +7,7 @@ const DatePreview = ({ value }) => (
);
DatePreview.propTypes = {
value: PropTypes.object,
value: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
};
export default DatePreview;

View File

@ -7,7 +7,7 @@ const DatePreview = ({ value }) => (
);
DatePreview.propTypes = {
value: PropTypes.object,
value: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
};
export default DatePreview;

View File

@ -125,7 +125,6 @@ export default class RawEditor extends React.Component {
onCut={this.handleCut}
onCopy={this.handleCopy}
ref={this.processRef}
t={t}
/>
)}
</ClassNames>

View File

@ -329,6 +329,7 @@ The `fields` option maps editor UI widgets to field-value pairs in the saved fil
* `default`: specify a default value for a field; available for most widget types (see [Widgets](../widgets) for details on each widget type). Please note that field default value only works for folder collection type.
* `required`: specify as `false` to make a field optional; defaults to `true`
* `pattern`: add field validation by specifying a list with a regex pattern and an error message; more extensive validation can be achieved with [custom widgets](../custom-widgets/#advanced-field-validation)
* `comment`: optional comment to add before the field (only supported for `yaml`)
In files with frontmatter, one field should be named `body`. This special field represents the section of the document (usually markdown) that comes after the frontmatter.
@ -343,6 +344,7 @@ fields:
- {label: "Layout", name: "layout", widget: "hidden", default: "blog"}
- {label: "Featured Image", name: "thumbnail", widget: "image", required: false}
- {label: "Body", name: "body", widget: "markdown"}
comment: 'This is a multiline\ncomment'
```
### `editor`

View File

@ -8284,7 +8284,6 @@ fsevents@^1.2.7:
dependencies:
bindings "^1.5.0"
nan "^2.12.1"
node-pre-gyp "*"
fsevents@~2.1.2:
version "2.1.2"
@ -10590,7 +10589,7 @@ js-tokens@^3.0.2:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=
js-yaml@^3.11.0, js-yaml@^3.12.2, js-yaml@^3.13.1:
js-yaml@^3.11.0, js-yaml@^3.13.1:
version "3.13.1"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
@ -17852,7 +17851,7 @@ yallist@^4.0.0:
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
yaml@^1.7.2:
yaml@^1.7.2, yaml@^1.8.3:
version "1.8.3"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.8.3.tgz#2f420fca58b68ce3a332d0ca64be1d191dd3f87a"
integrity sha512-X/v7VDnK+sxbQ2Imq4Jt2PRUsRsP7UcpSl3Llg6+NRRqWLIvxkMFYtH1FmvwNGYRKKPa+EPA4qDBlI9WVG1UKw==