Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Every entity/relationship/property must have a metaproperty or set of meta properties, this will be enforced in champ.

POST

...

an

...

entity-

...

For

...

History

...

provide

...

meta-properties

...

in

...

the

...

payload


Method=POST
https://<host>:9522/services/champ-service/v1/objects

Retrieve

...

an

...

entity

...

across

...

its

...

lifespan


Method= GET, As default,meta=false

...

https://<host>:9522/services/champ-service/v1/objects/<key>&meta=true
(called when updating with network time)
https://<host>:9522/services/champ-service/v1/objects/<key>&meta=latest Retrieve
(called when updating with only db time)

Retrieve an object for a given database timestamp

 an object for a given database timestamp 
Method= GET, As default,meta=false
https://<host>:9522/services/champ-service/v1/objects/<key>?t-k=t1

https://<host>:9522/services/champ-service/v1/objects/<key>?t-k=t1&meta=true

Retrieve

...

an

...

object

...

for

...

a

...

given

...

network

...

timestamp

 
Method= GET, As default,meta=false
https://<host>:9522/services/champ-service/v1/objects/<key>?nt-k=t1

https://<host>:9522/services/champ-service/v1/objects/<key>?nt-k=t1&meta=true

UPDATE

...

an

...

object

 
Method=PUT - default=[patch=false] which means full replace
https://<host>:9522/services/champ-service/v1/objects/<key>

https://<host>:9522/services/champ-service/v1/objects/<key>?patch=true

DELETE

...

an

...

object

...

-

...

DELETE


Method=PUT - default=[patch=false] which means full replace
https://<host>:9522/services/champ-service/v1/objects/<key>

https://<host>:9522/services/champ-service/v1/objects/<key>?patch=true

POST

...

a

...

relationship

...

-

...

For

...

History

...

provide

...

meta-properties

...

in

...

the payload

Method: POST
 payload
URL: https://<host>:9522/services/champ-service/v1/relationships
Method: POST

Retrieve a relationship across its lifespan

Retrieve a relationship across its lifespan

Method= GET, As default,meta=false
URL: https://<host>:9522/services/champ-service/v1/relationships/<key>

URL: https://<host>:9522/services/champ-service/v1/relationships/<key>&meta=true

Retrieve

...

a

...

relationship

...

for

...

a

...

given

...

database

...

timestamp

 
Method= GET, As default,meta=false
URL: https://<host>:9522/services/champ-service/v1/relationships/<key>?t-k=t1

URL: https://<host>:9522/services/champ-service/v1/relationships/<key>?t-k=t1&meta=true

Retrieve

...

a

...

relationship

...

for

...

a

...

given

...

network

...

timestamp

 
Method= GET, As default,meta=false
URL: https://<host>:9522/services/champ-service/v1/relationships/<key>?nt-k=t1

URL: https://<host>:9522/services/champ-service/v1/relationships/<key>?nt-k=t1&meta=true

UPDATE

...

an

...

object

 
Method=PUT - default=[patch=false] which means full replace
URL: https://<host>:9522/services/champ-service/v1/relationships/<key>

URL: https://<host>:9522/services/champ-service/v1/relationships/<key>?patch=true

DELETE

...

an

...

object

...

-

...

DELETE


Method=PUT - default=[patch=false] which means full replace
URL: https://<host>:9522/services/champ-service/v1/relationships/<key>

...