Skip to content

Instantly share code, notes, and snippets.

@expipiplus1
Created November 12, 2016 14:09
Show Gist options
  • Save expipiplus1/2199b4d8bcac877482780be8a7fd6fef to your computer and use it in GitHub Desktop.
Save expipiplus1/2199b4d8bcac877482780be8a7fd6fef to your computer and use it in GitHub Desktop.

"GET" /project/:projectName

Captures

  • projectName: Name of the project

Response

  • Status code 200

  • Response body (application/json) .. code:: javascript

    null

  • Response body (application/json) .. code:: javascript

    {"projectDisplayname":"some text","projectHomepage":null,"projectOwner":"some text","projectHidden":0,"projectName":"some text","projectEnabled":0,"projectDescription":null}

  • Response body (application/json) .. code:: javascript

    {"projectDisplayname":"some text","projectHomepage":"some text","projectOwner":"some text","projectHidden":0,"projectName":"some text","projectEnabled":0,"projectDescription":null}

  • Response body (application/json) .. code:: javascript

    {"projectDisplayname":"some text","projectHomepage":null,"projectOwner":"some text","projectHidden":0,"projectName":"some text","projectEnabled":0,"projectDescription":"some text"}

  • Response body (application/json) .. code:: javascript

    {"projectDisplayname":"some text","projectHomepage":"some text","projectOwner":"some text","projectHidden":0,"projectName":"some text","projectEnabled":0,"projectDescription":"some text"}

"GET" /projectNames

Response

  • Status code 200

  • Response body (application/json) .. code:: javascript

    []

  • Response body (application/json) .. code:: javascript

    ["some text"]

  • Response body (application/json) .. code:: javascript

    ["some text","some text"]

  • Response body (application/json) .. code:: javascript

    ["some text","some text","some text"]

  • Response body (application/json) .. code:: javascript

    ["some text","some text","some text","some text"]

"GET" /protected

  • This endpoint is sensitive to the value of the Authorization HTTP header.

Response

  • Status code 200

  • Response body (application/json) .. code:: javascript

    "some text"

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