Silvan_WMDE added subscribers: Ollie.Shotton_WMDE, Silvan_WMDE, Jakob_WMDE.
Silvan_WMDE added a comment.


  Task breakdown notes:
  
  - copy relevant parts from the proposed OpenAPI spec to ours (ticket by 
@Silvan_WMDE)
  - return json with map of statements for existing Item
    - ticket by @Ollie.Shotton_WMDE :
      - new use case `GetItemStatements`
      - new data access service `ItemStatementsRetriever` which
        - return a result object with list of statements, redirect result or 
notFound (inspired by `ItemRevisionResult`)
        - include the item's revision id
    - ticket by @Silvan_WMDE:
      - implement the retriever
      - new `GetItemStatementsRouteHandler` (create body and headers)
    - don't forget the schema tests (separate ticket by @Jakob_WMDE)
  - return json with map of statements for redirects (ticket by @Jakob_WMDE)
    - handle redirects inside the `GetItemStatements` use case
    - follow "exisiting item" path with redirect target's item ID
  - handle errors
    - 400 in case of invalid item ID (ticket by @Silvan_WMDE)
    - 404 in case of "item does not exist" (ticket by @Jakob_WMDE )
    - 500 in case of unexpected errors (ticket by @Ollie.Shotton_WMDE)

TASK DETAIL
  https://phabricator.wikimedia.org/T305988

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Silvan_WMDE
Cc: Jakob_WMDE, Silvan_WMDE, Ollie.Shotton_WMDE, Aklapper, WMDE-leszek, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to