Last active
April 4, 2019 13:57
-
-
Save JunKikuchi/e23838ff6879c263373ddf5e7cf03ebf to your computer and use it in GitHub Desktop.
Firestore REST API Transaction Log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>>>> [start 2019-04-03 22:58:26.043337 UTC] | |
[Client Request] { | |
host = firestore.googleapis.com:443 | |
secure = True | |
method = POST | |
timeout = ResponseTimeoutMicro 70000000 | |
redirects = 10 | |
path = /v1/projects/shogix/databases/(default)/documents:beginTransaction | |
query = ?alt=json | |
headers = authorization: Bearer ...omitted...; accept: application/json;charset=utf-8; content-type: application/json;charset=utf-8 | |
body = {} | |
} | |
[Client Response] { | |
status = 200 OK | |
headers = content-type: application/json; charset=UTF-8; vary: Origin; vary: X-Origin; vary: Referer; content-encoding: gzip; date: Wed, 03 Apr 2019 22:58:26 GMT; server: ESF; cache-control: private; x-xss-protection: 1; mode=block; x-frame-options: SAMEORIGIN; x-content-type-options: nosniff; alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"; transfer-encoding: chunked | |
} | |
[Client Request] { | |
host = firestore.googleapis.com:443 | |
secure = True | |
method = GET | |
timeout = ResponseTimeoutMicro 70000000 | |
redirects = 10 | |
path = /v1/projects/shogix/databases/(default)/documents/games/ngFYPZL5g0c7D8d9NJFX | |
query = ?transaction=ETOPgf4y973IIlkAIx%2BixC6M%2BRdFOOuISAW%2FEboYLT69fAeSibE6yaVLOLqk2OYNk%2FsBdGH8cEw09%2Bo9PXuhsBgk9nRwx5NcTyLVdiuxMVL9rKtMtltFnEmfg9jbaoMInSc9DA%3D%3D&alt=json | |
headers = authorization: Bearer ...omitted...; accept: application/json;charset=utf-8 | |
body = | |
} | |
[Client Response] { | |
status = 200 OK | |
headers = content-type: application/json; charset=UTF-8; vary: Origin; vary: X-Origin; vary: Referer; content-encoding: gzip; date: Wed, 03 Apr 2019 22:58:26 GMT; server: ESF; cache-control: private; x-xss-protection: 1; mode=block; x-frame-options: SAMEORIGIN; x-content-type-options: nosniff; alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"; transfer-encoding: chunked | |
} | |
>>>>> [commit 2019-04-03 22:58:26.087581 UTC] | |
[Client Request] { | |
host = firestore.googleapis.com:443 | |
secure = True | |
method = POST | |
timeout = ResponseTimeoutMicro 70000000 | |
redirects = 10 | |
path = /v1/projects/shogix/databases/(default)/documents:commit | |
query = ?alt=json | |
headers = authorization: Bearer ...omitted...; accept: application/json;charset=utf-8; content-type: application/json;charset=utf-8 | |
body = {"transaction":"ETOPgf4y973IIlkAIx+ixC6M+RdFOOuISAW/EboYLT69fAeSibE6yaVLOLqk2OYNk/sBdGH8cEw09+o9PXuhsBgk9nRwx5NcTyLVdiuxMVL9rKtMtltFnEmfg9jbaoMInSc9DA==","writes":[{"updateMask":{"fieldPaths":["shogi","moves","drops","moved","track","clocks","time","state","termination","winner"]},"update":{"name":"projects/shogix/databases/(default)/documents/games/ngFYPZL5g0c7D8d9NJFX","fields":{"termination":{"nullValue":"NULL_VALUE"},"track":{"stringValue":"Y"},"state":{"stringValue":"playing"},"drops":{"stringValue":""},"time":{"integerValue":"1554332306043"},"shogi":{"stringValue":"Wceginigec_l_____j_aaaaaaaaa____________________A______AA_AAAAAA_J_____L_CEGINIGEC"},"moves":{"stringValue":")2x|;Dx|:Cx|'0x/x|9Bx|&0x/x.x|8Ax|%/x.x-x|7@x|$.x-x,x|6?x|#-x,x|5>x|+0x/x.x-x,x*x|4=x|!*x|3<x"},"moved":{"stringValue":"P"},"clocks":{"mapValue":{"fields":{"white":{"mapValue":{"fields":{"clock":{"integerValue":"600000"},"byoyomi":{"integerValue":"5000"}}}},"black":{"mapValue":{"fields":{"clock":{"integerValue":"599000"},"byoyomi":{"integerValue":"5000"}}}}}}},"winner":{"nullValue":"NULL_VALUE"}}}}]} | |
} | |
[Client Response] { | |
status = 200 OK | |
headers = content-type: application/json; charset=UTF-8; vary: Origin; vary: X-Origin; vary: Referer; content-encoding: gzip; date: Wed, 03 Apr 2019 22:59:21 GMT; server: ESF; cache-control: private; x-xss-protection: 1; mode=block; x-frame-options: SAMEORIGIN; x-content-type-options: nosniff; alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"; transfer-encoding: chunked | |
} | |
>>>>> [end 2019-04-03 22:59:21.925471 UTC] | |
127.0.0.1 - - [04/Apr/2019:07:59:21 +0900] "PUT /games/ngFYPZL5g0c7D8d9NJFX HTTP/1.1" 200 - "" "PostmanRuntime/7.6.1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment