Skip to content

One or two more examples of implementing paths? #3

@Eumaeus

Description

@Eumaeus

Thanks a million for making this template available. I got it running with no problem.

I remain confused, though, about how to build out the paths, and the Akka-Http docs aren't yet helping.

How would I build out the status endpoint to handle deeper nesting and, ideally, parameters:

  • /v1/status (this one you've implemented)
  • /v1/status/info (adding an additional level to the selector)
  • /v1/status/info?id=2(an additional level, and getting the value of a paramter)

(Obviously, I don't really care what data comes back from any of those examples, I'm just not clear on how to wire up the paths.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions