Branch

Branch schema

id integer? Branch ID - cannot be null in PUT/PATCH methods ๐Ÿ“ถ EQUALS,ENUM ๐Ÿ”ฝ NONE

_cloudId integer Cloud ID ๐Ÿ”ฝ NONE

created timestamp? Branch created date and time ๐Ÿ“ถ EQUALS, ENUM, NUMBER ๐Ÿ”ฝ BOTH

deleted boolean Branch deleted - cannot be true in POST/PUT/PATCH methods ๐Ÿ“ถ EQUALS, ENUM ๐Ÿ”ฝ BOTH

display boolean Branch displayed ๐Ÿ“ถ EQUALS, ENUM ๐Ÿ”ฝ BOTH

features long Branch features ๐Ÿ“ถ BITS ๐Ÿ”ฝ NONE

flags short Branch flags ๐Ÿ“ถ BITS ๐Ÿ”ฝ NONE

name string(100) Branch name ๐Ÿ”ฝ NONE

versionDate timestamp? Last modification date and time ๐Ÿ“ถ EQUALS, ENUM, NUMBER ๐Ÿ”ฝ BOTH

Branch response

JSON
JSON
{
"_cloudId": <integer>,
"created": <timestamp>,
"deleted": <boolean>,
"display": <boolean>,
"features": <long>,
"flags": <short>,
"id": <integer>,
"name": <string>,
"versionDate": <timestamp>
}

Branch flags

Bit

Name

0

SUBSTITUTING_BRANCH

1

REPLACED_BRANCH

8

HIDE_STOCK

9

HIDE_PRICES

10

FREE_LICENSE

get
Get branches

https://api.dotykacka.cz/v2/clouds/:cloudId/branches
Request
Response
Request
Path Parameters
cloudId
required
integer
โ€‹
Headers
If-None-Match
optional
string
ETag to return results only if changed.
Authorization
required
string
Bearer accessToken
Query Parameters
page
optional
integer
โ€‹
limit
optional
integer
โ€‹
filter
optional
string
โ€‹
sort
optional
string
โ€‹
Response
200: OK
โ€‹

get
Get branch

https://api.dotykacka.cz/v2/clouds/:cloudId/branches/:branchId
Request
Response
Request
Path Parameters
cloudId
required
integer
โ€‹
branchId
required
integer
โ€‹
Headers
If-None-Match
optional
string
Add ETag to return results only if changed.
Authorization
required
string
Bearer accessToken
Response
200: OK
โ€‹

See the General section for more information.