Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Use JSON API to manually trigger Offline Message Retreival #1583

Closed
placer14 opened this issue May 16, 2019 · 1 comment
Closed

Use JSON API to manually trigger Offline Message Retreival #1583

placer14 opened this issue May 16, 2019 · 1 comment
Assignees
Labels
feature Feature or enhancement to openbazaar-go

Comments

@placer14
Copy link
Member

In the event that the user knows the daemon is waiting for a message which hasn't been downloaded from the DHT, the user would like to trigger the MessageRetriever to scan the network.

  • Given an endpoint GET /ob/scanofflinemessages is called, the response will either be 200 OK with a JSON body of {} or 500 Internal Server Error with {"error":"description of error"}.
  • When successful and already in progress, additional attempts should return an error status 429 Too many requests with body {"error":"scanning offline messages already in progress"}.
@placer14 placer14 added the feature Feature or enhancement to openbazaar-go label May 16, 2019
@placer14
Copy link
Member Author

Being delivered in #1584

@placer14 placer14 closed this as completed Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature or enhancement to openbazaar-go
Projects
None yet
Development

No branches or pull requests

2 participants