Skip to content

document API resources  #123

Description

@motosharpley

Create an API document identifying all the currently available endpoints and the elements within each endpoint.
List of tasks to include in issue description

  • Include apidocs tool dependencies in Navi (admin)
  • Develop guidelines that contributors should use while documenting their coded APIs
  • Update each of the code blocks in controllers directory to comply with guidelines mentioned above. On a closer review that is the one directory that is relevant for this task as the files in routes directory uses the APIs defined in the controllers directory. However if there are any additional files that are providing APIs they need to be included here.
    • google-api-controllers.js
    • saved-directions-controllers.js
    • saved-pins-controller.js
    • search-history-controllers.js
    • users-contoller.js
    • utils-controller.js
  • Update contributing guidelines doc to ensure all programmers follow the guidelines before introducing new API code

Activity

  1. added this to the Go-live milestone on Feb 26, 2018
  2. tanyagupta commented on Mar 10, 2018

    @tanyagupta
    Contributor

    @sonalikatara Can I help you with this ?

  3. thesparrow commented on Mar 29, 2018

    @thesparrow

    Is this still open? @motosharpley I'd like to get my feet wet with the project. Thanks!

  4. motosharpley commented on Mar 30, 2018

    @motosharpley
    CollaboratorAuthor

    @thesparrow please coordinate with @tanyagupta she has started on this however there is more to do if you would like to help.
    Also your team invite is still pending, once you accept that I can assign issues to you.
    Thanks

  5. tanyagupta commented on Mar 30, 2018

    @tanyagupta
    Contributor

    @thesparrow @sonalikatara we will be implementing apidocs to capture documentation. I plan to update the issue description with a detailed task list soon. Look forward to working with both of you on that

  6. tanyagupta commented on Mar 30, 2018

    @tanyagupta
    Contributor

    List of tasks to include in issue description

    • Include apidocs tool dependencies in Navi (admin)
    • Develop guidelines that contributors should use while documenting their coded APIs
    • Update each of the code blocks in controllers directory to comply with guidelines mentioned above. On a closer review that is the one directory that is relevant for this task as the files in routes directory uses the APIs defined in the controllers directory. However if there are any additional files that are providing APIs they need to be included here.
      • google-api-controllers.js
      • saved-directions-controllers.js
      • saved-pins-controller.js
      • search-history-controllers.js
      • users-contoller.js
      • utils-controller.js
    • Update contributing guidelines doc to ensure all programmers follow the guidelines before introducing new API code

    I am marking the one I am interested in (guidelines). Please feel free to choose the ones you want

    @motosharpley please advice if you want to break this up into issues and keep it here. If we keep it here, could you amend the issue description using the above

  7. thesparrow commented on Mar 30, 2018

    @thesparrow

    Thanks for the reply - I can do the first bulletin - it seems like the rest of the bulletins are tied to the second stage? Or is that a wrong assumption? @motosharpley @tanyagupta Also I'm not sure - do I need to tag you in the posts - or is this seen by people already making comments on the thread? thanks

  8. tanyagupta commented on Mar 30, 2018

    @tanyagupta
    Contributor

    @thesparrow we would need an admin for the first if I am not mistaken. Let me get the guidelines out as soon as I can (the second one) and that should free up the rest of the bullets. All subscribed folks will automatically get copied on this thread. It looks like @motosharpley @sonalikatara @jkwening and us :)

  9. thesparrow commented on Mar 30, 2018

    @thesparrow

    Ok! Sounds good! I'll be scoping out the code in the meantime - let me know.

  10. motosharpley commented on Mar 30, 2018

    @motosharpley
    CollaboratorAuthor

    We can use this as a master ticket and reference other smaller issues that need more description and are able to be completed in isolation.
    I will have to to look at apidocs again but I would assume issue 1 would just be a matter of adding devDependencies to the package.json
    Also since multiple people are working on this lets submit PR's to the api-docs feature branch

  11. tanyagupta commented on Mar 30, 2018

    @tanyagupta
    Contributor
  12. tanyagupta commented on Mar 31, 2018

    @tanyagupta
    Contributor

    @thesparrow and @sonalikatara wanted to check in and see if you saw the instructions and have any questions. I am posting the link here =>
    https://github.com/TheDevPath/Navi/blob/api-docs/docs/API_instructions.md
    Essentially api-docs helps the automation of documents and the attached describes the kind of changes that need to be made to the files. The list of the files are in the task list above.
    I will work on it further but the essentials of what needs to be done are there. We won't be opening new issues so you can pick any one and post a comment so we all know
    Please let me know if you have any questions.
    Thanks :)

  13. sonalikatara commented on Mar 31, 2018

    @sonalikatara
    Contributor
  14. sonalikatara commented on Apr 1, 2018

    @sonalikatara
    Contributor

    @tanyagupta , the api documentation is already there in all the controllers, do I need to check it or am i missing something.

    regarding the item : Update contributing guidelines doc to ensure all programmers follow the guidelines before introducing new API code
    Isn't this https://github.com/TheDevPath/Navi/blob/api-docs/docs/API_instructions.md
    Please suggest how I can start .

  15. tanyagupta commented on Apr 1, 2018

    @tanyagupta
    Contributor

    @sonalikatara those are really good questions. Let me update my post so that those answers are there for others to review as well.

  16. tanyagupta commented on Apr 4, 2018

    @tanyagupta
    Contributor

    @sonalikatara @thesparrow please see updated instructions and feel free to take up any of the above issues, hopefully this provides more guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions