What is the correct format for query string and path parameters?

860 Views Asked by At

I am using API blueprint to mock a set of real world endpoints and am having trouble combining path and query string parameters.

The real world endpoint has a query string parameter appearing 1st followed by a number of path parameters. I have tired loading this up in https://app.apiary.io but when I do it always moves the query string parameter to the end of the endpoint. What am I doing wrong?

FORMAT: 1A

# Milliman-Goals-Engine
Milliman-Goals-Engine is an API that allows consumers to view requests and responses from Milliman.

# Group Projections
Resources related to projections in the API

## Projection [/test/lts/objects{?startsWith}{/audit}{/projections}{/projectionType}]
Retreives projections by scenarioId and projection type

+ Parameters
    + startsWith: `1` (integer) - The scenario id of the projection
    + audit: `audit` (string)
    + projections: `projections` (string)
    + projectionType: `stochastic_request` (string) - The projection type to retrieve for the given scenarioId

### Retreive Scenario Projection [GET]
+ Response 200 (application/json)

        {"message":"Hello World!"}
0

There are 0 best solutions below