Output Parameter

This parameter defines how the reflection is to be returned to the user. Values of "text", "json", "xml", "html", "clod" or "yaml" are allowed. If none is sent, "text" is assumed.

Example JSON Link:

https://toolbox.omegatower.com/resource/v1/reflections?output=json

Returns:

{
    "reflections": {
        "test": {},
        "data": {
            "hello": "Hello, User!"
        },
        "error": {},
        "links": {
            "documentation": "https://toolbox.omegatower.com/reflections",
            "openapi": "https://toolbox.omegatower.com/resource/v1/oas3.yaml",
            "swaggerhub": "https://app.swaggerhub.com/apis-docs/OTDP/Toolbox/1.1.0.12#/Reflections/Reflections/",
            "wadl": "https://toolbox.omegatower.com/resource/v1/v1.wadl"
        }
    }
}

Example XML Link:

https://toolbox.omegatower.com/resource/v1/reflections?output=xml

Returns:

<?xml version="1.0"?>
<reflections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://toolbox.omegatower.com/resource/v1/schemas/characters.xsd">
  <test/>
  <data>
    <hello>Hello, User!</content>
  </data>
  <error/>
  <links>
    <documentation>https://toolbox.omegatower.com/reflections</documentation>
    <openapi>https://toolbox.omegatower.com/resource/v1/oas3.yaml</specification>
    <swaggerhub>https://app.swaggerhub.com/apis-docs/OTDP/Toolbox/1.1.0.12#/Reflections/Reflections/</swaggerhub>
    <wadl>https://toolbox.omegatower.com/resource/v1/v1.wadl</wadl>
  </links>
</reflections>

Example CLOD Link:

https://toolbox.omegatower.com/resource/v1/reflections?output=clod

Returns:

clod|0~first|0|uuid|a2ec9af1-f54a-4437-8071-5a1d7e85ab56~1|0|reflections|~2|1|test|~3|1|data|~4|3|hello|Hello, User!~5|1|error|~6|1|links|~7|6|documentation|https://toolbox.omegatower.com/reflections~8|6|openapi|https://toolbox.omegatower.com/resource/v1/oas3.yaml~9|6|swaggerhub|https://app.swaggerhub.com/apis-docs/OTDP/Toolbox/1.0.0.11#/Reflections/Reflections/~10|6|wadl|https://toolbox.omegatower.com/resource/v1/v1.wadl~last|0|count|10~

Example YAML Link:

https://toolbox.omegatower.com/resource/v1/reflections?output=yaml

Returns:

%YAML 1.2
---
reflections:
  test:
  data:
    hello: "Hello, User!"
  error:
  links:
    documentation: "https://toolbox.omegatower.com/reflections"
    openapi: "https://toolbox.omegatower.com/resource/v1/oas3.yaml"
    swaggerhub: "https://app.swaggerhub.com/apis-docs/OTDP/Toolbox/1.0.0.11#/Reflections/Reflections/"
    wadl: "https://toolbox.omegatower.com/resource/v1/v1.wadl"
...