Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Setup a consistent path scheme for tasks on the website

Open fozziethebeat opened this issue 2 years ago • 2 comments

We should have a sensible hierarchy that will keep urls consistent.

I'm thinking something like:

  • /create/[task_type] for anything where someone has to write free-form responses (namely where the update type is text_reply_to_post).
  • /evaluate/[task_type] for anything where someone has to rate or rank a response.

fozziethebeat avatar Dec 26 '22 12:12 fozziethebeat

If we can define input goals I could help develop and document.

At a higher level it could be good to use the OpenAPI standard for the webside of things too perhaps and use tools like https://openapi-generator.tech/

jasonmhead avatar Dec 27 '22 09:12 jasonmhead

I think this is almost done with a PR i have in review. This was more just to ensure we have some documentation and simpler URL patterns for the client side.

fozziethebeat avatar Dec 27 '22 09:12 fozziethebeat