Technology

Details

Curl request

$ curl 'http://skylar.livingfire.de/api/profile/technologys' -i

Create

A POST request will create a Technology.

Curl request

$ curl 'http://skylar.livingfire.de/api/technologys' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -d '{
  "id" : null,
  "uuid" : "2f8f54a2-f541-44a5-966d-6687e30dbaca",
  "logstash" : "2017-04-01T00:00:00Z",
  "description" : "Java"
}'

HTTP response

HTTP/1.1 201 Created
Location: http://skylar.livingfire.de/api/technologys/8

Retrieve

A GET request will retrieve a Technology.

Response fields

Path Type Description

uuid

String

Java UUID

logstash

String

ISO 8601 date with TimeZone UTC in format "yyyy-MM-dd’T’HH:mm:ssZ" e.g. 2017-04-01T00:00:00Z

description

String

Description or name

_links

Object

Links to other resources

Curl request

$ curl 'http://skylar.livingfire.de/api/technologys/8' -i

HTTP response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 313

{
  "uuid" : "2f8f54a2-f541-44a5-966d-6687e30dbaca",
  "logstash" : "2017-04-01T00:00:00Z",
  "description" : "Java",
  "_links" : {
    "self" : {
      "href" : "http://skylar.livingfire.de/api/technologys/8"
    },
    "technology" : {
      "href" : "http://skylar.livingfire.de/api/technologys/8"
    }
  }
}
Relation Description

self

Canonical link for this resource

technology

This Technology

Update

A PATCH request will update a Technology.

Curl request

$ curl 'http://skylar.livingfire.de/api/technologys/8' -i -X PATCH \
    -H 'Content-Type: application/hal+json' \
    -d '{
  "description" : "Java"
}'

HTTP response

HTTP/1.1 204 No Content

Delete

A DELETE request will delete a Technology.

Curl request

$ curl 'http://skylar.livingfire.de/api/technologys/8' -i -X DELETE \
    -H 'Content-Type: application/hal+json'

HTTP response

HTTP/1.1 204 No Content

Details

Curl request
$ curl 'http://skylar.livingfire.de/api/technologys/search' -i
HTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 412

{
  "_links" : {
    "findByDescription" : {
      "href" : "http://skylar.livingfire.de/api/technologys/search/findByDescription{?description}",
      "templated" : true
    },
    "findByUuid" : {
      "href" : "http://skylar.livingfire.de/api/technologys/search/findByUuid{?uuid}",
      "templated" : true
    },
    "self" : {
      "href" : "http://skylar.livingfire.de/api/technologys/search"
    }
  }
}

findByUuid

A GET request will retrieve a Technology.

Request parameters
Parameter Description

uuid

Java UUID

Response fields
Path Type Description

uuid

String

Java UUID

logstash

String

ISO 8601 date with TimeZone UTC in format "yyyy-MM-dd’T’HH:mm:ssZ" e.g. 2017-04-01T00:00:00Z

description

String

Description or name

_links

Object

Links to other resources

Curl request
$ curl 'http://skylar.livingfire.de/api/technologys/search/findByUuid?uuid=2f8f54a2-f541-44a5-966d-6687e30dbaca' -i
HTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 313

{
  "uuid" : "2f8f54a2-f541-44a5-966d-6687e30dbaca",
  "logstash" : "2017-04-01T00:00:00Z",
  "description" : "Java",
  "_links" : {
    "self" : {
      "href" : "http://skylar.livingfire.de/api/technologys/8"
    },
    "technology" : {
      "href" : "http://skylar.livingfire.de/api/technologys/8"
    }
  }
}
Relation Description

self

Canonical link for this resource

technology

This Technology

findByDescription

A GET request will retrieve a array of Technology.

Request parameters
Parameter Description

description

Description or name

Response fields
Path Type Description

_embedded.technologys

Array

An array of Technology

_links

Object

Links to other resources

Curl request
$ curl 'http://skylar.livingfire.de/api/technologys/search/findByDescription?description=Java' -i
HTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 906

{
  "_embedded" : {
    "technologys" : [ {
      "uuid" : "f0815d6e-5e1e-46da-88cf-e47202879e58",
      "logstash" : "2017-04-01T00:00:00+02:00",
      "description" : "Java",
      "_links" : {
        "self" : {
          "href" : "http://skylar.livingfire.de/api/technologys/1"
        },
        "technology" : {
          "href" : "http://skylar.livingfire.de/api/technologys/1"
        }
      }
    }, {
      "uuid" : "2f8f54a2-f541-44a5-966d-6687e30dbaca",
      "logstash" : "2017-04-01T00:00:00Z",
      "description" : "Java",
      "_links" : {
        "self" : {
          "href" : "http://skylar.livingfire.de/api/technologys/8"
        },
        "technology" : {
          "href" : "http://skylar.livingfire.de/api/technologys/8"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "http://skylar.livingfire.de/api/technologys/search/findByDescription"
    }
  }
}
Relation Description

self

Canonical link for this resource

Technologies

Listing

A GET request will retrieve a paginated view of all Technology.

Response fields

Path Type Description

_embedded.technologys

Array

An array of Technology

_links

Object

Links to other resources

page

Object

paging information

Curl request

$ curl 'http://skylar.livingfire.de/api/technologys' -i

HTTP response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1209

{
  "_embedded" : {
    "technologys" : [ {
      "uuid" : "f0815d6e-5e1e-46da-88cf-e47202879e58",
      "logstash" : "2017-04-01T00:00:00+02:00",
      "description" : "Java",
      "_links" : {
        "self" : {
          "href" : "http://skylar.livingfire.de/api/technologys/1"
        },
        "technology" : {
          "href" : "http://skylar.livingfire.de/api/technologys/1"
        }
      }
    }, {
      "uuid" : "2f8f54a2-f541-44a5-966d-6687e30dbaca",
      "logstash" : "2017-04-01T00:00:00Z",
      "description" : "Java",
      "_links" : {
        "self" : {
          "href" : "http://skylar.livingfire.de/api/technologys/8"
        },
        "technology" : {
          "href" : "http://skylar.livingfire.de/api/technologys/8"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "http://skylar.livingfire.de/api/technologys{?page,size,sort}",
      "templated" : true
    },
    "profile" : {
      "href" : "http://skylar.livingfire.de/api/profile/technologys"
    },
    "search" : {
      "href" : "http://skylar.livingfire.de/api/technologys/search"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}
Relation Description

self

Canonical link for this resource

profile

The Application-Level Profile Semantics (ALPS)

search

Canonical link to search resources