Core APIs
Text
Define Text
2 min
defines the text with information like length and number of words api definition { "tab" "examples", "url" "https //orca pathfix com/functions/text/define", "name" "define api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "h8j8aunvcjxslrjbbqb3b", "code" "{\n\t\\"output\\" {\n\t\t\\"length\\" 7,\n\t\t\\"words\\" 3\n\t}\n}", "language" "200" }, { "id" "6e98fa1jhkpnydkluphl6", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "h8j8aunvcjxslrjbbqb3b" }, "examples" { "languages" \[ { "id" "e fiq 89osidzevb22i06", "code" "{\r\n\t\\"input\\" \\"lorem ipsum dolor\\"\r\n}", "language" "json" } ], "selectedlanguageid" "e fiq 89osidzevb22i06" }, "description" "call the following api helps define any text", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } remarks sometimes you may want to run additional processing for a response e g get a word count for a response, the define api allows you to do just that