Stream API timepoint

Hi

When you make a request for the first time do you need to use timepoint or this is requre when any other second request is made ?
Do you have test timepoint to test small load when developing to test the responces?

Regards

1 Like

If you do not supply a timepoint, it will default to ‘now’.
If you stop consuming, you will need to record that timepoint and supply that when you resume, otherwise you will start at ‘now’ again and potentially ‘miss’ data.

Thank Mark

I have implemeted and recording the timepoint and headers responces. How loong does it take to start getting a responce?. I know this can be depending of the network load, latency ,availability etc. I am developing an aplication and do some tests to handle errors. I have run the test few times and have no responce for hours. First time i run the test the responce came back after 7 hours with time out error.

Many Thanks

Within approx 5 seconds if you have connected correctly and there is activity to stream to your consumer of course.
I would suggest using https://stream.companieshouse.gov.uk/filings
Try something like:-
curl -v -k -u streamingapikey: https://stream.companieshouse.gov.uk/filings
as a test

Thank you Mark
I have establish persistant connection and is running open. As I request data for the first time I don’t provide timepoint. Will the respone return current database from Company House once shapshot is created to the consumer? Is there timepoints in time I can use for the first time?

Many Thanks

Hello,

How do we get the snapshot that can be updated with content from the streaming API?

@MArkWilliams, do you know anything about this?