servers:
  - description: Sample server URL.
    url: https://example.com/localization
info:
  contact:
    email: devex@sas.com
    name: SAS Developers
    url: https://developer.sas.com
  description: >-
    The Localization service provides the ways to get, add or localize the

    message bundles. With the GET request, the Localization service returns

    the localized message bundle corresponding to the requested locale.
  license:
    name: SAS Institute Inc.
    url: https://support.sas.com/techsup/license/index.html
  termsOfService: https://www.sas.com/en_us/legal/copyright.html
  title: Localization
  version: "3"
openapi: 3.0.3
tags:
  - description: Contains the operations for the Root resource.
    name: Root
  - description: Contains the operations for message bundles.
    name: Message Bundles
paths:
  /:
    get:
      summary: Get an API object
      description: Returns the API object that contains a set of links for the supported endpoints.
      operationId: root
      tags:
        - Root
      parameters:
        - description: The response body type.
          in: header
          name: Accept
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/json:
              examples:
                example-1:
                  value:
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    version: 1
              schema:
                $ref: "#/components/schemas/api"
            application/vnd.sas.api+json:
              examples:
                example-1:
                  value:
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    version: 1
              schema:
                $ref: "#/components/schemas/api"
          headers:
            Content-Type:
              description: Represents the content type application/vnd.sas.api+json.
              schema:
                $ref: "#/components/schemas/api"
  /contents:
    get:
      summary: Get a set of namespaces
      description: Returns a set of namespaces</li><p> <table border="1"><tr align="left"><th>Accept</th><td>application/vnd.sas.collection+json</td></tr> <tr align="left"><th>Accept-Item</th><td>application/vnd.sas.localization.content.namespace+json</td></tr></table></p>
      operationId: getContentNamespaces
      tags:
        - Message Bundles
      parameters:
        - description: Query filter, supported field is `namespace`.
          in: query
          name: filter
          required: false
          schema:
            type: string
        - description: Optional sorting instruction, supported field is `namespace`.
          in: query
          name: sortBy
          required: false
          schema:
            default: namespace:ascending
            type: string
        - description: Offset of first item to retrieve (0-based). Defaults to 0.
          in: query
          name: start
          required: false
          schema:
            default: 0
            format: int32
            type: integer
        - description: Maximum number of items to retrieve. Defaults to 30.
          in: query
          name: limit
          required: false
          schema:
            default: 30
            format: int32
            type: integer
        - description: The application/vnd.sas.collection+json is used to get the list of namespaces.
          in: header
          name: Accept
          schema:
            type: string
            enum:
              - application/json
              - application/vnd.sas.collection+json
          required: true
        - description: Requested media type for collection of message bundles.
          in: header
          name: Accept-Item
          required: true
          schema:
            enum:
              - application/json
              - application/vnd.sas.localization.content.namespace+json
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/json:
              examples:
                example-1:
                  value:
                    accept: string
                    count: 0
                    items:
                      - links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        namespace: string
                        version: 1
                    limit: 0
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    name: string
                    start: 0
                    version: 1
              schema:
                $ref: "#/components/schemas/localizationContentNamespaceCollection"
            application/vnd.sas.collection+json:
              examples:
                example-1:
                  value:
                    accept: string
                    count: 0
                    items:
                      - links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        namespace: string
                        version: 1
                    limit: 0
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    name: string
                    start: 0
                    version: 1
              schema:
                $ref: "#/components/schemas/localizationContentNamespaceCollection"
          headers:
            Content-Type:
              description: Represents the content type application/vnd.sas.collection+json.
              schema:
                $ref: "#/components/schemas/localizationContentNamespaceCollection"
  "/contents/{namespace}":
    get:
      operationId: getContentTypeSummaries
      summary: Get a list of type summaries or message bundles
      tags:
        - Message Bundles
      description: >-
        Returns a list of type summaries or message bundles as properties files or a ZIP file.

        Retrieves one of five resources by specifying the http header Accept and

        Accept-Item. Only the second item requires the http header

        Accept-Language and returns a set of all message bundles that belong

        to the <i>namespace</i>.

        <table border="1"><tr><th>&nbsp;</th><th>resource</th><th>Accept http request header</th><th>Accept-Item http request header</th></tr>

        <tr><td align="center">1</td><td>a set of types summary</td><td>application/json or application/vnd.sas.collection+json</td><td>application/json or application/vnd.sas.localization.content.type+json</td></tr>

        <tr><td align="center">2</td><td>a set of message bundles</td><td>application/vnd.sas.collection+json</td><td>application/vnd.sas.localization.content+json</td></tr>

        <tr><td align="center">3</td><td>message bundles as the properties files</td><td>multipart/form-data</td><td>application/vnd.sas.properties.file</td></tr>

        <tr><td align="center">4</td><td>message bundles as a ZIP file using MIME</td><td>multipart/form-data</td><td>application/zip</td></tr>

        <tr><td align="center">5</td><td>message bundles as a ZIP file</td><td>application/zip</td><td>&nbsp;</td></tr>

        </table>

        <b>Retrieving (exporting) the message bundles as the properties files or a ZIP file.</b>

        <p>

        The properties file names are followed by the naming convention, which is described in the section "import/export the message bundles as properties files".

        In the http response, the properties files, the ZIP file, or the ZIP file that is in the MIME multipart/form-data format <a href="https://www.rfc-editor.org/rfc/rfc7578">RFC7578</a>.

        The character encoding of the properties files is utf-8.

        </p>

        <p>

        When the Accept http header is application/zip, the http response body is the content of the ZIP file.

        The Accept-Item http header must be specified when the Accept http header is application/json, application/vnd.sas.collection+json, or multipart/form-data. The available values are "application/zip" and "application/vnd.sas.properties.file".

        When the "application/zip" is specified for the Accept-Item http header, a ZIP file is returned  in a MIME part.

        When the "application/vnd.sas.properties.file" is specified, each properties file is returned in a MIME part.

        </p>

        <p>

        Using the <b>curl</b> command, a ZIP file can be downloaded.<br/>

        Here is an example.

        <pre>

        HOST=[Your cluster address]

        TOKEN=[Access token]

        curl -X GET -o archive.zip \

        -H "authorization:bearer $TOKEN" \

        -H "Accept: application/zip" \

        https://$HOST/localization/contents/entertainment

        </pre>

        The example downloads the archive.zip file that contains all the properties files in the

        namespace "entertainment".

        </p>
      parameters:
        - description: Query filter, supported fields are `type` and `id`.
          in: query
          name: filter
          required: false
          schema:
            type: string
        - description: Offset of first item to retrieve (0-based). Defaults to 0.
          in: query
          name: start
          required: false
          schema:
            default: 0
            format: int32
            type: integer
        - description: Maximum number of items to retrieve. Defaults to 30 for a set of type summary. 0 for the message bundles, means all the message bundles.
          in: query
          name: limit
          required: false
          schema:
            default: 30
            format: int32
            type: integer
        - description: >-
            The Accept-Language http header is required only when the Accept

            http header is "application/vnd.sas.collection+json" and the

            Accept-Item http header is

            "application/vnd.sas.localization.content+json".<br/>

            This API returns the [resolved bundles](#LocaleChain) for the local

            specified in the Accept-Language.<br/>

            The resolved bundles have the full set of message keys.

            The locale follows

            <a href="https://tools.ietf.org/html/bcp47">BCP-47</a>. The bundle

            id consists of three items

            &lt;service name&gt;-&lt;bundle type&gt;-&lt;bundle format&gt;.

            <br/>See the Terminology section for detail.
          in: header
          name: Accept-Language
          required: false
          schema:
            type: string
        - description: >-
            <ul>

            <li>application/vnd.sas.localization.content.type+json for a set of types summary

            <li>application/vnd.sas.localization.content+json for a set of
              message bundles. The Accept-Language is required in this case.
            <li>application/vnd.sas.properties.file or application/zip for message bundles as properties files or a ZIP file

            </ul>
          in: header
          name: Accept-Item
          required: false
          schema:
            enum:
              - application/json
              - application/vnd.sas.localization.content.type+json
              - application/vnd.sas.properties.file
              - application/zip
            type: string
        - description: >-
            <ul>

            <li>application/vnd.sas.collection+json for a set of types summary

            <li>multipart/form-data for message bundles as properties files or a ZIP file

            <li>application/json for a ZIP file

            </ul>
          in: header
          name: Accept
          required: true
          schema:
            type: string
            enum:
              - application/json
              - application/vnd.sas.sas.collection+json
              - multipart/form-data
      responses:
        "200":
          description: >-
            The request succeeded.

            <p>

            For the Example-1 of Media type "multipart/form-data", here are

            the http headers Content-Type and Content-Item-Type.

            <pre>Content-Type: multipart/form-data;boundary=aBoundaryString

            Content-Item-Type: application/vnd.sas.properties.file</pre>

            For the Example-2 of Media type "multipart/form-data",

            the http headers Content-Type and Content-Item-Type are below.

            <pre>Content-Type: multipart/form-data;boundary=aBoundaryString

            Content-Item-Type: application/zip</pre>

            </p>
          content:
            multipart/form-data:
              schema:
                type: object
                properties:
                  fileImage:
                    type: string
                    format: binary
              examples:
                Example-1:
                  value: >-
                    --aBoundaryString

                    Content-Disposition: form-data; name="file"; filename="myNamespace_default.properties"

                    Content-Type: text/plain


                    kitchen+knife+table+name=message text

                    kitchen+knife+table+label=message text

                    kitchen+knife+table+manufacture=message text

                    kitchen+knife+table+description=message text

                    kitchen+knife+clasp+name=message text

                    kitchen+knife+clasp+label=message text

                    kitchen+knife+clasp+manufacture=message text

                    kitchen+knife+clasp+description=message text

                    kitchen+knife+jackknife+name=message text

                    kitchen+knife+jackknife+label=message text

                    kitchen+knife+jackknife+manufacture=message text

                    kitchen+knife+jackknife+description=message text

                    --aBoundaryString

                    Content-Disposition: form-data; name="file"; filename="myNamespace_fr.properties"

                    Content-Type: text/plain


                    kitchen+knife+table+name=French message text

                    kitchen+knife+table+label=French message text

                    kitchen+knife+table+manufacture=French message text

                    kitchen+knife+table+description=French message text

                    kitchen+knife+clasp+name=French message text

                    kitchen+knife+clasp+label=French message text

                    kitchen+knife+clasp+manufacture=French message text

                    kitchen+knife+clasp+description=French message text

                    kitchen+knife+jackknife+name=French message text

                    kitchen+knife+jackknife+label=French message text

                    kitchen+knife+jackknife+manufacture=French message text

                    kitchen+knife+jackknife+description=French message text

                    --aBoundaryString--
                Example-2:
                  value: >-
                    --aBoundaryString

                    Content-Disposition: form-data; name="file"; filename="properties.zip"

                    Content-Type: application/zip

                    Content-Transfer-Encoding: base64


                    (ZIP file encoded in base64)

                    --aBoundaryString--
            application/zip:
              schema:
                type: object
                properties:
                  fileImage:
                    type: string
                    format: binary
              examples:
                Example-1:
                  value: (ZIP file content)
            application/json:
              examples:
                example-1:
                  value:
                    accept: string
                    count: 0
                    items:
                      - id: string
                        links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        namespace: string
                        version: 1
                    limit: 0
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    name: string
                    start: 0
                    version: 1
              schema:
                $ref: "#/components/schemas/localizationContentTypeCollection"
            application/vnd.sas.collection+json:
              examples:
                Example-1:
                  value:
                    accept: string
                    count: 0
                    items:
                      - links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        namespace: string
                        type: string
                        version: 1
                    limit: 0
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    name: string
                    start: 0
                    version: 1
                Example-2:
                  value:
                    "": string
                    items:
                      - id: string
                        language: string
                        links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        locale: string
                        messages:
                          property1: string
                          property2: string
                        region: string
                        script: string
                        version: 1
              schema:
                $ref: "#/components/schemas/localizationContentTypeCollection"
          headers:
            Content-Type:
              description: Represents the content type. multipart/form-data, application/zip, or application/vnd.sas.collection+json.
              schema:
                $ref: "#/components/schemas/localizationContentTypeCollection"
            Content-Item-Type:
              description: >-
                This http header is specified when the Content-Type is

                multipart/form-data or application/vnd.sas.collection+json.

                Representing the content item type. application/zip or

                application/vnd.sas.properties.file for multipart/form-data.
              schema:
                type: string
    head:
      summary: Check availability of a namespace
      description: Retrieves the headers and check the availability of a namespace
      operationId: headersForNamespace
      tags:
        - Message Bundles
      parameters:
        - description: Query filter, supported fields are `type` and `id`.
          in: query
          name: filter
          required: false
          schema:
            type: string
        - description: Offset of first item to retrieve (0-based). Defaults to 0.
          in: query
          name: start
          required: false
          schema:
            default: 0
            format: int32
            type: integer
        - description: Maximum number of items to retrieve. Defaults to 30 for a set of type summary. 0 for the message bundles, means all the message bundles.
          in: query
          name: limit
          required: false
          schema:
            default: 30
            format: int32
            type: integer
        - description: >-
            The Accept-Language http header is required only when the Accept

            http header is "application/vnd.sas.collection+json" and the

            Accept-Item http header is

            "application/vnd.sas.localization.content+json".<br/>

            This API returns the [resolved bundles](#LocaleChain) for the local

            specified in the Accept-Language.<br/>

            The resolved bundles have the full set of message keys.

            The locale follows

            <a href="https://tools.ietf.org/html/bcp47">BCP-47</a>. The bundle

            id consists of three items

            &lt;service name&gt;-&lt;bundle type&gt;-&lt;bundle format&gt;.

            <br/>See the Terminology section for detail.
          in: header
          name: Accept-Language
          required: false
          schema:
            type: string
        - description: >-
            <ul>

            <li>application/vnd.sas.localization.content.type+json for a set of types summary

            <li>application/vnd.sas.properties.file or application/zip for message bundles as properties files or a ZIP file

            </ul>
          in: header
          name: Accept-Item
          required: true
          schema:
            enum:
              - application/json
              - application/vnd.sas.localization.content.type+json
              - application/vnd.sas.properties.file
              - application/zip
            type: string
        - description: >-
            <ul>

            <li>application/vnd.sas.collection+json for a set of types summary

            <li>multipart/form-data for message bundles as properties files or a ZIP file

            </ul>
          in: header
          name: Accept
          required: true
          schema:
            type: string
            enum:
              - application/json
              - application/vnd.sas.sas.collection+json
              - multipart/form-data
              - application/zip
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              description: Represents the content type application/vnd.sas.collection+json.
              schema:
                type: string
    parameters:
      - description: The namespace of the message bundle.
        in: path
        name: namespace
        required: true
        schema:
          type: string
    post:
      summary: Create or update message bundles
      operationId: createContentFiles
      tags:
        - Message Bundles
      description: >-
        Retrieves multiple properties files in the http request and the API creates new message bundles or updates the existing message bundles.

        The properties files can be archived in a ZIP file. This API accepts the ZIP file.

        In the http request, the properties files or a ZIP file are written in the MIME multipart/form-data format <a href="https://www.rfc-editor.org/rfc/rfc7578">RFC7578</a>.

        <p>

        The properties file names have to follow the naming convention which is described in the section "import/export the message bundles as properties files".

        </p>

        This API returns a set of returned statuses. Its items that correspond to the properties files.

        <p>

        Using the <b>curl</b> command, a ZIP file can be posted.<br/>

        Here is an example.

        <pre>

        HOST=[Your cluster address]

        TOKEN=[Access token]

        curl -X POST  \

        -H "authorization:bearer $TOKEN" \

        -H "Accept: application/vnd.sas.collection+json" \

        -F "file=@archive.zip" \

        https://$HOST/localization/contents/entertainment

        </pre>

        The example uploads the archive.zip file that contains some properties files for the

        namespace "entertainment" and gets the results of the POST operation from the

        endpoint  in the standard output.

        </p>
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              examples:
                example-1:
                  value:
                    accept: string
                    count: 0
                    items:
                      - details:
                          - string
                        errorCode: 0
                        errors:
                          - {}
                        httpStatusCode: 0
                        id: string
                        links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        message: string
                        remediation: string
                        version: 0
                    limit: 0
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    name: string
                    start: 0
                    version: 1
              schema:
                $ref: "#/components/schemas/errorCollection"
            application/json:
              examples:
                example-1:
                  value:
                    accept: string
                    count: 0
                    items:
                      - details:
                          - string
                        errorCode: 0
                        errors:
                          - {}
                        httpStatusCode: 0
                        id: string
                        links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        message: string
                        remediation: string
                        version: 0
                    limit: 0
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    name: string
                    start: 0
                    version: 1
              schema:
                $ref: "#/components/schemas/errorCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              examples:
                example-1:
                  value:
                    accept: string
                    count: 0
                    items:
                      - details:
                          - string
                        errorCode: 0
                        errors:
                          - {}
                        httpStatusCode: 0
                        id: string
                        links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        message: string
                        remediation: string
                        version: 0
                    limit: 0
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    name: string
                    start: 0
                    version: 1
              schema:
                $ref: "#/components/schemas/localizationContentCollection"
            application/json:
              examples:
                example-1:
                  value:
                    accept: string
                    count: 0
                    items:
                      - details:
                          - string
                        errorCode: 0
                        errors:
                          - {}
                        httpStatusCode: 0
                        id: string
                        links:
                          - href: string
                            itemType: string
                            method: string
                            rel: string
                            responseItemType: string
                            responseType: string
                            title: string
                            type: string
                            uri: string
                        message: string
                        remediation: string
                        version: 0
                    limit: 0
                    links:
                      - href: string
                        itemType: string
                        method: string
                        rel: string
                        responseItemType: string
                        responseType: string
                        title: string
                        type: string
                        uri: string
                    name: string
                    start: 0
                    version: 1
              schema:
                $ref: "#/components/schemas/localizationContentCollection"
      parameters:
        - schema:
            type: string
          in: header
          name: Content-Type
          required: true
          description: "The Content-Type should be 'multipart/form-data' and the MIME boundary needs to be specified with the 'boundary='. Here''s an example. 'Content-Type: multipart/form-data; boundary=aBoundaryString'"
        - description: '"application/json" or "application/vnd.sas.collection+json" are accepted.'
          in: header
          name: Accept
          schema:
            type: string
          required: true
        - description: '"application/json" or "application/vnd.sas.error+json" are accepted.'
          in: header
          name: Accept-Item
          schema:
            type: string
          required: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: string
            examples:
              example-1:
                value: >-
                  --aBoundaryString

                  Content-Disposition: form-data; name="file"; filename="myNamespace_default.properties"

                  Content-Type: text/plain;charset=utf-8


                  --aBoundaryString

                  Content-Disposition: form-data; name="file"; filename="myNamespace_ja.properties"

                  Content-Type: text/plain;charset=utf-8

                  Content-Transfer-Encoding: quoted-printable


                  kitchen+knife+table+name=message text

                  kitchen+knife+table+label=message text

                  kitchen+knife+table+manufacture=message text

                  kitchen+knife+table+description=message text

                  kitchen+knife+clasp+name=message text

                  kitchen+knife+clasp+label=message text

                  kitchen+knife+clasp+manufacture=message text

                  kitchen+knife+clasp+description=message text

                  kitchen+knife+jackknife+name=message text

                  kitchen+knife+jackknife+label=message text

                  kitchen+knife+jackknife+manufacture=message text

                  kitchen+knife+jackknife+description=message text

                  --aBoundaryString

                  Content-Disposition: form-data; name="file"; filename="myNamespace--myType--myId_ja-JP.properties"

                  Content-Type: text/plain

                  Content-Transfer-Encoding: base64


                  dGl0bGU944K/44Kk44OI44OrCmF1dGhvcj3jgrnjg4bjgqPjg7zjg5Yg44OK44Kk44OICg==

                  --aBoundaryString--
              example-2:
                value: >-
                  --aBoundaryString

                  Content-Disposition: form-data; name="file"; filename="properties.zip"

                  Content-Type: application/zip

                  Content-Transfer-Encoding: base64


                  (ZIP file encoded in base64)

                  --aBoundaryString--
        description: >-
          The properties files must be written in UTF-8.

          <p>

          The http request body can contain multiple properties files or a ZIP file in the MIME multipart/form-data format <a href="https://www.rfc-editor.org/rfc/rfc7578">RFC7578</a>. The Content-Type must be `multipart/form-data` followed by the `boundary=` MIME parameter to specify the boundary of the MIME parts. Here is an example.

          <pre>Content-Type: multipart/form-data; boundary=aBoundaryString</pre>

          Each MIME part needs to have the MIME header `Content-Disposition`, which has parameters <i>name="file"</i> and <i>filename=</i>. <br/>

          Here are examples.

          <pre>Content-Disposition: form-data; name="file"; filename="myNamespace_default.properties"</pre>

          <pre>Content-Disposition: form-data; name="file"; filename="myProperties.zip"</pre>

          </p>

          <p>

          Each properties file is assumed to put in each MIME body. The content of each properties file can be encoded in the quoted-printable or base64.

          <br/>

          If the content is encoded in quoted-printable or base64, the MIME header "Content-Transfer-Encoding" needs to be specified to indicate the encoding.<br/>

          </p>

          <p>

          If a ZIP file is included in the MIME body, the MIME header "Content-Type" must indicate "application/zip". Also, the content of the ZIP file should be encoded in base64. The MIME header "Content-Transfer-Encoding" needs to be specified to indicate base64 as below.

          <pre>

          Content-Type: application/zip

          Content-Transfer-Encoding: base64

          </pre>

          </p>
    delete:
      summary: Delete message bundles in the specified namespace
      description: Deletes all of the message bundles for the specified by the namespace. You can choose the message bundles with the filter= query parameter.
      operationId: deleteContentFiles
      tags:
        - Message Bundles
      parameters:
        - description: The namespace of the message bundle.
          in: path
          name: namespace
          required: true
          schema:
            type: string
        - schema:
            type: string
          in: query
          name: filter
          description: Query filter, supported fields are `type` and `id`.
      responses:
        "204":
          description: The message bundles were deleted.
components:
  schemas:
    api:
      description: The list of links to top-level resources and operations available from the root of the API.
      properties:
        links:
          description: The API's top-level links.
          items:
            $ref: "#/components/schemas/link"
          type: array
        version:
          description: The version number of the API representation. This is version 2.
          minimum: 1
          type: integer
      required:
        - version
        - links
      title: API
      x-sas-media-type:
        name: application/vnd.sas.api
        version: 2
    error2:
      description: The representation of an error.
      properties:
        details:
          description: Messages that provide additional details about the cause of the error.
          items:
            type: string
          type: array
        errorCode:
          description: The numeric ID for the error.
          type: integer
        errors:
          description: Any additional errors that occurred.
          items:
            $ref: "#/components/schemas/error2"
          type: array
        httpStatusCode:
          description: The HTTP status code for the error.
          type: integer
        id:
          description: The string ID for the error.
          type: string
        links:
          description: The links that apply to the error.
          items:
            $ref: "#/components/schemas/link"
          type: array
        message:
          description: The message for the error.
          type: string
        remediation:
          description: A message that describes how to resolve the error.
          type: string
        version:
          description: The version number of the error representation. This representation is version 2.
          type: integer
      required:
        - httpStatusCode
        - version
      title: Error
      type: object
      x-sas-media-type:
        name: application/vnd.sas.error
        version: 2
    link:
      description: A link to a related operation or resource.
      properties:
        href:
          description: The full URL of the REST endpoint.
          type: string
        itemType:
          description: If this is a link to a container, `itemType` is the media type or link type for the items in the container.
          type: string
        method:
          description: The HTTP method to invoke this endpoint.
          type: string
        rel:
          description: The relationship of this URL to the object.
          type: string
        responseItemType:
          description: The media type or link type of the items in the response body for a `PUT`, `POST`, or `PATCH` operation.
          type: string
        responseType:
          description: The media type or link type of the response body for a `PUT`, `POST`, or `PATCH` operation.
          type: string
        title:
          description: The title of the link.
          type: string
        type:
          description: The media type consumed or produced.
          type: string
        uri:
          description: The relative URI of the REST endpoint.
          type: string
      required:
        - rel
      title: Link
    errorCollection:
      allOf:
        - properties:
            items:
              description: Array of error type.
              items:
                $ref: "#/components/schemas/error2"
              type: array
          type: object
      description: The data structure of the list of SAS Errors
    localizationContent:
      description: A message bundle.
      properties:
        id:
          description: The content ID.
          type: string
        links:
          description: A set of links.
          items:
            $ref: "#/components/schemas/link"
          type: array
        locale:
          description: The locale ID (BCP-47).
          type: string
        messages:
          additionalProperties:
            type: string
          description: A map of messages.
          items:
            type: string
          type: object
        namespace:
          description: The namespace ID.
          type: string
        type:
          description: The type ID.
          type: string
        version:
          description: This media type's schema version number.  This representation is version 1.
          format: int32
          type: integer
      type: object
      x-examples:
        example-1:
          id: string
          links:
            - href: string
              itemType: string
              method: string
              rel: string
              responseItemType: string
              responseType: string
              title: string
              type: string
              uri: string
          locale: string
          messages:
            property1: string
            property2: string
          namespace: string
          type: string
          version: -2147483648
    localizationContentCollection:
      allOf:
        - properties:
            items:
              description: Array of message bundle.
              items:
                $ref: "#/components/schemas/localizationContent"
              type: array
          type: object
      description: Array of message bundles
      x-examples:
        example-1:
          accept: string
          count: 0
          items:
            - id: string
              links:
                - href: string
                  itemType: string
                  method: string
                  rel: string
                  responseItemType: string
                  responseType: string
                  title: string
                  type: string
                  uri: string
              locale: string
              namespace: string
              type: string
              messages:
                property1: string
                property2: string
              version: 1
          limit: 0
          links:
            - href: string
              itemType: string
              method: string
              rel: string
              responseItemType: string
              responseType: string
              title: string
              type: string
              uri: string
          name: string
          start: 0
          version: 1
    localizationContentNamespace:
      description: A namespace.
      properties:
        links:
          description: A set of links
          items:
            $ref: "#/components/schemas/link"
          type: array
        namespace:
          type: string
        version:
          description: This media type's schema version number. This representation is version 1.
          format: int32
          type: integer
      type: object
      x-examples:
        example-1:
          links:
            - href: string
              itemType: string
              method: string
              rel: string
              responseItemType: string
              responseType: string
              title: string
              type: string
              uri: string
          namespace: string
          version: -2147483648
    localizationContentNamespaceCollection:
      allOf:
        - properties:
            items:
              description: Array of namespace type.
              items:
                $ref: "#/components/schemas/localizationContentNamespace"
              type: array
          type: object
      description: Array of message bundle namespaces.
      x-examples:
        example-1:
          accept: string
          count: 0
          items:
            - links:
                - href: string
                  itemType: string
                  method: string
                  rel: string
                  responseItemType: string
                  responseType: string
                  title: string
                  type: string
                  uri: string
              namespace: string
              version: 1
          limit: 0
          links:
            - href: string
              itemType: string
              method: string
              rel: string
              responseItemType: string
              responseType: string
              title: string
              type: string
              uri: string
          name: string
          start: 0
          version: 1
    localizationContentSummary:
      description: The summary of a message bundle.
      properties:
        id:
          description: The content ID.
          type: string
        links:
          description: A set of links.
          items:
            $ref: "#/components/schemas/link"
          type: array
        locale:
          description: The locale of the bundle summary.
          type: string
        namespace:
          description: The namespace ID.
          type: string
        type:
          description: The type ID.
          type: string
        version:
          description: This media type's schema version number.  This representation is version 1.
          format: int32
          type: integer
      type: object
      x-examples:
        example-1:
          id: string
          links:
            - href: string
              itemType: string
              method: string
              rel: string
              responseItemType: string
              responseType: string
              title: string
              type: string
              uri: string
          locale: string
          namespace: string
          type: string
          version: -2147483648
    localizationContentSummaryCollection:
      allOf:
        - properties:
            items:
              description: Array of message bundle summary.
              items:
                $ref: "#/components/schemas/localizationContentSummary"
              type: array
          type: object
      description: Array of message bundle summaries.
      x-examples:
        example-1:
          accept: string
          count: 0
          items:
            - id: string
              links:
                - href: string
                  itemType: string
                  method: string
                  rel: string
                  responseItemType: string
                  responseType: string
                  title: string
                  type: string
                  uri: string
              locale: string
              namespace: string
              type: string
              version: 1
          limit: 0
          links:
            - href: string
              itemType: string
              method: string
              rel: string
              responseItemType: string
              responseType: string
              title: string
              type: string
              uri: string
          name: string
          start: 0
          version: 1
    localizationContentType:
      description: A summary of a content type.
      properties:
        links:
          description: A set of links.
          items:
            $ref: "#/components/schemas/link"
          type: array
        namespace:
          description: The content namespace ID.
          type: string
        type:
          type: string
        version:
          description: This media type's schema version number.  This representation is version 1.
          format: int32
          type: integer
      type: object
      x-examples:
        example-1:
          links:
            - href: string
              itemType: string
              method: string
              rel: string
              responseItemType: string
              responseType: string
              title: string
              type: string
              uri: string
          namespace: string
          type: string
          version: -2147483648
    localizationContentTypeCollection:
      allOf:
        - properties:
            items:
              description: Array of type.
              items:
                $ref: "#/components/schemas/localizationContentType"
              type: array
          type: object
      description: Array of message bundle types.
      x-examples:
        example-1:
          accept: string
          count: 0
          items:
            - links:
                - href: string
                  itemType: string
                  method: string
                  rel: string
                  responseItemType: string
                  responseType: string
                  title: string
                  type: string
                  uri: string
              namespace: string
              type: string
              version: 1
          limit: 0
          links:
            - href: string
              itemType: string
              method: string
              rel: string
              responseItemType: string
              responseType: string
              title: string
              type: string
              uri: string
          name: string
          start: 0
          version: 1
