API custom htttp codes

In API instead of

dmx-on:success=""

how do i mention specific codes like 210. The api has very non standard codes that i want to handle differently based on integer eg want to handle 210 differently from 220 etc even though they are both success

Community Page
Last updated: