{ "id":"/axapi/v3/aam/authentication/relay/oauth/{name}", "type":"object", "node-type":"list", "title":"oauth", "partition-visibility":"shared", "description":"Oauth 2.0 Authentication Relay", "properties":{ "name":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify oauth authentication relay name", "optional":false }, "relay-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'access-token': Relay access token to backend; 'id-token': Relay JWT to backend; ", "enum":[ "access-token", "id-token" ], "optional":true }, "match-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not":"all", "description":"'equals': URI exactly matches the string; 'contains': URI string contains another sub string; 'starts-with': URI string starts with sub string; 'ends-with': URI string ends with sub string; ", "enum":[ "equals", "contains", "starts-with", "ends-with" ], "optional":true }, "all":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"match-type", "description":"All URI can be relay", "optional":true }, "match-uri":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'relay-req': relay-req; 'relay-succ': relay-succ; 'relay-fail': relay-fail; ", "enum":[ "all", "relay-req", "relay-succ", "relay-fail" ] } } } ] } }, "object-keys":[ "name" ], "required":[ "name" ] }