Skip to content

Instantly share code, notes, and snippets.

@netmilk
Created October 4, 2013 10:03
Show Gist options
  • Save netmilk/6823709 to your computer and use it in GitHub Desktop.
Save netmilk/6823709 to your computer and use it in GitHub Desktop.

FORMAT: X-1A

URI Parameters API

This API demonstrates & tests various URI parameter description.

PUT /1/{id}

  • Parameters

    • id ... id of a post
  • Response 204

PUT /2/{id}

  • Parameters

    • id = 14 (optional) ... id of a post
  • Response 204

PUT /3/{id}

  • Parameters

    • id (14, number) ... id of a post

      Additional description goes here.

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dignissim ligula ut pharetra tempor.

      Curabitur laoreet nisi ipsum, vel scelerisque ipsum viverra at. Nullam tempor libero ac tincidunt rutrum

  • Response 204

PUT /4/{id}

  • Parameters

    • id = 14 (optional, 14, number) ... id of a post
      • Values
        • 10
        • 14
        • 24
        • 42
  • Response 204

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