ResponseHeader
Stay organized with collections
Save and categorize content based on your preferences.
Header object that is defined on all responses sent from the server.
JSON representation |
{
"responseTimestamp": string
} |
Fields |
responseTimestamp |
string (int64 format)
REQUIRED: Timestamp of this response represented as milliseconds since epoch. The receiver should verify that this timestamp is ± 60s of 'now'.
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-03 UTC."],[[["\u003cp\u003eThe server sends a header object with all responses.\u003c/p\u003e\n"],["\u003cp\u003eThis header includes a required \u003ccode\u003eresponseTimestamp\u003c/code\u003e field, formatted as an int64 string representing milliseconds since epoch.\u003c/p\u003e\n"],["\u003cp\u003eReceivers should validate the \u003ccode\u003eresponseTimestamp\u003c/code\u003e to ensure it's within ± 60 seconds of the current time.\u003c/p\u003e\n"]]],["The response includes a header object with a single field: `responseTimestamp`. This field, formatted as a string representing a 64-bit integer, is a required timestamp indicating when the response was generated. It is measured in milliseconds since the epoch. The receiving system must validate that this timestamp falls within a 60-second window (plus or minus) of the current time.\n"],null,["# ResponseHeader\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nHeader object that is defined on all responses sent from the server.\n\n| JSON representation |\n|-----------------------------------------|\n| ``` { \"responseTimestamp\": string } ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `responseTimestamp` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` **REQUIRED**: Timestamp of this response represented as milliseconds since epoch. The receiver should verify that this timestamp is ± 60s of 'now'. |"]]