Module macrobond_data_api.common.types.revision_history_request

Classes

class RevisionHistoryRequest (name: str, if_modified_since: Optional[datetime.datetime] = None, last_revision: Optional[datetime.datetime] = None, last_revision_adjustment: Optional[datetime.datetime] = None)

Request of new revisions of a time series

Instance variables

var if_modified_since : Optional[datetime.datetime]

If specified, the series will only be returned if modified since the specified time. If not, NotModified (304) will be returned. The value should be from the metadata LastModifiedTimeStamp of the previous response.

var last_revision : Optional[datetime.datetime]

If specified, incremental updates can be return. PartialContent (206) will be returned in that case. The value should be from the metadata LastRevisionTimeStamp of the previous response.

var last_revision_adjustment : Optional[datetime.datetime]

If specified, incremental updates can be return. PartialContent (206) will be returned in that case. The value should be from the metadata LastRevisionAdjustmentTimeStamp of the previous response.

var name : str

The name of the series