upstash / docs

Upstash documentation
https://upstash.com/docs/
9 stars 39 forks source link

feat: topics and reenable v2 docs #27

Closed chronark closed 1 year ago

linear[bot] commented 1 year ago

DX-43 QStash v2 Topics API

sancar commented 1 year ago

Since v1 is deprecated now, I think we should update all the /v1 examples from other parts of the doc. An example: The curl code example in https://upstash.com/docs/qstash/overall/getstarted#publish-a-message Or https://upstash.com/docs/qstash/overall/apiexamples Wdyt ?

sancar commented 1 year ago

https://upstash.com/docs/qstash/features/delay Delay page will need an update for v2. Upstash-Not-Before is not supported in v2 schedules.

sancar commented 1 year ago

https://upstash.com/docs/qstash/howto/delete-schedule There is a TODO: Fahreddin . Not related the pr, this is even in the live one. The following link in this page seems wrong -> schedules api

Another TODO: Fahreddin here https://upstash.com/docs/qstash/howto/topic-endpoint @fahreddinozcan

sancar commented 1 year ago

https://upstash.com/docs/qstash/howto/debug-logs This page needs to be adopted to v2 as we don't have exact same events as v1.

sancar commented 1 year ago

Dead letter queues page is not listed in the left part under Features. I have accessed it from the link in the migration page.

sancar commented 1 year ago

A typo in http://localhost:3000/qstash/api/messages/create ContentType -> Content-Type

Copy past error on the response part of the same page http://localhost:3000/qstash/api/messages/create#response publish does not return scheduleId

sancar commented 1 year ago

We need to update http://localhost:3000/qstash/api/dlq/listMessages a bit. dlqId is not available in the example response. We don't have topicId in the response, it should be topicName. We don't have state in the response as well.