Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 305 Bytes
# Page to query
PAGE_NUMBER="0"

# Number of elements per page
NUMBER_OF_SIGNALS_PER_PAGE="2"

# Sort order can be ASC or DESC
SORT_ORDER="ASC"

URL="$BACKEND_URL/api/1.0/signals?page=$PAGE_NUMBER&size=$NUMBER_OF_SIGNALS_PER_PAGE&sort=createdAt,$SORT_ORDER"

curl "${HEADERS[@]}" -X GET $URL