Skip to content

System settings links

Svyatoslav Reyentenko edited this page Jan 21, 2013 · 1 revision

Settings

Only admin and readonly admin users here

Path: /settings
Method: GET

Admin:

{
    "items" : [
      {"name":"genesis.system.beat.period.ms","value":"1000"},
      ...
    ]
    "links": [
        {"href" : "/settings", "rel":"self", "methods":["get","put","delete"],
        "type":"application/vnd.griddynamics.genesis.ConfigProperty+json"},
        {"href" : "/roles", "rel":"collection", "type" :
        "application/vnd.griddynamics.genesis.GenesisRole+json"},
        ...
    ]
}

Other links are omitted, but they are formed as /roles link.

Readonly admin:

{
    "items" : [
      {"name":"genesis.system.beat.period.ms","value":"1000"},
      ...
    ]
    "links": [
        {"href" : "/settings", "rel":"self", "type":"application/vnd.griddynamics.genesis.ConfigProperty+json"},
        {"href" : "/roles", "rel":"collection", "type" :
        "application/vnd.griddynamics.genesis.GenesisRole+json"},
        ...
    ]
}
Clone this wiki locally