Core APIs
List
Sort
1 min
sorts a given json list based on a key present in all of the json objects direction can be asc/desc api definition { "tab" "examples", "url" "https //orca pathfix com/functions/list/sort", "name" "splice api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" {\n \\"spliced\\" \[\n {\n \\"user id\\" \\"bruce\@pathfix com\\"\n }\n ],\n \\"processed\\" \[\n {\n\t\t\t\t\\"user id\\" \\"paul\@pathfix com\\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\\"user id\\" \\"chang\@pathfix com\\"\n\t\t\t}\n ]\n }\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n\t\\"input\\" \[\r\n\t\t{\r\n\t\t\t\\"user id\\" \\"bruce\@pathfix com\\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\\"user id\\" \\"paul\@pathfix com\\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\\"user id\\" \\"chang\@pathfix com\\"\r\n\t\t}\r\n\t],\r\n\t\\"key\\" \\"user id\\",\r\n\t\\"direction\\" \\"asc\\"\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }