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

{
    "_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 branches

GET https://api.dotykacka.cz/v2/clouds/:cloudId/branches

Path Parameters

NameTypeDescription

cloudId*

integer

Query Parameters

NameTypeDescription

page

integer

limit

integer

filter

string

sort

string

Headers

NameTypeDescription

If-None-Match

string

ETag to return results only if changed.

Authorization*

string

Bearer accessToken

Get branch

GET https://api.dotykacka.cz/v2/clouds/:cloudId/branches/:branchId

Path Parameters

NameTypeDescription

cloudId*

integer

branchId*

integer

Headers

NameTypeDescription

If-None-Match

string

Add ETag to return results only if changed.

Authorization*

string

Bearer accessToken

See the General section for more information.

Last updated