Home

App-Version

app-version is a resource which represents the asset app-versions of Rest Docs.

Get App-Versions (GET /api/appVersion)

A GET request that will list the app-versions as JSON.

Request Headers

Name Description

Accept

This should always be application/json.

Example request

GET /api/appVersion HTTP/1.1
Accept: application/json
Content-Type: application/json; charset=UTF-8
Host: api.restdocs.com
$ curl 'http://api.restdocs.com/api/appVersion' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json; charset=UTF-8'

Response structure

Path Type Required Description

version

String

true

The version of the application.

Example response

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Language: en-US
Transfer-Encoding: chunked
Date: Mon, 28 Jun 2021 04:52:00 GMT
Keep-Alive: timeout=60
Connection: keep-alive
Content-Length: 23

{
  "version" : "1.0"
}

App Version

User