diff --git a/.github/workflows/api_refs.yaml b/.github/workflows/api_refs.yaml index 424f816818..476868ba94 100644 --- a/.github/workflows/api_refs.yaml +++ b/.github/workflows/api_refs.yaml @@ -20,6 +20,11 @@ jobs: version="${{ inputs.version }}" base_branch="$(echo $version | sed 's/v\(.*\..*\)\..*/\1/')" work_branch="api_refs_$version" + #TMP + if [[ '5.0' == $base_branch ]]; then + base_branch='5.0-api-refs' + fi + #/TMP echo "version=$version" >> "$GITHUB_OUTPUT" echo "base_branch=$base_branch" >> "$GITHUB_OUTPUT" echo "work_branch=$work_branch" >> "$GITHUB_OUTPUT" @@ -34,25 +39,40 @@ jobs: with: coverage: none + - name: Set up node + uses: actions/setup-node@v4 + - name: Install Redocly CLI + run: npm install -g @redocly/cli@latest + - name: Build API Refs env: SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }} SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }} + BASE_BRANCH: ${{ steps.version_and_branches.outputs.base_branch }} run: | composer config --global http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN - #TODO: On 5.0, update tool to handle both PHP & REST APIs - tools/php_api_ref/phpdoc.sh - # Fix escape character: - perl -pi -e 's/\e/\\E/g' tools/php_api_ref/.phpdoc/template/package-edition-map.twig + if [[ '4.6' != $BASE_BRANCH ]]; then + tools/api_refs/api_refs.sh + # Fix escape character: + perl -pi -e 's/\e/\\E/g' tools/api_refs/.phpdoc/template/package-edition-map.twig + else + tools/php_api_ref/phpdoc.sh + # Fix escape character: + perl -pi -e 's/\e/\\E/g' tools/api_refs/php_api_ref/template/package-edition-map.twig + cd tools/raml2html/; composer install; cd -; + php tools/raml2html/raml2html.php build --non-standard-http-methods=COPY,MOVE,PUBLISH,SWAP -t default -o docs/api/rest_api/rest_api_reference/ docs/api/rest_api/rest_api_reference/input/ibexa.raml + fi - name: Commit + env: + BASE_BRANCH: ${{ steps.version_and_branches.outputs.base_branch }} run: | git config --global user.name "${GITHUB_ACTOR}" git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git add docs/api/php_api/php_api_reference/ tools/php_api_ref/.phpdoc/template/package-edition-map.twig + git add docs/api/php_api/php_api_reference/ tools/api_refs/.phpdoc/template/package-edition-map.twig git commit -m "PHP API Ref HTML" - #TODO: git add doc/api/rest_api/rest_api_reference/rest_api_reference.html - #TODO: git commit -m "REST API Ref HTML" + git add doc/api/rest_api/rest_api_reference/rest_api_reference.html + git commit -m "REST API Ref HTML" - name: Create Pull Request uses: peter-evans/create-pull-request@v7 diff --git a/docs/api/rest_api/rest_api_reference/assets/css/bootstrap-toc.min.css b/docs/api/rest_api/rest_api_reference/assets/css/bootstrap-toc.min.css deleted file mode 100644 index 3c6210780b..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/css/bootstrap-toc.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/) - * Copyright 2015 Aidan Feldman - * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */nav[data-toggle=toc] .nav>li>a{display:block;padding:4px 20px;font-size:13px;font-weight:500;color:#767676}nav[data-toggle=toc] .nav>li>a:focus,nav[data-toggle=toc] .nav>li>a:hover{padding-left:19px;color:#563d7c;text-decoration:none;background-color:transparent;border-left:1px solid #563d7c}nav[data-toggle=toc] .nav-link.active,nav[data-toggle=toc] .nav-link.active:focus,nav[data-toggle=toc] .nav-link.active:hover{padding-left:18px;font-weight:700;color:#563d7c;background-color:transparent;border-left:2px solid #563d7c}nav[data-toggle=toc] .nav-link+ul{display:none;padding-bottom:10px}nav[data-toggle=toc] .nav .nav>li>a{padding-top:1px;padding-bottom:1px;padding-left:30px;font-size:12px;font-weight:400}nav[data-toggle=toc] .nav .nav>li>a:focus,nav[data-toggle=toc] .nav .nav>li>a:hover{padding-left:29px}nav[data-toggle=toc] .nav .nav>li>.active,nav[data-toggle=toc] .nav .nav>li>.active:focus,nav[data-toggle=toc] .nav .nav>li>.active:hover{padding-left:28px;font-weight:500}nav[data-toggle=toc] .nav-link.active+ul{display:block} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/assets/css/bootstrap.min.css b/docs/api/rest_api/rest_api_reference/assets/css/bootstrap.min.css deleted file mode 100644 index 613d28aab8..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/css/bootstrap.min.css +++ /dev/null @@ -1,6 +0,0 @@ -/*! - * Bootstrap v4.4.1 (https://getbootstrap.com/) - * Copyright 2011-2019 The Bootstrap Authors - * Copyright 2011-2019 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]){color:inherit;text-decoration:none}a:not([href]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer::before{content:"\2014\00A0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered{border:1px solid #dee2e6}.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover{background-color:#9fcdff}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover{background-color:#c8cbcf}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover{background-color:#b1dfbb}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover{background-color:#abdde5}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover{background-color:#ffe8a1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover{background-color:#f1b0b7}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover{background-color:#ececf6}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover{background-color:#b9bbbe}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control::-webkit-input-placeholder{color:#6c757d;opacity:1}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#0069d9;border-color:#0062cc;box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{color:#fff;background-color:#5a6268;border-color:#545b62;box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#218838;border-color:#1e7e34;box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#138496;border-color:#117a8b;box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{color:#212529;background-color:#e0a800;border-color:#d39e00;box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c82333;border-color:#bd2130;box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{color:#212529;background-color:#e2e6ea;border-color:#dae0e5;box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{color:#fff;background-color:#23272b;border-color:#1d2124;box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3;text-decoration:underline}.btn-link.focus,.btn-link:focus{text-decoration:underline;box-shadow:none}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#f8f9fa}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#6c757d;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn:hover,.btn-group>.btn:hover{z-index:1}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus{z-index:1}.btn-toolbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;-ms-flex:1 1 0%;flex:1 1 0%;min-width:0;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-append,.input-group-prepend{display:-ms-flexbox;display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;display:block;min-height:1.5rem;padding-left:1.5rem}.custom-control-inline{display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label::before,.custom-control-input[disabled]~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:"";background-color:#fff;border:#adb5bd solid 1px}.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label::before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label::after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:1.4rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.5rem}.custom-range::-ms-fill-lower{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px;background-color:#dee2e6;border-radius:1rem}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item{-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:.5rem 1rem}.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:no-repeat center center;background-size:100% 100%}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.5);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group:first-child .list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-body{-ms-flex:1 1 auto;flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-header+.list-group .list-group-item:first-child{border-top:0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img,.card-img-bottom,.card-img-top{-ms-flex-negative:0;flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{-ms-flex:1 0 0%;flex:1 0 0%;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@-webkit-keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.media-body{-ms-flex:1;flex:1}.list-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal .list-group-item.active{margin-top:0}.list-group-horizontal .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm .list-group-item.active{margin-top:0}.list-group-horizontal-sm .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md .list-group-item.active{margin-top:0}.list-group-horizontal-md .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg .list-group-item.active{margin-top:0}.list-group-horizontal-lg .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl .list-group-item.active{margin-top:0}.list-group-horizontal-xl .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush .list-group-item{border-right-width:0;border-left-width:0;border-radius:0}.list-group-flush .list-group-item:first-child{border-top-width:0}.list-group-flush:last-child .list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}a.close.disabled{pointer-events:none}.toast{max-width:350px;overflow:hidden;font-size:.875rem;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal.modal-static .modal-dialog{-webkit-transform:scale(1.02);transform:scale(1.02)}.modal-dialog-scrollable{display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);content:""}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .close{padding:1rem 1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem}.modal-footer{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow::before,.bs-tooltip-top .arrow::before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow::before,.bs-tooltip-bottom .arrow::before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow::after,.popover .arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){-webkit-transform:translateX(100%);transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50%/100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-right{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix::after{display:block;clear:both;content:""}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive::before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.857143%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-sm-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-sm-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-md-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-md-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-lg-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-lg-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-xl-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-xl-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;overflow-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px!important}.container{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}} diff --git a/docs/api/rest_api/rest_api_reference/assets/css/github-gist.css b/docs/api/rest_api/rest_api_reference/assets/css/github-gist.css deleted file mode 100644 index 18240c8882..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/css/github-gist.css +++ /dev/null @@ -1,79 +0,0 @@ -/** - * GitHub Gist Theme - * Author : Anthony Attard - https://github.com/AnthonyAttard - * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro - */ - -.hljs { - display: block; - background: white; - padding: 0.5em; - color: #333333; - overflow-x: auto; -} - -.hljs-comment, -.hljs-meta { - color: #969896; -} - -.hljs-variable, -.hljs-template-variable, -.hljs-strong, -.hljs-emphasis, -.hljs-quote { - color: #df5000; -} - -.hljs-keyword, -.hljs-selector-tag, -.hljs-type { - color: #d73a49; -} - -.hljs-literal, -.hljs-symbol, -.hljs-bullet, -.hljs-attribute { - color: #0086b3; -} - -.hljs-section, -.hljs-name { - color: #63a35c; -} - -.hljs-tag { - color: #333333; -} - -.hljs-title, -.hljs-attr, -.hljs-selector-id, -.hljs-selector-class, -.hljs-selector-attr, -.hljs-selector-pseudo { - color: #6f42c1; -} - -.hljs-addition { - color: #55a532; - background-color: #eaffea; -} - -.hljs-deletion { - color: #bd2c00; - background-color: #ffecec; -} - -.hljs-link { - text-decoration: underline; -} - -.hljs-number { - color: #005cc5; -} - -.hljs-string { - color: #032f62; -} diff --git a/docs/api/rest_api/rest_api_reference/assets/css/style.css b/docs/api/rest_api/rest_api_reference/assets/css/style.css deleted file mode 100644 index ae5f2e397b..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/css/style.css +++ /dev/null @@ -1,388 +0,0 @@ -body { - font-family: "Maven Pro"; - position: relative; -} -::-webkit-scrollbar { - width: 5px; - height: 5px; -} -::-webkit-scrollbar-track { - background: #dee2e6; -} -::-webkit-scrollbar-thumb { - background: #c0c0c0; -} -::-webkit-scrollbar-thumb:hover { - background: #f15a22; -} -.heading:hover .heading__link { - display: inline-block; - color: #00000042; - text-decoration: none; -} -.heading:hover .heading__link:hover { - color: #f15a22; -} -.heading__link { - display: none; - text-decoration: none; -} -.header { - height: 3rem; -} -.nav-brand { - margin-top: 5px; -} -.nav-brand img { - width: 100%; - max-width: 40px; - padding-top: .9rem; -} -.page-title { - margin-top: 3px; - margin-left: 12px; - font-size: 20px; - line-height: 33px; - font-weight: 600; -} -.dropdown--menu { - z-index: 1031; - position: fixed; - top: 0; - left: 50px; -} -.sidebar-menu, .input--search { - background-color: #fcfcfc; -} -.sidebar__header { - position: absolute; - top: 0; - left: 0; - right: 0; - z-index: 3; - background-color: transparent; - padding-left: 15px; -} -.icon { - cursor: pointer; -} -.icon--search { - position: absolute; - left: 15px; -} -.icon--copy-clipboard { - position: absolute; - top: 10px; - right: 15px; - opacity: 0.1; -} -.example:hover .icon--copy-clipboard, -.tab-pane:hover .icon--copy-clipboard { - color: #f15a22!important; - opacity: 1; -} -.input--search { - padding-left: 30px; -} -#search-results { - position: fixed; - top: 0; - right: 0; - z-index: 1032; - background-color: #f9f9fa; - height: 100%; - overflow-y: scroll; - overflow-x: hidden; -} -.search-result__close { - cursor: pointer; -} -.search__link { - color: #212529; -} -.search__link:hover { - text-decoration: none; - background-color: #f9f9fa; - opacity: 1; -} -.sidebar-menu { - position: fixed; - left: 0; - top: 0; - height: 100%; - z-index: 1; - margin-top: 3rem; - padding-bottom: 3rem; -} -.sidebar__nav { - overflow-y: scroll; - height: 100%; - width: 100%; - position: absolute; - top: 43px; - left: 0; - align-items: start; -} -.sidebar__nav > .navbar-nav { - padding-bottom: 100px; -} -.navbar-nav { - width: 100%; -} -.sidebar__nav .nav .nav { - padding-left: 1rem; -} -.sidebar__nav .nav > li > .nav-link, -.sidebar__nav .nav .nav > li > .nav-link { - padding: .5rem 0; - color: #2b2b2b; - font-size: 15px; - display: flex; -} -.sidebar__nav .nav > li > .nav-link.active, -.sidebar__nav .nav .nav > li > .nav-link.active { - color: #f15a22; - border-left: none; - padding-left: 0; -} -.nav__link--toggler { - font-size: 16px!important; - padding-top: 4px; - padding-left: 5px; -} -.nav-link.active .nav__link--toggler, .toggler--rotated { - padding-top: 3px; - padding-right: 5px; -} -.sidebar__nav .nav > li > .nav-link.active .nav__link--toggler, -.toggler--rotated { - transform: rotate(180deg); -} -.sidebar__nav .nav > li > .nav-link.active .nav__link--toggler.toggler--rotated-0, -.toggler--rotated-0 { - transform: rotate(0deg); -} -.sidebar__nav .nav > li > .nav-link:hover, -.sidebar__nav .nav .nav > li > .nav-link:hover, -.sidebar__nav .nav > li > .nav-link:focus, -.sidebar__nav .nav .nav > li > .nav-link:focus { - padding-left: 0; - border-left: none; - color: #f15a22; -} -.sidebar__nav .nav .nav > li > .nav-link.active:hover { - padding-left: 0; -} -.menu-list-item__link.current { - color: darkred; -} -.text-orange { - color: #f15a22!important; -} -.text-ocean-blue { - color: #2a9dc7; -} -h2 { - font-size: 34px; -} -h3 { - font-size: 28px; -} -h4 { - font-size: 22px; -} -h5 { - font-size: 20px; -} -h6 { - font-size: 18px; -} -.text-black { - color: #212529; -} -.text-gray { - color: #63605d; -} -.font-weight-medium { - font-weight: 600; -} -.table-responsive { - box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12), 0 3px 1px -2px rgba(0,0,0,.2); -} -.table { - max-width: 100%; - border-radius: .2rem; - margin-bottom: 0; -} -.table th { - background-color: #f9f9fa; - color: #808080; - vertical-align: top; -} -.table td, .table th { - padding: .25rem; -} -.table:not([class]) td { - border-top: .1rem solid rgba(0,0,0,.07); - vertical-align: top; -} -code { - background-color: #ededed; - padding: 1px 0px; - margin: 0; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125); - color: #2b2b2b; - font-family: monospace; - font-size: 14px; -} -.badge { - text-transform: uppercase; - font-weight: 700; - align-items: center; - justify-content: center; - min-width: 85px; - color: #ffffff; -} -.badge--sm { - min-width: auto; -} -.badge i { - margin-right: 0.2rem; - font-size: 1rem; -} -.badge--get { - background-color: #2196f3!important; -} - -.badge--post { - background-color: #4caf50!important; -} - -.badge--delete { - background-color: #bd2c00!important; -} - -.badge--put { - background-color: #ff9800!important; -} - -.badge--patch { - background-color: #673ab7!important; -} - -.badge--head { - background-color: #222222!important; -} - -.badge--options { - background-color: #616161!important; -} -.badge--copy { - background-color: #26a69a!important; -} -.background--gray { - background-color: #fcfcfc; -} -.badge--publish { - background-color: #df5000; -} -.badge--swap { - background-color: #005cc5; -} -.badge--move { - background-color: #032f62; -} -.example { - border-radius: 10px; -} -.example__code-wrapper { - max-height: 200px; - overflow: hidden; -} -.btn--example-view-more { - position: absolute; - bottom: 15px; - left: 0; - right: 0; - color: #2b2b2b; - background-color: #ededed; - margin: 0 auto; - width: 120px; -} -.btn--view-more:hover { - background-color: #dee2e6; -} -.examples code { - background-color: transparent; - box-shadow: none; -} -.hljs-section, -.hljs-name { - color: #0086b3; -} -.highlight { - background-color: #ededed; -} -.sticky { - position: -webkit-sticky; - position: sticky; - top: 48px; - background-color: #ffffff; - z-index: 1030; -} -.sticky:before, -.sticky:after { - content: ""; - display: table; -} -h5[data-field="name"]:before, -.response__code:before { - display: block; - margin-top: -6.9rem; - padding-top: 7.9rem; - content: ""; -} -.search-container { - margin-bottom: 80px; -} -.modal-title { - font-size: 20px; -} - -@media (max-width: 991px) { - .sidebar__header { - padding-right: 15px; - } - .sidebar-menu { - display: none; - z-index: 1032; - } - .sticky__body { - overflow-x: scroll; - } - #search-results { - top: 100px; - } - .hljs { - overflow-x: scroll; - } -} - -@media (min-width: 992px) { - .navbar-toggler-icon { - display: none; - } - .page-wrapper { - margin-left: 16.666667%; - } -} - -.mobile-menu-expanded .navbar-toggler-icon { - transform: rotate(90deg); -} -.mobile-menu-expanded .sidebar-menu { - display: block; -} -.navbar-toggler-icon { - background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); -} diff --git a/docs/api/rest_api/rest_api_reference/assets/js/bootstrap-toc.js b/docs/api/rest_api/rest_api_reference/assets/js/bootstrap-toc.js deleted file mode 100644 index 409632acd9..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/js/bootstrap-toc.js +++ /dev/null @@ -1,178 +0,0 @@ -/*! - * Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/) - * Copyright 2015 Aidan Feldman - * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ -(function($) { - "use strict"; - - window.Toc = { - helpers: { - // return all matching elements in the set, or their descendants - findOrFilter: function($el, selector) { - // http://danielnouri.org/notes/2011/03/14/a-jquery-find-that-also-finds-the-root-element/ - // http://stackoverflow.com/a/12731439/358804 - var $descendants = $el.find(selector); - return $el - .filter(selector) - .add($descendants) - .filter(":not([data-toc-skip])"); - }, - - generateUniqueIdBase: function(el) { - var text = $(el).text(); - - // adapted from - // https://github.com/bryanbraun/anchorjs/blob/65fede08d0e4a705f72f1e7e6284f643d5ad3cf3/anchor.js#L237-L257 - - // Regex for finding the non-safe URL characters (many need escaping): & +$,:;=?@"#{}|^~[`%!'<>]./()*\ (newlines, tabs, backspace, & vertical tabs) - var nonsafeChars = /[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\\n\t\b\v]/g, - urlText; - - // Note: we trim hyphens after truncating because truncating can cause dangling hyphens. - // Example string: // " ⚡⚡ Don't forget: URL fragments should be i18n-friendly, hyphenated, short, and clean." - urlText = text - .trim() // "⚡⚡ Don't forget: URL fragments should be i18n-friendly, hyphenated, short, and clean." - .replace(/\'/gi, "") // "⚡⚡ Dont forget: URL fragments should be i18n-friendly, hyphenated, short, and clean." - .replace(nonsafeChars, "-") // "⚡⚡-Dont-forget--URL-fragments-should-be-i18n-friendly--hyphenated--short--and-clean-" - .replace(/-{2,}/g, "-") // "⚡⚡-Dont-forget-URL-fragments-should-be-i18n-friendly-hyphenated-short-and-clean-" - .substring(0, 64) // "⚡⚡-Dont-forget-URL-fragments-should-be-i18n-friendly-hyphenated-" - .replace(/^-+|-+$/gm, "") // "⚡⚡-Dont-forget-URL-fragments-should-be-i18n-friendly-hyphenated" - .toLowerCase(); // "⚡⚡-dont-forget-url-fragments-should-be-i18n-friendly-hyphenated" - - return urlText || el.tagName.toLowerCase(); - }, - - generateUniqueId: function(el) { - var anchorBase = this.generateUniqueIdBase(el); - for (var i = 0; ; i++) { - var anchor = anchorBase; - if (i > 0) { - // add suffix - anchor += "-" + i; - } - // check if ID already exists - if (!document.getElementById(anchor)) { - return anchor; - } - } - }, - - generateAnchor: function(el) { - if (el.id) { - return el.id; - } else { - var anchor = this.generateUniqueId(el); - el.id = anchor; - return anchor; - } - }, - - createNavList: function() { - return $(''); - }, - - createChildNavList: function($parent) { - var $childList = this.createNavList(); - $parent.append($childList); - return $childList; - }, - generateNavEl: function(anchor, text) { - var $a = $(''); - $a.attr("href", "#" + anchor); - $a.text(text.replace(/[.¶]/g, '')); - var $li = $("
  • "); - $li.append($a); - return $li; - }, - - generateNavItem: function(headingEl) { - var anchor = this.generateAnchor(headingEl); - var $heading = $(headingEl); - var text = $heading.data("toc-text") || $heading.text(); - return this.generateNavEl(anchor, text); - }, - - // Find the first heading level (`

    `, then `

    `, etc.) that has more than one element. Defaults to 1 (for `

    `). - getTopLevel: function($scope) { - for (var i = 1; i <= 6; i++) { - var $headings = this.findOrFilter($scope, "h" + i); - if ($headings.length > 1) { - return i; - } - } - - return 1; - }, - - // returns the elements for the top level, and the next below it - getHeadings: function($scope, topLevel) { - var topSelector = "h" + topLevel; - var secondaryLevel = 5; - var secondarySelector = "h" + secondaryLevel; - - return this.findOrFilter($scope, topSelector + "," + secondarySelector); - }, - - getNavLevel: function(el) { - return parseInt(el.tagName.charAt(1), 10); - }, - - populateNav: function($topContext, topLevel, $headings) { - var $context = $topContext; - var $prevNav; - - var helpers = this; - $headings.each(function(i, el) { - var $newNav = helpers.generateNavItem(el); - var navLevel = helpers.getNavLevel(el); - - // determine the proper $context - if (navLevel === topLevel) { - // use top level - $context = $topContext; - } else if ($prevNav && $context === $topContext) { - // create a new level of the tree and switch to it - $context = helpers.createChildNavList($prevNav); - } // else use the current $context - - $context.append($newNav); - - $prevNav = $newNav; - }); - }, - - parseOps: function(arg) { - var opts; - if (arg.jquery) { - opts = { - $nav: arg - }; - } else { - opts = arg; - } - opts.$scope = opts.$scope || $(document.body); - return opts; - } - }, - - // accepts a jQuery object, or an options object - init: function(opts) { - opts = this.helpers.parseOps(opts); - - // ensure that the data attribute is in place for styling - opts.$nav.attr("data-toggle", "toc"); - - var $topContext = this.helpers.createChildNavList(opts.$nav); - var topLevel = this.helpers.getTopLevel(opts.$scope); - var $headings = this.helpers.getHeadings(opts.$scope, topLevel); - this.helpers.populateNav($topContext, topLevel, $headings); - } - }; - - $(function() { - $('nav[data-toggle="toc"]').each(function(i, el) { - var $nav = $(el); - Toc.init($nav); - }); - }); -})(jQuery); diff --git a/docs/api/rest_api/rest_api_reference/assets/js/bootstrap.bundle.min.js b/docs/api/rest_api/rest_api_reference/assets/js/bootstrap.bundle.min.js deleted file mode 100644 index 95516469ad..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/js/bootstrap.bundle.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! - * Bootstrap v4.4.1 (https://getbootstrap.com/) - * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e=e||self).bootstrap={},e.jQuery)}(this,function(e,p){"use strict";function i(e,t){for(var n=0;nthis._items.length-1||e<0))if(this._isSliding)p(this._element).one(V.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=n=i.clientWidth&&n>=i.clientHeight}),u=0l[e]&&!i.escapeWithReference&&(n=Math.min(h[t],l[e]-("right"===e?h.width:h.height))),Ye({},t,n)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";h=ze({},h,u[t](e))}),e.offsets.popper=h,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]r(i[a])&&(e.offsets.popper[l]=r(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!gt(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",u=h.toLowerCase(),f=l?"left":"top",d=l?"bottom":"right",p=nt(i)[c];a[d]-ps[d]&&(e.offsets.popper[u]+=a[u]+p-s[d]),e.offsets.popper=Xe(e.offsets.popper);var m=a[u]+a[c]/2-p/2,g=ke(e.instance.popper),_=parseFloat(g["margin"+h],10),v=parseFloat(g["border"+h+"Width"],10),y=m-e.offsets.popper[u]-_-v;return y=Math.max(Math.min(s[c]-p,y),0),e.arrowElement=i,e.offsets.arrow=(Ye(n={},u,Math.round(y)),Ye(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(m,g){if(at(m.instance.modifiers,"inner"))return m;if(m.flipped&&m.placement===m.originalPlacement)return m;var _=Ze(m.instance.popper,m.instance.reference,g.padding,g.boundariesElement,m.positionFixed),v=m.placement.split("-")[0],y=it(v),E=m.placement.split("-")[1]||"",b=[];switch(g.behavior){case Et:b=[v,y];break;case bt:b=yt(v);break;case wt:b=yt(v,!0);break;default:b=g.behavior}return b.forEach(function(e,t){if(v!==e||b.length===t+1)return m;v=m.placement.split("-")[0],y=it(v);var n=m.offsets.popper,i=m.offsets.reference,o=Math.floor,r="left"===v&&o(n.right)>o(i.left)||"right"===v&&o(n.left)o(i.top)||"bottom"===v&&o(n.top)o(_.right),l=o(n.top)o(_.bottom),h="left"===v&&s||"right"===v&&a||"top"===v&&l||"bottom"===v&&c,u=-1!==["top","bottom"].indexOf(v),f=!!g.flipVariations&&(u&&"start"===E&&s||u&&"end"===E&&a||!u&&"start"===E&&l||!u&&"end"===E&&c),d=!!g.flipVariationsByContent&&(u&&"start"===E&&a||u&&"end"===E&&s||!u&&"start"===E&&c||!u&&"end"===E&&l),p=f||d;(r||h||p)&&(m.flipped=!0,(r||h)&&(v=b[t+1]),p&&(E=function(e){return"end"===e?"start":"start"===e?"end":e}(E)),m.placement=v+(E?"-"+E:""),m.offsets.popper=ze({},m.offsets.popper,ot(m.instance.popper,m.offsets.reference,m.placement)),m=st(m.instance.modifiers,m,"flip"))}),m},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),e.placement=it(t),e.offsets.popper=Xe(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!gt(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=rt(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.rightdocument.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right
    ',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:Cn,popperConfig:null},Fn="show",Mn="out",Wn={HIDE:"hide"+Nn,HIDDEN:"hidden"+Nn,SHOW:"show"+Nn,SHOWN:"shown"+Nn,INSERTED:"inserted"+Nn,CLICK:"click"+Nn,FOCUSIN:"focusin"+Nn,FOCUSOUT:"focusout"+Nn,MOUSEENTER:"mouseenter"+Nn,MOUSELEAVE:"mouseleave"+Nn},Un="fade",Bn="show",qn=".tooltip-inner",Kn=".arrow",Qn="hover",Vn="focus",Yn="click",zn="manual",Xn=function(){function i(e,t){if("undefined"==typeof St)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=i.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=p(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(p(this.getTipElement()).hasClass(Bn))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&p(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var e=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(e);var n=m.findShadowRoot(this.element),i=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var o=this.getTipElement(),r=m.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&p(o).addClass(Un);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(o).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(o).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new St(this.element,o,this._getPopperConfig(a)),p(o).addClass(Bn),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var c=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,p(t.element).trigger(t.constructor.Event.SHOWN),e===Mn&&t._leave(null,t)};if(p(this.tip).hasClass(Un)){var h=m.getTransitionDurationFromElement(this.tip);p(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},e.hide=function(e){function t(){n._hoverState!==Fn&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),p(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,i=this.getTipElement(),o=p.Event(this.constructor.Event.HIDE);if(p(this.element).trigger(o),!o.isDefaultPrevented()){if(p(i).removeClass(Bn),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger[Yn]=!1,this._activeTrigger[Vn]=!1,this._activeTrigger[Qn]=!1,p(this.tip).hasClass(Un)){var r=m.getTransitionDurationFromElement(i);p(i).one(m.TRANSITION_END,t).emulateTransitionEnd(r)}else t();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){p(this.getTipElement()).addClass(Ln+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(p(e.querySelectorAll(qn)),this.getTitle()),p(e).removeClass(Un+" "+Bn)},e.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=In(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?p(t).parent().is(e)||e.empty().append(t):e.text(p(t).text())},e.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e=e||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},e._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Kn},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},{},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,{},t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},e._getAttachment=function(e){return Hn[e.toUpperCase()]},e._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)p(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if(e!==zn){var t=e===Qn?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=e===Qn?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;p(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}}),this._hideModalHandler=function(){i.element&&i.hide()},p(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||p(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?Vn:Qn]=!0),p(t.getTipElement()).hasClass(Bn)||t._hoverState===Fn?t._hoverState=Fn:(clearTimeout(t._timeout),t._hoverState=Fn,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===Fn&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||p(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?Vn:Qn]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Mn,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===Mn&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){var t=p(this.element).data();return Object.keys(t).forEach(function(e){-1!==xn.indexOf(e)&&delete t[e]}),"number"==typeof(e=l({},this.constructor.Default,{},t,{},"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),m.typeCheckConfig(An,e,this.constructor.DefaultType),e.sanitize&&(e.template=In(e.template,e.whiteList,e.sanitizeFn)),e},e._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},e._cleanTipClass=function(){var e=p(this.getTipElement()),t=e.attr("class").match(Pn);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(p(e).removeClass(Un),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},i._jQueryInterface=function(n){return this.each(function(){var e=p(this).data(On),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),p(this).data(On,e)),"string"==typeof n)){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Rn}},{key:"NAME",get:function(){return An}},{key:"DATA_KEY",get:function(){return On}},{key:"Event",get:function(){return Wn}},{key:"EVENT_KEY",get:function(){return Nn}},{key:"DefaultType",get:function(){return jn}}]),i}();p.fn[An]=Xn._jQueryInterface,p.fn[An].Constructor=Xn,p.fn[An].noConflict=function(){return p.fn[An]=kn,Xn._jQueryInterface};var Gn="popover",$n="bs.popover",Jn="."+$n,Zn=p.fn[Gn],ei="bs-popover",ti=new RegExp("(^|\\s)"+ei+"\\S+","g"),ni=l({},Xn.Default,{placement:"right",trigger:"click",content:"",template:''}),ii=l({},Xn.DefaultType,{content:"(string|element|function)"}),oi="fade",ri="show",si=".popover-header",ai=".popover-body",li={HIDE:"hide"+Jn,HIDDEN:"hidden"+Jn,SHOW:"show"+Jn,SHOWN:"shown"+Jn,INSERTED:"inserted"+Jn,CLICK:"click"+Jn,FOCUSIN:"focusin"+Jn,FOCUSOUT:"focusout"+Jn,MOUSEENTER:"mouseenter"+Jn,MOUSELEAVE:"mouseleave"+Jn},ci=function(e){function i(){return e.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(i,e);var t=i.prototype;return t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(e){p(this.getTipElement()).addClass(ei+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},t.setContent=function(){var e=p(this.getTipElement());this.setElementContent(e.find(si),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(ai),t),e.removeClass(oi+" "+ri)},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var e=p(this.getTipElement()),t=e.attr("class").match(ti);null!==t&&0=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||e { - e.clearSelection(); - const trigger = e.trigger; - const originalTitle = trigger.dataset.originalTitle; - trigger.dataset.originalTitle = 'Copied'; - $(trigger).tooltip('show'); - $(trigger).on('hidden.bs.tooltip', (setTitle(trigger, originalTitle))); -}); - -function setTitle(element, title) { - element.dataset.originalTitle = title; -} - -const currentYearElement = document.querySelector('.current-year'); -const date = new Date(); -currentYearElement.textContent = date.getFullYear(); - -const mobileNavbarBtn = document.querySelector('.navbar-toggler-icon'); -mobileNavbarBtn.addEventListener('click', event => { - document.body.classList.add('overflow-hidden'); - document.body.classList.toggle('mobile-menu-expanded'); - - const menu = document.querySelector('.sidebar__nav'); - const menuItems = menu.querySelectorAll('.nav-link'); - const activeItems = menu.querySelectorAll('.nav-link.active'); - const activeItem = activeItems[activeItems.length - 1]; - - menu.scrollTop = activeItem.offsetTop; - - menuItems.forEach(item => { - item.addEventListener('click', itemEvent => { - if (!itemEvent.target.classList.contains('nav__link--toggler') - && document.body.classList.contains('mobile-menu-expanded')) { - document.body.classList.remove('mobile-menu-expanded') - } - }); - }); -}); diff --git a/docs/api/rest_api/rest_api_reference/assets/js/highlight.js b/docs/api/rest_api/rest_api_reference/assets/js/highlight.js deleted file mode 100644 index 9b2bf55d5b..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/js/highlight.js +++ /dev/null @@ -1,230 +0,0 @@ -/* - * jQuery Highlight plugin - * - * Based on highlight v3 by Johann Burkard - * http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html - * - * Code a little bit refactored and cleaned (in my humble opinion). - * Most important changes: - * - has an option to highlight only entire words (wordsOnly - false by default), - * - has an option to be case sensitive (caseSensitive - false by default) - * - highlight element tag and class names can be specified in options - * - * Usage: - * // wrap every occurrence of text 'lorem' in content - * // with (default options) - * $('#content').highlight('lorem'); - * - * // search for and highlight more terms at once - * // so you can save some time on traversing DOM - * $('#content').highlight(['lorem', 'ipsum']); - * $('#content').highlight('lorem ipsum'); - * - * // search only for entire word 'lorem' - * $('#content').highlight('lorem', { wordsOnly: true }); - * - * // search only for the entire word 'C#' - * // and make sure that the word boundary can also - * // be a 'non-word' character, as well as a regex latin1 only boundary: - * $('#content').highlight('C#', { wordsOnly: true , wordsBoundary: '[\\b\\W]' }); - * - * // don't ignore case during search of term 'lorem' - * $('#content').highlight('lorem', { caseSensitive: true }); - * - * // wrap every occurrence of term 'ipsum' in content - * // with - * $('#content').highlight('ipsum', { element: 'em', className: 'important' }); - * - * // remove default highlight - * $('#content').unhighlight(); - * - * // remove custom highlight - * $('#content').unhighlight({ element: 'em', className: 'important' }); - * - * - * Copyright (c) 2009 Bartek Szopka - * - * Licensed under MIT license. - * - */ - -(function(factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['jquery'], factory); - } else if (typeof exports === 'object') { - // Node/CommonJS - factory(require('jquery')); - } else { - // Browser globals - factory(jQuery); - } -})(function(jQuery) { - jQuery.extend({ - highlight: function( - node, - re, - nodeName, - className, - callback, - ignoreDiacritics - ) { - if (node.nodeType === 3) { - var subject = ignoreDiacritics - ? jQuery.removeDiacritcs(node.data) - : node.data; - var match = subject.match(re); - if (match) { - // The new highlight Element Node - var highlight = document.createElement(nodeName || 'span'); - highlight.className = className || 'highlight'; - // Note that we use the captured value to find the real index - // of the match. This is because we do not want to include the matching word boundaries - var capturePos = node.data.indexOf(match[1], match.index); - - // Split the node and replace the matching wordnode - // with the highlighted node - var wordNode = node.splitText(capturePos); - wordNode.splitText(match[1].length); - - var wordClone = wordNode.cloneNode(true); - highlight.appendChild(wordClone); - wordNode.parentNode.replaceChild(highlight, wordNode); - if (typeof callback == 'function') { - callback(highlight); - } - return 1; //skip added node in parent - } - } else if ( - node.nodeType === 1 && - node.childNodes && // only element nodes that have children - !/(script|style)/i.test(node.tagName) && // ignore script and style nodes - !( - node.tagName === nodeName.toUpperCase() && - node.className === className - ) - ) { - // skip if already highlighted - for (var i = 0; i < node.childNodes.length; i++) { - i += jQuery.highlight( - node.childNodes[i], - re, - nodeName, - className, - callback, - ignoreDiacritics - ); - } - } - return 0; - }, - - removeDiacritcs: function(word) { - return word - .replace(/[\u00c0-\u00c6]/g, 'A') - .replace(/[\u00e0-\u00e6]/g, 'a') - .replace(/[\u00c7]/g, 'C') - .replace(/[\u00e7]/g, 'c') - .replace(/[\u00c8-\u00cb]/g, 'E') - .replace(/[\u00e8-\u00eb]/g, 'e') - .replace(/[\u00cc-\u00cf]/g, 'I') - .replace(/[\u00ec-\u00ef]/g, 'i') - .replace(/[\u00d1|\u0147]/g, 'N') - .replace(/[\u00f1|\u0148]/g, 'n') - .replace(/[\u00d2-\u00d8|\u0150]/g, 'O') - .replace(/[\u00f2-\u00f8|\u0151]/g, 'o') - .replace(/[\u0160]/g, 'S') - .replace(/[\u0161]/g, 's') - .replace(/[\u00d9-\u00dc]/g, 'U') - .replace(/[\u00f9-\u00fc]/g, 'u') - .replace(/[\u00dd]/g, 'Y') - .replace(/[\u00fd]/g, 'y'); - }, - - // https://github.com/knownasilya/jquery-highlight/issues/13 - normalize: function (node) { - if (!node) { - return; - } - if (node.nodeType == 3) { - while (node.nextSibling && node.nextSibling.nodeType == 3) { - node.nodeValue += node.nextSibling.nodeValue; - node.parentNode.removeChild(node.nextSibling); - } - } else { - jQuery.normalize(node.firstChild); - } - jQuery.normalize(node.nextSibling); - } - }); - - jQuery.fn.unhighlight = function(options) { - var settings = { - className: 'highlight', - element: 'span' - }; - - jQuery.extend(settings, options); - - return this.find(settings.element + '.' + settings.className) - .each(function() { - var parent = this.parentNode; - parent.replaceChild(this.firstChild, this); - jQuery.normalize(parent); - }) - .end(); - }; - - jQuery.fn.highlight = function(words, options, callback) { - var settings = { - className: 'highlight', - element: 'span', - caseSensitive: false, - wordsOnly: false, - wordsBoundary: '\\b', - ignoreDiacritics: false - }; - - jQuery.extend(settings, options); - - if (typeof words === 'string') { - words = [words]; - } - words = jQuery.grep(words, function(word) { - return word != ''; - }); - words = jQuery.map(words, function(word) { - if (settings.ignoreDiacritics) { - word = jQuery.removeDiacritcs(word); - } - return word.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); - }); - - if (words.length === 0) { - return this; - } - - var flag = settings.caseSensitive ? '' : 'i'; - // The capture parenthesis will make sure we can match - // only the matching word - var pattern = '(' + words.join('|') + ')'; - if (settings.wordsOnly) { - pattern = - (settings.wordsBoundaryStart || settings.wordsBoundary) + - pattern + - (settings.wordsBoundaryEnd || settings.wordsBoundary); - } - var re = new RegExp(pattern, flag); - - return this.each(function() { - jQuery.highlight( - this, - re, - settings.element, - settings.className, - callback, - settings.ignoreDiacritics - ); - }); - }; -}); diff --git a/docs/api/rest_api/rest_api_reference/assets/js/jquery.min.js b/docs/api/rest_api/rest_api_reference/assets/js/jquery.min.js deleted file mode 100644 index a1c07fd803..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/js/jquery.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0 0) { - var tokenMetadata = lunr.utils.clone(metadata) || {} - tokenMetadata["position"] = [sliceStart, sliceLength] - tokenMetadata["index"] = tokens.length - - tokens.push( - new lunr.Token ( - str.slice(sliceStart, sliceEnd), - tokenMetadata - ) - ) - } - - sliceStart = sliceEnd + 1 - } - - } - - return tokens -} - -/** - * The separator used to split a string into tokens. Override this property to change the behaviour of - * `lunr.tokenizer` behaviour when tokenizing strings. By default this splits on whitespace and hyphens. - * - * @static - * @see lunr.tokenizer - */ -lunr.tokenizer.separator = /[\s\-]+/ -/*! - * lunr.Pipeline - * Copyright (C) 2019 Oliver Nightingale - */ - -/** - * lunr.Pipelines maintain an ordered list of functions to be applied to all - * tokens in documents entering the search index and queries being ran against - * the index. - * - * An instance of lunr.Index created with the lunr shortcut will contain a - * pipeline with a stop word filter and an English language stemmer. Extra - * functions can be added before or after either of these functions or these - * default functions can be removed. - * - * When run the pipeline will call each function in turn, passing a token, the - * index of that token in the original list of all tokens and finally a list of - * all the original tokens. - * - * The output of functions in the pipeline will be passed to the next function - * in the pipeline. To exclude a token from entering the index the function - * should return undefined, the rest of the pipeline will not be called with - * this token. - * - * For serialisation of pipelines to work, all functions used in an instance of - * a pipeline should be registered with lunr.Pipeline. Registered functions can - * then be loaded. If trying to load a serialised pipeline that uses functions - * that are not registered an error will be thrown. - * - * If not planning on serialising the pipeline then registering pipeline functions - * is not necessary. - * - * @constructor - */ -lunr.Pipeline = function () { - this._stack = [] -} - -lunr.Pipeline.registeredFunctions = Object.create(null) - -/** - * A pipeline function maps lunr.Token to lunr.Token. A lunr.Token contains the token - * string as well as all known metadata. A pipeline function can mutate the token string - * or mutate (or add) metadata for a given token. - * - * A pipeline function can indicate that the passed token should be discarded by returning - * null, undefined or an empty string. This token will not be passed to any downstream pipeline - * functions and will not be added to the index. - * - * Multiple tokens can be returned by returning an array of tokens. Each token will be passed - * to any downstream pipeline functions and all will returned tokens will be added to the index. - * - * Any number of pipeline functions may be chained together using a lunr.Pipeline. - * - * @interface lunr.PipelineFunction - * @param {lunr.Token} token - A token from the document being processed. - * @param {number} i - The index of this token in the complete list of tokens for this document/field. - * @param {lunr.Token[]} tokens - All tokens for this document/field. - * @returns {(?lunr.Token|lunr.Token[])} - */ - -/** - * Register a function with the pipeline. - * - * Functions that are used in the pipeline should be registered if the pipeline - * needs to be serialised, or a serialised pipeline needs to be loaded. - * - * Registering a function does not add it to a pipeline, functions must still be - * added to instances of the pipeline for them to be used when running a pipeline. - * - * @param {lunr.PipelineFunction} fn - The function to check for. - * @param {String} label - The label to register this function with - */ -lunr.Pipeline.registerFunction = function (fn, label) { - if (label in this.registeredFunctions) { - lunr.utils.warn('Overwriting existing registered function: ' + label) - } - - fn.label = label - lunr.Pipeline.registeredFunctions[fn.label] = fn -} - -/** - * Warns if the function is not registered as a Pipeline function. - * - * @param {lunr.PipelineFunction} fn - The function to check for. - * @private - */ -lunr.Pipeline.warnIfFunctionNotRegistered = function (fn) { - var isRegistered = fn.label && (fn.label in this.registeredFunctions) - - if (!isRegistered) { - lunr.utils.warn('Function is not registered with pipeline. This may cause problems when serialising the index.\n', fn) - } -} - -/** - * Loads a previously serialised pipeline. - * - * All functions to be loaded must already be registered with lunr.Pipeline. - * If any function from the serialised data has not been registered then an - * error will be thrown. - * - * @param {Object} serialised - The serialised pipeline to load. - * @returns {lunr.Pipeline} - */ -lunr.Pipeline.load = function (serialised) { - var pipeline = new lunr.Pipeline - - serialised.forEach(function (fnName) { - var fn = lunr.Pipeline.registeredFunctions[fnName] - - if (fn) { - pipeline.add(fn) - } else { - throw new Error('Cannot load unregistered function: ' + fnName) - } - }) - - return pipeline -} - -/** - * Adds new functions to the end of the pipeline. - * - * Logs a warning if the function has not been registered. - * - * @param {lunr.PipelineFunction[]} functions - Any number of functions to add to the pipeline. - */ -lunr.Pipeline.prototype.add = function () { - var fns = Array.prototype.slice.call(arguments) - - fns.forEach(function (fn) { - lunr.Pipeline.warnIfFunctionNotRegistered(fn) - this._stack.push(fn) - }, this) -} - -/** - * Adds a single function after a function that already exists in the - * pipeline. - * - * Logs a warning if the function has not been registered. - * - * @param {lunr.PipelineFunction} existingFn - A function that already exists in the pipeline. - * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline. - */ -lunr.Pipeline.prototype.after = function (existingFn, newFn) { - lunr.Pipeline.warnIfFunctionNotRegistered(newFn) - - var pos = this._stack.indexOf(existingFn) - if (pos == -1) { - throw new Error('Cannot find existingFn') - } - - pos = pos + 1 - this._stack.splice(pos, 0, newFn) -} - -/** - * Adds a single function before a function that already exists in the - * pipeline. - * - * Logs a warning if the function has not been registered. - * - * @param {lunr.PipelineFunction} existingFn - A function that already exists in the pipeline. - * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline. - */ -lunr.Pipeline.prototype.before = function (existingFn, newFn) { - lunr.Pipeline.warnIfFunctionNotRegistered(newFn) - - var pos = this._stack.indexOf(existingFn) - if (pos == -1) { - throw new Error('Cannot find existingFn') - } - - this._stack.splice(pos, 0, newFn) -} - -/** - * Removes a function from the pipeline. - * - * @param {lunr.PipelineFunction} fn The function to remove from the pipeline. - */ -lunr.Pipeline.prototype.remove = function (fn) { - var pos = this._stack.indexOf(fn) - if (pos == -1) { - return - } - - this._stack.splice(pos, 1) -} - -/** - * Runs the current list of functions that make up the pipeline against the - * passed tokens. - * - * @param {Array} tokens The tokens to run through the pipeline. - * @returns {Array} - */ -lunr.Pipeline.prototype.run = function (tokens) { - var stackLength = this._stack.length - - for (var i = 0; i < stackLength; i++) { - var fn = this._stack[i] - var memo = [] - - for (var j = 0; j < tokens.length; j++) { - var result = fn(tokens[j], j, tokens) - - if (result === null || result === void 0 || result === '') continue - - if (Array.isArray(result)) { - for (var k = 0; k < result.length; k++) { - memo.push(result[k]) - } - } else { - memo.push(result) - } - } - - tokens = memo - } - - return tokens -} - -/** - * Convenience method for passing a string through a pipeline and getting - * strings out. This method takes care of wrapping the passed string in a - * token and mapping the resulting tokens back to strings. - * - * @param {string} str - The string to pass through the pipeline. - * @param {?object} metadata - Optional metadata to associate with the token - * passed to the pipeline. - * @returns {string[]} - */ -lunr.Pipeline.prototype.runString = function (str, metadata) { - var token = new lunr.Token (str, metadata) - - return this.run([token]).map(function (t) { - return t.toString() - }) -} - -/** - * Resets the pipeline by removing any existing processors. - * - */ -lunr.Pipeline.prototype.reset = function () { - this._stack = [] -} - -/** - * Returns a representation of the pipeline ready for serialisation. - * - * Logs a warning if the function has not been registered. - * - * @returns {Array} - */ -lunr.Pipeline.prototype.toJSON = function () { - return this._stack.map(function (fn) { - lunr.Pipeline.warnIfFunctionNotRegistered(fn) - - return fn.label - }) -} -/*! - * lunr.Vector - * Copyright (C) 2019 Oliver Nightingale - */ - -/** - * A vector is used to construct the vector space of documents and queries. These - * vectors support operations to determine the similarity between two documents or - * a document and a query. - * - * Normally no parameters are required for initializing a vector, but in the case of - * loading a previously dumped vector the raw elements can be provided to the constructor. - * - * For performance reasons vectors are implemented with a flat array, where an elements - * index is immediately followed by its value. E.g. [index, value, index, value]. This - * allows the underlying array to be as sparse as possible and still offer decent - * performance when being used for vector calculations. - * - * @constructor - * @param {Number[]} [elements] - The flat list of element index and element value pairs. - */ -lunr.Vector = function (elements) { - this._magnitude = 0 - this.elements = elements || [] -} - - -/** - * Calculates the position within the vector to insert a given index. - * - * This is used internally by insert and upsert. If there are duplicate indexes then - * the position is returned as if the value for that index were to be updated, but it - * is the callers responsibility to check whether there is a duplicate at that index - * - * @param {Number} insertIdx - The index at which the element should be inserted. - * @returns {Number} - */ -lunr.Vector.prototype.positionForIndex = function (index) { - // For an empty vector the tuple can be inserted at the beginning - if (this.elements.length == 0) { - return 0 - } - - var start = 0, - end = this.elements.length / 2, - sliceLength = end - start, - pivotPoint = Math.floor(sliceLength / 2), - pivotIndex = this.elements[pivotPoint * 2] - - while (sliceLength > 1) { - if (pivotIndex < index) { - start = pivotPoint - } - - if (pivotIndex > index) { - end = pivotPoint - } - - if (pivotIndex == index) { - break - } - - sliceLength = end - start - pivotPoint = start + Math.floor(sliceLength / 2) - pivotIndex = this.elements[pivotPoint * 2] - } - - if (pivotIndex == index) { - return pivotPoint * 2 - } - - if (pivotIndex > index) { - return pivotPoint * 2 - } - - if (pivotIndex < index) { - return (pivotPoint + 1) * 2 - } -} - -/** - * Inserts an element at an index within the vector. - * - * Does not allow duplicates, will throw an error if there is already an entry - * for this index. - * - * @param {Number} insertIdx - The index at which the element should be inserted. - * @param {Number} val - The value to be inserted into the vector. - */ -lunr.Vector.prototype.insert = function (insertIdx, val) { - this.upsert(insertIdx, val, function () { - throw "duplicate index" - }) -} - -/** - * Inserts or updates an existing index within the vector. - * - * @param {Number} insertIdx - The index at which the element should be inserted. - * @param {Number} val - The value to be inserted into the vector. - * @param {function} fn - A function that is called for updates, the existing value and the - * requested value are passed as arguments - */ -lunr.Vector.prototype.upsert = function (insertIdx, val, fn) { - this._magnitude = 0 - var position = this.positionForIndex(insertIdx) - - if (this.elements[position] == insertIdx) { - this.elements[position + 1] = fn(this.elements[position + 1], val) - } else { - this.elements.splice(position, 0, insertIdx, val) - } -} - -/** - * Calculates the magnitude of this vector. - * - * @returns {Number} - */ -lunr.Vector.prototype.magnitude = function () { - if (this._magnitude) return this._magnitude - - var sumOfSquares = 0, - elementsLength = this.elements.length - - for (var i = 1; i < elementsLength; i += 2) { - var val = this.elements[i] - sumOfSquares += val * val - } - - return this._magnitude = Math.sqrt(sumOfSquares) -} - -/** - * Calculates the dot product of this vector and another vector. - * - * @param {lunr.Vector} otherVector - The vector to compute the dot product with. - * @returns {Number} - */ -lunr.Vector.prototype.dot = function (otherVector) { - var dotProduct = 0, - a = this.elements, b = otherVector.elements, - aLen = a.length, bLen = b.length, - aVal = 0, bVal = 0, - i = 0, j = 0 - - while (i < aLen && j < bLen) { - aVal = a[i], bVal = b[j] - if (aVal < bVal) { - i += 2 - } else if (aVal > bVal) { - j += 2 - } else if (aVal == bVal) { - dotProduct += a[i + 1] * b[j + 1] - i += 2 - j += 2 - } - } - - return dotProduct -} - -/** - * Calculates the similarity between this vector and another vector. - * - * @param {lunr.Vector} otherVector - The other vector to calculate the - * similarity with. - * @returns {Number} - */ -lunr.Vector.prototype.similarity = function (otherVector) { - return this.dot(otherVector) / this.magnitude() || 0 -} - -/** - * Converts the vector to an array of the elements within the vector. - * - * @returns {Number[]} - */ -lunr.Vector.prototype.toArray = function () { - var output = new Array (this.elements.length / 2) - - for (var i = 1, j = 0; i < this.elements.length; i += 2, j++) { - output[j] = this.elements[i] - } - - return output -} - -/** - * A JSON serializable representation of the vector. - * - * @returns {Number[]} - */ -lunr.Vector.prototype.toJSON = function () { - return this.elements -} -/* eslint-disable */ -/*! - * lunr.stemmer - * Copyright (C) 2019 Oliver Nightingale - * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt - */ - -/** - * lunr.stemmer is an english language stemmer, this is a JavaScript - * implementation of the PorterStemmer taken from http://tartarus.org/~martin - * - * @static - * @implements {lunr.PipelineFunction} - * @param {lunr.Token} token - The string to stem - * @returns {lunr.Token} - * @see {@link lunr.Pipeline} - * @function - */ -lunr.stemmer = (function(){ - var step2list = { - "ational" : "ate", - "tional" : "tion", - "enci" : "ence", - "anci" : "ance", - "izer" : "ize", - "bli" : "ble", - "alli" : "al", - "entli" : "ent", - "eli" : "e", - "ousli" : "ous", - "ization" : "ize", - "ation" : "ate", - "ator" : "ate", - "alism" : "al", - "iveness" : "ive", - "fulness" : "ful", - "ousness" : "ous", - "aliti" : "al", - "iviti" : "ive", - "biliti" : "ble", - "logi" : "log" - }, - - step3list = { - "icate" : "ic", - "ative" : "", - "alize" : "al", - "iciti" : "ic", - "ical" : "ic", - "ful" : "", - "ness" : "" - }, - - c = "[^aeiou]", // consonant - v = "[aeiouy]", // vowel - C = c + "[^aeiouy]*", // consonant sequence - V = v + "[aeiou]*", // vowel sequence - - mgr0 = "^(" + C + ")?" + V + C, // [C]VC... is m>0 - meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$", // [C]VC[V] is m=1 - mgr1 = "^(" + C + ")?" + V + C + V + C, // [C]VCVC... is m>1 - s_v = "^(" + C + ")?" + v; // vowel in stem - - var re_mgr0 = new RegExp(mgr0); - var re_mgr1 = new RegExp(mgr1); - var re_meq1 = new RegExp(meq1); - var re_s_v = new RegExp(s_v); - - var re_1a = /^(.+?)(ss|i)es$/; - var re2_1a = /^(.+?)([^s])s$/; - var re_1b = /^(.+?)eed$/; - var re2_1b = /^(.+?)(ed|ing)$/; - var re_1b_2 = /.$/; - var re2_1b_2 = /(at|bl|iz)$/; - var re3_1b_2 = new RegExp("([^aeiouylsz])\\1$"); - var re4_1b_2 = new RegExp("^" + C + v + "[^aeiouwxy]$"); - - var re_1c = /^(.+?[^aeiou])y$/; - var re_2 = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; - - var re_3 = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; - - var re_4 = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; - var re2_4 = /^(.+?)(s|t)(ion)$/; - - var re_5 = /^(.+?)e$/; - var re_5_1 = /ll$/; - var re3_5 = new RegExp("^" + C + v + "[^aeiouwxy]$"); - - var porterStemmer = function porterStemmer(w) { - var stem, - suffix, - firstch, - re, - re2, - re3, - re4; - - if (w.length < 3) { return w; } - - firstch = w.substr(0,1); - if (firstch == "y") { - w = firstch.toUpperCase() + w.substr(1); - } - - // Step 1a - re = re_1a - re2 = re2_1a; - - if (re.test(w)) { w = w.replace(re,"$1$2"); } - else if (re2.test(w)) { w = w.replace(re2,"$1$2"); } - - // Step 1b - re = re_1b; - re2 = re2_1b; - if (re.test(w)) { - var fp = re.exec(w); - re = re_mgr0; - if (re.test(fp[1])) { - re = re_1b_2; - w = w.replace(re,""); - } - } else if (re2.test(w)) { - var fp = re2.exec(w); - stem = fp[1]; - re2 = re_s_v; - if (re2.test(stem)) { - w = stem; - re2 = re2_1b_2; - re3 = re3_1b_2; - re4 = re4_1b_2; - if (re2.test(w)) { w = w + "e"; } - else if (re3.test(w)) { re = re_1b_2; w = w.replace(re,""); } - else if (re4.test(w)) { w = w + "e"; } - } - } - - // Step 1c - replace suffix y or Y by i if preceded by a non-vowel which is not the first letter of the word (so cry -> cri, by -> by, say -> say) - re = re_1c; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - w = stem + "i"; - } - - // Step 2 - re = re_2; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - suffix = fp[2]; - re = re_mgr0; - if (re.test(stem)) { - w = stem + step2list[suffix]; - } - } - - // Step 3 - re = re_3; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - suffix = fp[2]; - re = re_mgr0; - if (re.test(stem)) { - w = stem + step3list[suffix]; - } - } - - // Step 4 - re = re_4; - re2 = re2_4; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - re = re_mgr1; - if (re.test(stem)) { - w = stem; - } - } else if (re2.test(w)) { - var fp = re2.exec(w); - stem = fp[1] + fp[2]; - re2 = re_mgr1; - if (re2.test(stem)) { - w = stem; - } - } - - // Step 5 - re = re_5; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - re = re_mgr1; - re2 = re_meq1; - re3 = re3_5; - if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) { - w = stem; - } - } - - re = re_5_1; - re2 = re_mgr1; - if (re.test(w) && re2.test(w)) { - re = re_1b_2; - w = w.replace(re,""); - } - - // and turn initial Y back to y - - if (firstch == "y") { - w = firstch.toLowerCase() + w.substr(1); - } - - return w; - }; - - return function (token) { - return token.update(porterStemmer); - } -})(); - -lunr.Pipeline.registerFunction(lunr.stemmer, 'stemmer') -/*! - * lunr.stopWordFilter - * Copyright (C) 2019 Oliver Nightingale - */ - -/** - * lunr.generateStopWordFilter builds a stopWordFilter function from the provided - * list of stop words. - * - * The built in lunr.stopWordFilter is built using this generator and can be used - * to generate custom stopWordFilters for applications or non English languages. - * - * @function - * @param {Array} token The token to pass through the filter - * @returns {lunr.PipelineFunction} - * @see lunr.Pipeline - * @see lunr.stopWordFilter - */ -lunr.generateStopWordFilter = function (stopWords) { - var words = stopWords.reduce(function (memo, stopWord) { - memo[stopWord] = stopWord - return memo - }, {}) - - return function (token) { - if (token && words[token.toString()] !== token.toString()) return token - } -} - -/** - * lunr.stopWordFilter is an English language stop word list filter, any words - * contained in the list will not be passed through the filter. - * - * This is intended to be used in the Pipeline. If the token does not pass the - * filter then undefined will be returned. - * - * @function - * @implements {lunr.PipelineFunction} - * @params {lunr.Token} token - A token to check for being a stop word. - * @returns {lunr.Token} - * @see {@link lunr.Pipeline} - */ -lunr.stopWordFilter = lunr.generateStopWordFilter([ - 'a', - 'able', - 'about', - 'across', - 'after', - 'all', - 'almost', - 'also', - 'am', - 'among', - 'an', - 'and', - 'any', - 'are', - 'as', - 'at', - 'be', - 'because', - 'been', - 'but', - 'by', - 'can', - 'cannot', - 'could', - 'dear', - 'did', - 'do', - 'does', - 'either', - 'else', - 'ever', - 'every', - 'for', - 'from', - 'get', - 'got', - 'had', - 'has', - 'have', - 'he', - 'her', - 'hers', - 'him', - 'his', - 'how', - 'however', - 'i', - 'if', - 'in', - 'into', - 'is', - 'it', - 'its', - 'just', - 'least', - 'let', - 'like', - 'likely', - 'may', - 'me', - 'might', - 'most', - 'must', - 'my', - 'neither', - 'no', - 'nor', - 'not', - 'of', - 'off', - 'often', - 'on', - 'only', - 'or', - 'other', - 'our', - 'own', - 'rather', - 'said', - 'say', - 'says', - 'she', - 'should', - 'since', - 'so', - 'some', - 'than', - 'that', - 'the', - 'their', - 'them', - 'then', - 'there', - 'these', - 'they', - 'this', - 'tis', - 'to', - 'too', - 'twas', - 'us', - 'wants', - 'was', - 'we', - 'were', - 'what', - 'when', - 'where', - 'which', - 'while', - 'who', - 'whom', - 'why', - 'will', - 'with', - 'would', - 'yet', - 'you', - 'your' -]) - -lunr.Pipeline.registerFunction(lunr.stopWordFilter, 'stopWordFilter') -/*! - * lunr.trimmer - * Copyright (C) 2019 Oliver Nightingale - */ - -/** - * lunr.trimmer is a pipeline function for trimming non word - * characters from the beginning and end of tokens before they - * enter the index. - * - * This implementation may not work correctly for non latin - * characters and should either be removed or adapted for use - * with languages with non-latin characters. - * - * @static - * @implements {lunr.PipelineFunction} - * @param {lunr.Token} token The token to pass through the filter - * @returns {lunr.Token} - * @see lunr.Pipeline - */ -lunr.trimmer = function (token) { - return token.update(function (s) { - return s.replace(/^\W+/, '').replace(/\W+$/, '') - }) -} - -lunr.Pipeline.registerFunction(lunr.trimmer, 'trimmer') -/*! - * lunr.TokenSet - * Copyright (C) 2019 Oliver Nightingale - */ - -/** - * A token set is used to store the unique list of all tokens - * within an index. Token sets are also used to represent an - * incoming query to the index, this query token set and index - * token set are then intersected to find which tokens to look - * up in the inverted index. - * - * A token set can hold multiple tokens, as in the case of the - * index token set, or it can hold a single token as in the - * case of a simple query token set. - * - * Additionally token sets are used to perform wildcard matching. - * Leading, contained and trailing wildcards are supported, and - * from this edit distance matching can also be provided. - * - * Token sets are implemented as a minimal finite state automata, - * where both common prefixes and suffixes are shared between tokens. - * This helps to reduce the space used for storing the token set. - * - * @constructor - */ -lunr.TokenSet = function () { - this.final = false - this.edges = {} - this.id = lunr.TokenSet._nextId - lunr.TokenSet._nextId += 1 -} - -/** - * Keeps track of the next, auto increment, identifier to assign - * to a new tokenSet. - * - * TokenSets require a unique identifier to be correctly minimised. - * - * @private - */ -lunr.TokenSet._nextId = 1 - -/** - * Creates a TokenSet instance from the given sorted array of words. - * - * @param {String[]} arr - A sorted array of strings to create the set from. - * @returns {lunr.TokenSet} - * @throws Will throw an error if the input array is not sorted. - */ -lunr.TokenSet.fromArray = function (arr) { - var builder = new lunr.TokenSet.Builder - - for (var i = 0, len = arr.length; i < len; i++) { - builder.insert(arr[i]) - } - - builder.finish() - return builder.root -} - -/** - * Creates a token set from a query clause. - * - * @private - * @param {Object} clause - A single clause from lunr.Query. - * @param {string} clause.term - The query clause term. - * @param {number} [clause.editDistance] - The optional edit distance for the term. - * @returns {lunr.TokenSet} - */ -lunr.TokenSet.fromClause = function (clause) { - if ('editDistance' in clause) { - return lunr.TokenSet.fromFuzzyString(clause.term, clause.editDistance) - } else { - return lunr.TokenSet.fromString(clause.term) - } -} - -/** - * Creates a token set representing a single string with a specified - * edit distance. - * - * Insertions, deletions, substitutions and transpositions are each - * treated as an edit distance of 1. - * - * Increasing the allowed edit distance will have a dramatic impact - * on the performance of both creating and intersecting these TokenSets. - * It is advised to keep the edit distance less than 3. - * - * @param {string} str - The string to create the token set from. - * @param {number} editDistance - The allowed edit distance to match. - * @returns {lunr.Vector} - */ -lunr.TokenSet.fromFuzzyString = function (str, editDistance) { - var root = new lunr.TokenSet - - var stack = [{ - node: root, - editsRemaining: editDistance, - str: str - }] - - while (stack.length) { - var frame = stack.pop() - - // no edit - if (frame.str.length > 0) { - var char = frame.str.charAt(0), - noEditNode - - if (char in frame.node.edges) { - noEditNode = frame.node.edges[char] - } else { - noEditNode = new lunr.TokenSet - frame.node.edges[char] = noEditNode - } - - if (frame.str.length == 1) { - noEditNode.final = true - } - - stack.push({ - node: noEditNode, - editsRemaining: frame.editsRemaining, - str: frame.str.slice(1) - }) - } - - if (frame.editsRemaining == 0) { - continue - } - - // insertion - if ("*" in frame.node.edges) { - var insertionNode = frame.node.edges["*"] - } else { - var insertionNode = new lunr.TokenSet - frame.node.edges["*"] = insertionNode - } - - if (frame.str.length == 0) { - insertionNode.final = true - } - - stack.push({ - node: insertionNode, - editsRemaining: frame.editsRemaining - 1, - str: frame.str - }) - - // deletion - // can only do a deletion if we have enough edits remaining - // and if there are characters left to delete in the string - if (frame.str.length > 1) { - stack.push({ - node: frame.node, - editsRemaining: frame.editsRemaining - 1, - str: frame.str.slice(1) - }) - } - - // deletion - // just removing the last character from the str - if (frame.str.length == 1) { - frame.node.final = true - } - - // substitution - // can only do a substitution if we have enough edits remaining - // and if there are characters left to substitute - if (frame.str.length >= 1) { - if ("*" in frame.node.edges) { - var substitutionNode = frame.node.edges["*"] - } else { - var substitutionNode = new lunr.TokenSet - frame.node.edges["*"] = substitutionNode - } - - if (frame.str.length == 1) { - substitutionNode.final = true - } - - stack.push({ - node: substitutionNode, - editsRemaining: frame.editsRemaining - 1, - str: frame.str.slice(1) - }) - } - - // transposition - // can only do a transposition if there are edits remaining - // and there are enough characters to transpose - if (frame.str.length > 1) { - var charA = frame.str.charAt(0), - charB = frame.str.charAt(1), - transposeNode - - if (charB in frame.node.edges) { - transposeNode = frame.node.edges[charB] - } else { - transposeNode = new lunr.TokenSet - frame.node.edges[charB] = transposeNode - } - - if (frame.str.length == 1) { - transposeNode.final = true - } - - stack.push({ - node: transposeNode, - editsRemaining: frame.editsRemaining - 1, - str: charA + frame.str.slice(2) - }) - } - } - - return root -} - -/** - * Creates a TokenSet from a string. - * - * The string may contain one or more wildcard characters (*) - * that will allow wildcard matching when intersecting with - * another TokenSet. - * - * @param {string} str - The string to create a TokenSet from. - * @returns {lunr.TokenSet} - */ -lunr.TokenSet.fromString = function (str) { - var node = new lunr.TokenSet, - root = node - - /* - * Iterates through all characters within the passed string - * appending a node for each character. - * - * When a wildcard character is found then a self - * referencing edge is introduced to continually match - * any number of any characters. - */ - for (var i = 0, len = str.length; i < len; i++) { - var char = str[i], - final = (i == len - 1) - - if (char == "*") { - node.edges[char] = node - node.final = final - - } else { - var next = new lunr.TokenSet - next.final = final - - node.edges[char] = next - node = next - } - } - - return root -} - -/** - * Converts this TokenSet into an array of strings - * contained within the TokenSet. - * - * This is not intended to be used on a TokenSet that - * contains wildcards, in these cases the results are - * undefined and are likely to cause an infinite loop. - * - * @returns {string[]} - */ -lunr.TokenSet.prototype.toArray = function () { - var words = [] - - var stack = [{ - prefix: "", - node: this - }] - - while (stack.length) { - var frame = stack.pop(), - edges = Object.keys(frame.node.edges), - len = edges.length - - if (frame.node.final) { - /* In Safari, at this point the prefix is sometimes corrupted, see: - * https://github.com/olivernn/lunr.js/issues/279 Calling any - * String.prototype method forces Safari to "cast" this string to what - * it's supposed to be, fixing the bug. */ - frame.prefix.charAt(0) - words.push(frame.prefix) - } - - for (var i = 0; i < len; i++) { - var edge = edges[i] - - stack.push({ - prefix: frame.prefix.concat(edge), - node: frame.node.edges[edge] - }) - } - } - - return words -} - -/** - * Generates a string representation of a TokenSet. - * - * This is intended to allow TokenSets to be used as keys - * in objects, largely to aid the construction and minimisation - * of a TokenSet. As such it is not designed to be a human - * friendly representation of the TokenSet. - * - * @returns {string} - */ -lunr.TokenSet.prototype.toString = function () { - // NOTE: Using Object.keys here as this.edges is very likely - // to enter 'hash-mode' with many keys being added - // - // avoiding a for-in loop here as it leads to the function - // being de-optimised (at least in V8). From some simple - // benchmarks the performance is comparable, but allowing - // V8 to optimize may mean easy performance wins in the future. - - if (this._str) { - return this._str - } - - var str = this.final ? '1' : '0', - labels = Object.keys(this.edges).sort(), - len = labels.length - - for (var i = 0; i < len; i++) { - var label = labels[i], - node = this.edges[label] - - str = str + label + node.id - } - - return str -} - -/** - * Returns a new TokenSet that is the intersection of - * this TokenSet and the passed TokenSet. - * - * This intersection will take into account any wildcards - * contained within the TokenSet. - * - * @param {lunr.TokenSet} b - An other TokenSet to intersect with. - * @returns {lunr.TokenSet} - */ -lunr.TokenSet.prototype.intersect = function (b) { - var output = new lunr.TokenSet, - frame = undefined - - var stack = [{ - qNode: b, - output: output, - node: this - }] - - while (stack.length) { - frame = stack.pop() - - // NOTE: As with the #toString method, we are using - // Object.keys and a for loop instead of a for-in loop - // as both of these objects enter 'hash' mode, causing - // the function to be de-optimised in V8 - var qEdges = Object.keys(frame.qNode.edges), - qLen = qEdges.length, - nEdges = Object.keys(frame.node.edges), - nLen = nEdges.length - - for (var q = 0; q < qLen; q++) { - var qEdge = qEdges[q] - - for (var n = 0; n < nLen; n++) { - var nEdge = nEdges[n] - - if (nEdge == qEdge || qEdge == '*') { - var node = frame.node.edges[nEdge], - qNode = frame.qNode.edges[qEdge], - final = node.final && qNode.final, - next = undefined - - if (nEdge in frame.output.edges) { - // an edge already exists for this character - // no need to create a new node, just set the finality - // bit unless this node is already final - next = frame.output.edges[nEdge] - next.final = next.final || final - - } else { - // no edge exists yet, must create one - // set the finality bit and insert it - // into the output - next = new lunr.TokenSet - next.final = final - frame.output.edges[nEdge] = next - } - - stack.push({ - qNode: qNode, - output: next, - node: node - }) - } - } - } - } - - return output -} -lunr.TokenSet.Builder = function () { - this.previousWord = "" - this.root = new lunr.TokenSet - this.uncheckedNodes = [] - this.minimizedNodes = {} -} - -lunr.TokenSet.Builder.prototype.insert = function (word) { - var node, - commonPrefix = 0 - - if (word < this.previousWord) { - throw new Error ("Out of order word insertion") - } - - for (var i = 0; i < word.length && i < this.previousWord.length; i++) { - if (word[i] != this.previousWord[i]) break - commonPrefix++ - } - - this.minimize(commonPrefix) - - if (this.uncheckedNodes.length == 0) { - node = this.root - } else { - node = this.uncheckedNodes[this.uncheckedNodes.length - 1].child - } - - for (var i = commonPrefix; i < word.length; i++) { - var nextNode = new lunr.TokenSet, - char = word[i] - - node.edges[char] = nextNode - - this.uncheckedNodes.push({ - parent: node, - char: char, - child: nextNode - }) - - node = nextNode - } - - node.final = true - this.previousWord = word -} - -lunr.TokenSet.Builder.prototype.finish = function () { - this.minimize(0) -} - -lunr.TokenSet.Builder.prototype.minimize = function (downTo) { - for (var i = this.uncheckedNodes.length - 1; i >= downTo; i--) { - var node = this.uncheckedNodes[i], - childKey = node.child.toString() - - if (childKey in this.minimizedNodes) { - node.parent.edges[node.char] = this.minimizedNodes[childKey] - } else { - // Cache the key for this node since - // we know it can't change anymore - node.child._str = childKey - - this.minimizedNodes[childKey] = node.child - } - - this.uncheckedNodes.pop() - } -} -/*! - * lunr.Index - * Copyright (C) 2019 Oliver Nightingale - */ - -/** - * An index contains the built index of all documents and provides a query interface - * to the index. - * - * Usually instances of lunr.Index will not be created using this constructor, instead - * lunr.Builder should be used to construct new indexes, or lunr.Index.load should be - * used to load previously built and serialized indexes. - * - * @constructor - * @param {Object} attrs - The attributes of the built search index. - * @param {Object} attrs.invertedIndex - An index of term/field to document reference. - * @param {Object} attrs.fieldVectors - Field vectors - * @param {lunr.TokenSet} attrs.tokenSet - An set of all corpus tokens. - * @param {string[]} attrs.fields - The names of indexed document fields. - * @param {lunr.Pipeline} attrs.pipeline - The pipeline to use for search terms. - */ -lunr.Index = function (attrs) { - this.invertedIndex = attrs.invertedIndex - this.fieldVectors = attrs.fieldVectors - this.tokenSet = attrs.tokenSet - this.fields = attrs.fields - this.pipeline = attrs.pipeline -} - -/** - * A result contains details of a document matching a search query. - * @typedef {Object} lunr.Index~Result - * @property {string} ref - The reference of the document this result represents. - * @property {number} score - A number between 0 and 1 representing how similar this document is to the query. - * @property {lunr.MatchData} matchData - Contains metadata about this match including which term(s) caused the match. - */ - -/** - * Although lunr provides the ability to create queries using lunr.Query, it also provides a simple - * query language which itself is parsed into an instance of lunr.Query. - * - * For programmatically building queries it is advised to directly use lunr.Query, the query language - * is best used for human entered text rather than program generated text. - * - * At its simplest queries can just be a single term, e.g. `hello`, multiple terms are also supported - * and will be combined with OR, e.g `hello world` will match documents that contain either 'hello' - * or 'world', though those that contain both will rank higher in the results. - * - * Wildcards can be included in terms to match one or more unspecified characters, these wildcards can - * be inserted anywhere within the term, and more than one wildcard can exist in a single term. Adding - * wildcards will increase the number of documents that will be found but can also have a negative - * impact on query performance, especially with wildcards at the beginning of a term. - * - * Terms can be restricted to specific fields, e.g. `title:hello`, only documents with the term - * hello in the title field will match this query. Using a field not present in the index will lead - * to an error being thrown. - * - * Modifiers can also be added to terms, lunr supports edit distance and boost modifiers on terms. A term - * boost will make documents matching that term score higher, e.g. `foo^5`. Edit distance is also supported - * to provide fuzzy matching, e.g. 'hello~2' will match documents with hello with an edit distance of 2. - * Avoid large values for edit distance to improve query performance. - * - * Each term also supports a presence modifier. By default a term's presence in document is optional, however - * this can be changed to either required or prohibited. For a term's presence to be required in a document the - * term should be prefixed with a '+', e.g. `+foo bar` is a search for documents that must contain 'foo' and - * optionally contain 'bar'. Conversely a leading '-' sets the terms presence to prohibited, i.e. it must not - * appear in a document, e.g. `-foo bar` is a search for documents that do not contain 'foo' but may contain 'bar'. - * - * To escape special characters the backslash character '\' can be used, this allows searches to include - * characters that would normally be considered modifiers, e.g. `foo\~2` will search for a term "foo~2" instead - * of attempting to apply a boost of 2 to the search term "foo". - * - * @typedef {string} lunr.Index~QueryString - * @example Simple single term query - * hello - * @example Multiple term query - * hello world - * @example term scoped to a field - * title:hello - * @example term with a boost of 10 - * hello^10 - * @example term with an edit distance of 2 - * hello~2 - * @example terms with presence modifiers - * -foo +bar baz - */ - -/** - * Performs a search against the index using lunr query syntax. - * - * Results will be returned sorted by their score, the most relevant results - * will be returned first. For details on how the score is calculated, please see - * the {@link https://lunrjs.com/guides/searching.html#scoring|guide}. - * - * For more programmatic querying use lunr.Index#query. - * - * @param {lunr.Index~QueryString} queryString - A string containing a lunr query. - * @throws {lunr.QueryParseError} If the passed query string cannot be parsed. - * @returns {lunr.Index~Result[]} - */ -lunr.Index.prototype.search = function (queryString) { - return this.query(function (query) { - var parser = new lunr.QueryParser(queryString, query) - parser.parse() - }) -} - -/** - * A query builder callback provides a query object to be used to express - * the query to perform on the index. - * - * @callback lunr.Index~queryBuilder - * @param {lunr.Query} query - The query object to build up. - * @this lunr.Query - */ - -/** - * Performs a query against the index using the yielded lunr.Query object. - * - * If performing programmatic queries against the index, this method is preferred - * over lunr.Index#search so as to avoid the additional query parsing overhead. - * - * A query object is yielded to the supplied function which should be used to - * express the query to be run against the index. - * - * Note that although this function takes a callback parameter it is _not_ an - * asynchronous operation, the callback is just yielded a query object to be - * customized. - * - * @param {lunr.Index~queryBuilder} fn - A function that is used to build the query. - * @returns {lunr.Index~Result[]} - */ -lunr.Index.prototype.query = function (fn) { - // for each query clause - // * process terms - // * expand terms from token set - // * find matching documents and metadata - // * get document vectors - // * score documents - - var query = new lunr.Query(this.fields), - matchingFields = Object.create(null), - queryVectors = Object.create(null), - termFieldCache = Object.create(null), - requiredMatches = Object.create(null), - prohibitedMatches = Object.create(null) - - /* - * To support field level boosts a query vector is created per - * field. An empty vector is eagerly created to support negated - * queries. - */ - for (var i = 0; i < this.fields.length; i++) { - queryVectors[this.fields[i]] = new lunr.Vector - } - - fn.call(query, query) - - for (var i = 0; i < query.clauses.length; i++) { - /* - * Unless the pipeline has been disabled for this term, which is - * the case for terms with wildcards, we need to pass the clause - * term through the search pipeline. A pipeline returns an array - * of processed terms. Pipeline functions may expand the passed - * term, which means we may end up performing multiple index lookups - * for a single query term. - */ - var clause = query.clauses[i], - terms = null, - clauseMatches = lunr.Set.complete - - if (clause.usePipeline) { - terms = this.pipeline.runString(clause.term, { - fields: clause.fields - }) - } else { - terms = [clause.term] - } - - for (var m = 0; m < terms.length; m++) { - var term = terms[m] - - /* - * Each term returned from the pipeline needs to use the same query - * clause object, e.g. the same boost and or edit distance. The - * simplest way to do this is to re-use the clause object but mutate - * its term property. - */ - clause.term = term - - /* - * From the term in the clause we create a token set which will then - * be used to intersect the indexes token set to get a list of terms - * to lookup in the inverted index - */ - var termTokenSet = lunr.TokenSet.fromClause(clause), - expandedTerms = this.tokenSet.intersect(termTokenSet).toArray() - - /* - * If a term marked as required does not exist in the tokenSet it is - * impossible for the search to return any matches. We set all the field - * scoped required matches set to empty and stop examining any further - * clauses. - */ - if (expandedTerms.length === 0 && clause.presence === lunr.Query.presence.REQUIRED) { - for (var k = 0; k < clause.fields.length; k++) { - var field = clause.fields[k] - requiredMatches[field] = lunr.Set.empty - } - - break - } - - for (var j = 0; j < expandedTerms.length; j++) { - /* - * For each term get the posting and termIndex, this is required for - * building the query vector. - */ - var expandedTerm = expandedTerms[j], - posting = this.invertedIndex[expandedTerm], - termIndex = posting._index - - for (var k = 0; k < clause.fields.length; k++) { - /* - * For each field that this query term is scoped by (by default - * all fields are in scope) we need to get all the document refs - * that have this term in that field. - * - * The posting is the entry in the invertedIndex for the matching - * term from above. - */ - var field = clause.fields[k], - fieldPosting = posting[field], - matchingDocumentRefs = Object.keys(fieldPosting), - termField = expandedTerm + "/" + field, - matchingDocumentsSet = new lunr.Set(matchingDocumentRefs) - - /* - * if the presence of this term is required ensure that the matching - * documents are added to the set of required matches for this clause. - * - */ - if (clause.presence == lunr.Query.presence.REQUIRED) { - clauseMatches = clauseMatches.union(matchingDocumentsSet) - - if (requiredMatches[field] === undefined) { - requiredMatches[field] = lunr.Set.complete - } - } - - /* - * if the presence of this term is prohibited ensure that the matching - * documents are added to the set of prohibited matches for this field, - * creating that set if it does not yet exist. - */ - if (clause.presence == lunr.Query.presence.PROHIBITED) { - if (prohibitedMatches[field] === undefined) { - prohibitedMatches[field] = lunr.Set.empty - } - - prohibitedMatches[field] = prohibitedMatches[field].union(matchingDocumentsSet) - - /* - * Prohibited matches should not be part of the query vector used for - * similarity scoring and no metadata should be extracted so we continue - * to the next field - */ - continue - } - - /* - * The query field vector is populated using the termIndex found for - * the term and a unit value with the appropriate boost applied. - * Using upsert because there could already be an entry in the vector - * for the term we are working with. In that case we just add the scores - * together. - */ - queryVectors[field].upsert(termIndex, clause.boost, function (a, b) { return a + b }) - - /** - * If we've already seen this term, field combo then we've already collected - * the matching documents and metadata, no need to go through all that again - */ - if (termFieldCache[termField]) { - continue - } - - for (var l = 0; l < matchingDocumentRefs.length; l++) { - /* - * All metadata for this term/field/document triple - * are then extracted and collected into an instance - * of lunr.MatchData ready to be returned in the query - * results - */ - var matchingDocumentRef = matchingDocumentRefs[l], - matchingFieldRef = new lunr.FieldRef (matchingDocumentRef, field), - metadata = fieldPosting[matchingDocumentRef], - fieldMatch - - if ((fieldMatch = matchingFields[matchingFieldRef]) === undefined) { - matchingFields[matchingFieldRef] = new lunr.MatchData (expandedTerm, field, metadata) - } else { - fieldMatch.add(expandedTerm, field, metadata) - } - - } - - termFieldCache[termField] = true - } - } - } - - /** - * If the presence was required we need to update the requiredMatches field sets. - * We do this after all fields for the term have collected their matches because - * the clause terms presence is required in _any_ of the fields not _all_ of the - * fields. - */ - if (clause.presence === lunr.Query.presence.REQUIRED) { - for (var k = 0; k < clause.fields.length; k++) { - var field = clause.fields[k] - requiredMatches[field] = requiredMatches[field].intersect(clauseMatches) - } - } - } - - /** - * Need to combine the field scoped required and prohibited - * matching documents into a global set of required and prohibited - * matches - */ - var allRequiredMatches = lunr.Set.complete, - allProhibitedMatches = lunr.Set.empty - - for (var i = 0; i < this.fields.length; i++) { - var field = this.fields[i] - - if (requiredMatches[field]) { - allRequiredMatches = allRequiredMatches.intersect(requiredMatches[field]) - } - - if (prohibitedMatches[field]) { - allProhibitedMatches = allProhibitedMatches.union(prohibitedMatches[field]) - } - } - - var matchingFieldRefs = Object.keys(matchingFields), - results = [], - matches = Object.create(null) - - /* - * If the query is negated (contains only prohibited terms) - * we need to get _all_ fieldRefs currently existing in the - * index. This is only done when we know that the query is - * entirely prohibited terms to avoid any cost of getting all - * fieldRefs unnecessarily. - * - * Additionally, blank MatchData must be created to correctly - * populate the results. - */ - if (query.isNegated()) { - matchingFieldRefs = Object.keys(this.fieldVectors) - - for (var i = 0; i < matchingFieldRefs.length; i++) { - var matchingFieldRef = matchingFieldRefs[i] - var fieldRef = lunr.FieldRef.fromString(matchingFieldRef) - matchingFields[matchingFieldRef] = new lunr.MatchData - } - } - - for (var i = 0; i < matchingFieldRefs.length; i++) { - /* - * Currently we have document fields that match the query, but we - * need to return documents. The matchData and scores are combined - * from multiple fields belonging to the same document. - * - * Scores are calculated by field, using the query vectors created - * above, and combined into a final document score using addition. - */ - var fieldRef = lunr.FieldRef.fromString(matchingFieldRefs[i]), - docRef = fieldRef.docRef - - if (!allRequiredMatches.contains(docRef)) { - continue - } - - if (allProhibitedMatches.contains(docRef)) { - continue - } - - var fieldVector = this.fieldVectors[fieldRef], - score = queryVectors[fieldRef.fieldName].similarity(fieldVector), - docMatch - - if ((docMatch = matches[docRef]) !== undefined) { - docMatch.score += score - docMatch.matchData.combine(matchingFields[fieldRef]) - } else { - var match = { - ref: docRef, - score: score, - matchData: matchingFields[fieldRef] - } - matches[docRef] = match - results.push(match) - } - } - - /* - * Sort the results objects by score, highest first. - */ - return results.sort(function (a, b) { - return b.score - a.score - }) -} - -/** - * Prepares the index for JSON serialization. - * - * The schema for this JSON blob will be described in a - * separate JSON schema file. - * - * @returns {Object} - */ -lunr.Index.prototype.toJSON = function () { - var invertedIndex = Object.keys(this.invertedIndex) - .sort() - .map(function (term) { - return [term, this.invertedIndex[term]] - }, this) - - var fieldVectors = Object.keys(this.fieldVectors) - .map(function (ref) { - return [ref, this.fieldVectors[ref].toJSON()] - }, this) - - return { - version: lunr.version, - fields: this.fields, - fieldVectors: fieldVectors, - invertedIndex: invertedIndex, - pipeline: this.pipeline.toJSON() - } -} - -/** - * Loads a previously serialized lunr.Index - * - * @param {Object} serializedIndex - A previously serialized lunr.Index - * @returns {lunr.Index} - */ -lunr.Index.load = function (serializedIndex) { - var attrs = {}, - fieldVectors = {}, - serializedVectors = serializedIndex.fieldVectors, - invertedIndex = Object.create(null), - serializedInvertedIndex = serializedIndex.invertedIndex, - tokenSetBuilder = new lunr.TokenSet.Builder, - pipeline = lunr.Pipeline.load(serializedIndex.pipeline) - - if (serializedIndex.version != lunr.version) { - lunr.utils.warn("Version mismatch when loading serialised index. Current version of lunr '" + lunr.version + "' does not match serialized index '" + serializedIndex.version + "'") - } - - for (var i = 0; i < serializedVectors.length; i++) { - var tuple = serializedVectors[i], - ref = tuple[0], - elements = tuple[1] - - fieldVectors[ref] = new lunr.Vector(elements) - } - - for (var i = 0; i < serializedInvertedIndex.length; i++) { - var tuple = serializedInvertedIndex[i], - term = tuple[0], - posting = tuple[1] - - tokenSetBuilder.insert(term) - invertedIndex[term] = posting - } - - tokenSetBuilder.finish() - - attrs.fields = serializedIndex.fields - - attrs.fieldVectors = fieldVectors - attrs.invertedIndex = invertedIndex - attrs.tokenSet = tokenSetBuilder.root - attrs.pipeline = pipeline - - return new lunr.Index(attrs) -} -/*! - * lunr.Builder - * Copyright (C) 2019 Oliver Nightingale - */ - -/** - * lunr.Builder performs indexing on a set of documents and - * returns instances of lunr.Index ready for querying. - * - * All configuration of the index is done via the builder, the - * fields to index, the document reference, the text processing - * pipeline and document scoring parameters are all set on the - * builder before indexing. - * - * @constructor - * @property {string} _ref - Internal reference to the document reference field. - * @property {string[]} _fields - Internal reference to the document fields to index. - * @property {object} invertedIndex - The inverted index maps terms to document fields. - * @property {object} documentTermFrequencies - Keeps track of document term frequencies. - * @property {object} documentLengths - Keeps track of the length of documents added to the index. - * @property {lunr.tokenizer} tokenizer - Function for splitting strings into tokens for indexing. - * @property {lunr.Pipeline} pipeline - The pipeline performs text processing on tokens before indexing. - * @property {lunr.Pipeline} searchPipeline - A pipeline for processing search terms before querying the index. - * @property {number} documentCount - Keeps track of the total number of documents indexed. - * @property {number} _b - A parameter to control field length normalization, setting this to 0 disabled normalization, 1 fully normalizes field lengths, the default value is 0.75. - * @property {number} _k1 - A parameter to control how quickly an increase in term frequency results in term frequency saturation, the default value is 1.2. - * @property {number} termIndex - A counter incremented for each unique term, used to identify a terms position in the vector space. - * @property {array} metadataWhitelist - A list of metadata keys that have been whitelisted for entry in the index. - */ -lunr.Builder = function () { - this._ref = "id" - this._fields = Object.create(null) - this._documents = Object.create(null) - this.invertedIndex = Object.create(null) - this.fieldTermFrequencies = {} - this.fieldLengths = {} - this.tokenizer = lunr.tokenizer - this.pipeline = new lunr.Pipeline - this.searchPipeline = new lunr.Pipeline - this.documentCount = 0 - this._b = 0.75 - this._k1 = 1.2 - this.termIndex = 0 - this.metadataWhitelist = [] -} - -/** - * Sets the document field used as the document reference. Every document must have this field. - * The type of this field in the document should be a string, if it is not a string it will be - * coerced into a string by calling toString. - * - * The default ref is 'id'. - * - * The ref should _not_ be changed during indexing, it should be set before any documents are - * added to the index. Changing it during indexing can lead to inconsistent results. - * - * @param {string} ref - The name of the reference field in the document. - */ -lunr.Builder.prototype.ref = function (ref) { - this._ref = ref -} - -/** - * A function that is used to extract a field from a document. - * - * Lunr expects a field to be at the top level of a document, if however the field - * is deeply nested within a document an extractor function can be used to extract - * the right field for indexing. - * - * @callback fieldExtractor - * @param {object} doc - The document being added to the index. - * @returns {?(string|object|object[])} obj - The object that will be indexed for this field. - * @example Extracting a nested field - * function (doc) { return doc.nested.field } - */ - -/** - * Adds a field to the list of document fields that will be indexed. Every document being - * indexed should have this field. Null values for this field in indexed documents will - * not cause errors but will limit the chance of that document being retrieved by searches. - * - * All fields should be added before adding documents to the index. Adding fields after - * a document has been indexed will have no effect on already indexed documents. - * - * Fields can be boosted at build time. This allows terms within that field to have more - * importance when ranking search results. Use a field boost to specify that matches within - * one field are more important than other fields. - * - * @param {string} fieldName - The name of a field to index in all documents. - * @param {object} attributes - Optional attributes associated with this field. - * @param {number} [attributes.boost=1] - Boost applied to all terms within this field. - * @param {fieldExtractor} [attributes.extractor] - Function to extract a field from a document. - * @throws {RangeError} fieldName cannot contain unsupported characters '/' - */ -lunr.Builder.prototype.field = function (fieldName, attributes) { - if (/\//.test(fieldName)) { - throw new RangeError ("Field '" + fieldName + "' contains illegal character '/'") - } - - this._fields[fieldName] = attributes || {} -} - -/** - * A parameter to tune the amount of field length normalisation that is applied when - * calculating relevance scores. A value of 0 will completely disable any normalisation - * and a value of 1 will fully normalise field lengths. The default is 0.75. Values of b - * will be clamped to the range 0 - 1. - * - * @param {number} number - The value to set for this tuning parameter. - */ -lunr.Builder.prototype.b = function (number) { - if (number < 0) { - this._b = 0 - } else if (number > 1) { - this._b = 1 - } else { - this._b = number - } -} - -/** - * A parameter that controls the speed at which a rise in term frequency results in term - * frequency saturation. The default value is 1.2. Setting this to a higher value will give - * slower saturation levels, a lower value will result in quicker saturation. - * - * @param {number} number - The value to set for this tuning parameter. - */ -lunr.Builder.prototype.k1 = function (number) { - this._k1 = number -} - -/** - * Adds a document to the index. - * - * Before adding fields to the index the index should have been fully setup, with the document - * ref and all fields to index already having been specified. - * - * The document must have a field name as specified by the ref (by default this is 'id') and - * it should have all fields defined for indexing, though null or undefined values will not - * cause errors. - * - * Entire documents can be boosted at build time. Applying a boost to a document indicates that - * this document should rank higher in search results than other documents. - * - * @param {object} doc - The document to add to the index. - * @param {object} attributes - Optional attributes associated with this document. - * @param {number} [attributes.boost=1] - Boost applied to all terms within this document. - */ -lunr.Builder.prototype.add = function (doc, attributes) { - var docRef = doc[this._ref], - fields = Object.keys(this._fields) - - this._documents[docRef] = attributes || {} - this.documentCount += 1 - - for (var i = 0; i < fields.length; i++) { - var fieldName = fields[i], - extractor = this._fields[fieldName].extractor, - field = extractor ? extractor(doc) : doc[fieldName], - tokens = this.tokenizer(field, { - fields: [fieldName] - }), - terms = this.pipeline.run(tokens), - fieldRef = new lunr.FieldRef (docRef, fieldName), - fieldTerms = Object.create(null) - - this.fieldTermFrequencies[fieldRef] = fieldTerms - this.fieldLengths[fieldRef] = 0 - - // store the length of this field for this document - this.fieldLengths[fieldRef] += terms.length - - // calculate term frequencies for this field - for (var j = 0; j < terms.length; j++) { - var term = terms[j] - - if (fieldTerms[term] == undefined) { - fieldTerms[term] = 0 - } - - fieldTerms[term] += 1 - - // add to inverted index - // create an initial posting if one doesn't exist - if (this.invertedIndex[term] == undefined) { - var posting = Object.create(null) - posting["_index"] = this.termIndex - this.termIndex += 1 - - for (var k = 0; k < fields.length; k++) { - posting[fields[k]] = Object.create(null) - } - - this.invertedIndex[term] = posting - } - - // add an entry for this term/fieldName/docRef to the invertedIndex - if (this.invertedIndex[term][fieldName][docRef] == undefined) { - this.invertedIndex[term][fieldName][docRef] = Object.create(null) - } - - // store all whitelisted metadata about this token in the - // inverted index - for (var l = 0; l < this.metadataWhitelist.length; l++) { - var metadataKey = this.metadataWhitelist[l], - metadata = term.metadata[metadataKey] - - if (this.invertedIndex[term][fieldName][docRef][metadataKey] == undefined) { - this.invertedIndex[term][fieldName][docRef][metadataKey] = [] - } - - this.invertedIndex[term][fieldName][docRef][metadataKey].push(metadata) - } - } - - } -} - -/** - * Calculates the average document length for this index - * - * @private - */ -lunr.Builder.prototype.calculateAverageFieldLengths = function () { - - var fieldRefs = Object.keys(this.fieldLengths), - numberOfFields = fieldRefs.length, - accumulator = {}, - documentsWithField = {} - - for (var i = 0; i < numberOfFields; i++) { - var fieldRef = lunr.FieldRef.fromString(fieldRefs[i]), - field = fieldRef.fieldName - - documentsWithField[field] || (documentsWithField[field] = 0) - documentsWithField[field] += 1 - - accumulator[field] || (accumulator[field] = 0) - accumulator[field] += this.fieldLengths[fieldRef] - } - - var fields = Object.keys(this._fields) - - for (var i = 0; i < fields.length; i++) { - var fieldName = fields[i] - accumulator[fieldName] = accumulator[fieldName] / documentsWithField[fieldName] - } - - this.averageFieldLength = accumulator -} - -/** - * Builds a vector space model of every document using lunr.Vector - * - * @private - */ -lunr.Builder.prototype.createFieldVectors = function () { - var fieldVectors = {}, - fieldRefs = Object.keys(this.fieldTermFrequencies), - fieldRefsLength = fieldRefs.length, - termIdfCache = Object.create(null) - - for (var i = 0; i < fieldRefsLength; i++) { - var fieldRef = lunr.FieldRef.fromString(fieldRefs[i]), - fieldName = fieldRef.fieldName, - fieldLength = this.fieldLengths[fieldRef], - fieldVector = new lunr.Vector, - termFrequencies = this.fieldTermFrequencies[fieldRef], - terms = Object.keys(termFrequencies), - termsLength = terms.length - - - var fieldBoost = this._fields[fieldName].boost || 1, - docBoost = this._documents[fieldRef.docRef].boost || 1 - - for (var j = 0; j < termsLength; j++) { - var term = terms[j], - tf = termFrequencies[term], - termIndex = this.invertedIndex[term]._index, - idf, score, scoreWithPrecision - - if (termIdfCache[term] === undefined) { - idf = lunr.idf(this.invertedIndex[term], this.documentCount) - termIdfCache[term] = idf - } else { - idf = termIdfCache[term] - } - - score = idf * ((this._k1 + 1) * tf) / (this._k1 * (1 - this._b + this._b * (fieldLength / this.averageFieldLength[fieldName])) + tf) - score *= fieldBoost - score *= docBoost - scoreWithPrecision = Math.round(score * 1000) / 1000 - // Converts 1.23456789 to 1.234. - // Reducing the precision so that the vectors take up less - // space when serialised. Doing it now so that they behave - // the same before and after serialisation. Also, this is - // the fastest approach to reducing a number's precision in - // JavaScript. - - fieldVector.insert(termIndex, scoreWithPrecision) - } - - fieldVectors[fieldRef] = fieldVector - } - - this.fieldVectors = fieldVectors -} - -/** - * Creates a token set of all tokens in the index using lunr.TokenSet - * - * @private - */ -lunr.Builder.prototype.createTokenSet = function () { - this.tokenSet = lunr.TokenSet.fromArray( - Object.keys(this.invertedIndex).sort() - ) -} - -/** - * Builds the index, creating an instance of lunr.Index. - * - * This completes the indexing process and should only be called - * once all documents have been added to the index. - * - * @returns {lunr.Index} - */ -lunr.Builder.prototype.build = function () { - this.calculateAverageFieldLengths() - this.createFieldVectors() - this.createTokenSet() - - return new lunr.Index({ - invertedIndex: this.invertedIndex, - fieldVectors: this.fieldVectors, - tokenSet: this.tokenSet, - fields: Object.keys(this._fields), - pipeline: this.searchPipeline - }) -} - -/** - * Applies a plugin to the index builder. - * - * A plugin is a function that is called with the index builder as its context. - * Plugins can be used to customise or extend the behaviour of the index - * in some way. A plugin is just a function, that encapsulated the custom - * behaviour that should be applied when building the index. - * - * The plugin function will be called with the index builder as its argument, additional - * arguments can also be passed when calling use. The function will be called - * with the index builder as its context. - * - * @param {Function} plugin The plugin to apply. - */ -lunr.Builder.prototype.use = function (fn) { - var args = Array.prototype.slice.call(arguments, 1) - args.unshift(this) - fn.apply(this, args) -} -/** - * Contains and collects metadata about a matching document. - * A single instance of lunr.MatchData is returned as part of every - * lunr.Index~Result. - * - * @constructor - * @param {string} term - The term this match data is associated with - * @param {string} field - The field in which the term was found - * @param {object} metadata - The metadata recorded about this term in this field - * @property {object} metadata - A cloned collection of metadata associated with this document. - * @see {@link lunr.Index~Result} - */ -lunr.MatchData = function (term, field, metadata) { - var clonedMetadata = Object.create(null), - metadataKeys = Object.keys(metadata || {}) - - // Cloning the metadata to prevent the original - // being mutated during match data combination. - // Metadata is kept in an array within the inverted - // index so cloning the data can be done with - // Array#slice - for (var i = 0; i < metadataKeys.length; i++) { - var key = metadataKeys[i] - clonedMetadata[key] = metadata[key].slice() - } - - this.metadata = Object.create(null) - - if (term !== undefined) { - this.metadata[term] = Object.create(null) - this.metadata[term][field] = clonedMetadata - } -} - -/** - * An instance of lunr.MatchData will be created for every term that matches a - * document. However only one instance is required in a lunr.Index~Result. This - * method combines metadata from another instance of lunr.MatchData with this - * objects metadata. - * - * @param {lunr.MatchData} otherMatchData - Another instance of match data to merge with this one. - * @see {@link lunr.Index~Result} - */ -lunr.MatchData.prototype.combine = function (otherMatchData) { - var terms = Object.keys(otherMatchData.metadata) - - for (var i = 0; i < terms.length; i++) { - var term = terms[i], - fields = Object.keys(otherMatchData.metadata[term]) - - if (this.metadata[term] == undefined) { - this.metadata[term] = Object.create(null) - } - - for (var j = 0; j < fields.length; j++) { - var field = fields[j], - keys = Object.keys(otherMatchData.metadata[term][field]) - - if (this.metadata[term][field] == undefined) { - this.metadata[term][field] = Object.create(null) - } - - for (var k = 0; k < keys.length; k++) { - var key = keys[k] - - if (this.metadata[term][field][key] == undefined) { - this.metadata[term][field][key] = otherMatchData.metadata[term][field][key] - } else { - this.metadata[term][field][key] = this.metadata[term][field][key].concat(otherMatchData.metadata[term][field][key]) - } - - } - } - } -} - -/** - * Add metadata for a term/field pair to this instance of match data. - * - * @param {string} term - The term this match data is associated with - * @param {string} field - The field in which the term was found - * @param {object} metadata - The metadata recorded about this term in this field - */ -lunr.MatchData.prototype.add = function (term, field, metadata) { - if (!(term in this.metadata)) { - this.metadata[term] = Object.create(null) - this.metadata[term][field] = metadata - return - } - - if (!(field in this.metadata[term])) { - this.metadata[term][field] = metadata - return - } - - var metadataKeys = Object.keys(metadata) - - for (var i = 0; i < metadataKeys.length; i++) { - var key = metadataKeys[i] - - if (key in this.metadata[term][field]) { - this.metadata[term][field][key] = this.metadata[term][field][key].concat(metadata[key]) - } else { - this.metadata[term][field][key] = metadata[key] - } - } -} -/** - * A lunr.Query provides a programmatic way of defining queries to be performed - * against a {@link lunr.Index}. - * - * Prefer constructing a lunr.Query using the {@link lunr.Index#query} method - * so the query object is pre-initialized with the right index fields. - * - * @constructor - * @property {lunr.Query~Clause[]} clauses - An array of query clauses. - * @property {string[]} allFields - An array of all available fields in a lunr.Index. - */ -lunr.Query = function (allFields) { - this.clauses = [] - this.allFields = allFields -} - -/** - * Constants for indicating what kind of automatic wildcard insertion will be used when constructing a query clause. - * - * This allows wildcards to be added to the beginning and end of a term without having to manually do any string - * concatenation. - * - * The wildcard constants can be bitwise combined to select both leading and trailing wildcards. - * - * @constant - * @default - * @property {number} wildcard.NONE - The term will have no wildcards inserted, this is the default behaviour - * @property {number} wildcard.LEADING - Prepend the term with a wildcard, unless a leading wildcard already exists - * @property {number} wildcard.TRAILING - Append a wildcard to the term, unless a trailing wildcard already exists - * @see lunr.Query~Clause - * @see lunr.Query#clause - * @see lunr.Query#term - * @example query term with trailing wildcard - * query.term('foo', { wildcard: lunr.Query.wildcard.TRAILING }) - * @example query term with leading and trailing wildcard - * query.term('foo', { - * wildcard: lunr.Query.wildcard.LEADING | lunr.Query.wildcard.TRAILING - * }) - */ - -lunr.Query.wildcard = new String ("*") -lunr.Query.wildcard.NONE = 0 -lunr.Query.wildcard.LEADING = 1 -lunr.Query.wildcard.TRAILING = 2 - -/** - * Constants for indicating what kind of presence a term must have in matching documents. - * - * @constant - * @enum {number} - * @see lunr.Query~Clause - * @see lunr.Query#clause - * @see lunr.Query#term - * @example query term with required presence - * query.term('foo', { presence: lunr.Query.presence.REQUIRED }) - */ -lunr.Query.presence = { - /** - * Term's presence in a document is optional, this is the default value. - */ - OPTIONAL: 1, - - /** - * Term's presence in a document is required, documents that do not contain - * this term will not be returned. - */ - REQUIRED: 2, - - /** - * Term's presence in a document is prohibited, documents that do contain - * this term will not be returned. - */ - PROHIBITED: 3 -} - -/** - * A single clause in a {@link lunr.Query} contains a term and details on how to - * match that term against a {@link lunr.Index}. - * - * @typedef {Object} lunr.Query~Clause - * @property {string[]} fields - The fields in an index this clause should be matched against. - * @property {number} [boost=1] - Any boost that should be applied when matching this clause. - * @property {number} [editDistance] - Whether the term should have fuzzy matching applied, and how fuzzy the match should be. - * @property {boolean} [usePipeline] - Whether the term should be passed through the search pipeline. - * @property {number} [wildcard=lunr.Query.wildcard.NONE] - Whether the term should have wildcards appended or prepended. - * @property {number} [presence=lunr.Query.presence.OPTIONAL] - The terms presence in any matching documents. - */ - -/** - * Adds a {@link lunr.Query~Clause} to this query. - * - * Unless the clause contains the fields to be matched all fields will be matched. In addition - * a default boost of 1 is applied to the clause. - * - * @param {lunr.Query~Clause} clause - The clause to add to this query. - * @see lunr.Query~Clause - * @returns {lunr.Query} - */ -lunr.Query.prototype.clause = function (clause) { - if (!('fields' in clause)) { - clause.fields = this.allFields - } - - if (!('boost' in clause)) { - clause.boost = 1 - } - - if (!('usePipeline' in clause)) { - clause.usePipeline = true - } - - if (!('wildcard' in clause)) { - clause.wildcard = lunr.Query.wildcard.NONE - } - - if ((clause.wildcard & lunr.Query.wildcard.LEADING) && (clause.term.charAt(0) != lunr.Query.wildcard)) { - clause.term = "*" + clause.term - } - - if ((clause.wildcard & lunr.Query.wildcard.TRAILING) && (clause.term.slice(-1) != lunr.Query.wildcard)) { - clause.term = "" + clause.term + "*" - } - - if (!('presence' in clause)) { - clause.presence = lunr.Query.presence.OPTIONAL - } - - this.clauses.push(clause) - - return this -} - -/** - * A negated query is one in which every clause has a presence of - * prohibited. These queries require some special processing to return - * the expected results. - * - * @returns boolean - */ -lunr.Query.prototype.isNegated = function () { - for (var i = 0; i < this.clauses.length; i++) { - if (this.clauses[i].presence != lunr.Query.presence.PROHIBITED) { - return false - } - } - - return true -} - -/** - * Adds a term to the current query, under the covers this will create a {@link lunr.Query~Clause} - * to the list of clauses that make up this query. - * - * The term is used as is, i.e. no tokenization will be performed by this method. Instead conversion - * to a token or token-like string should be done before calling this method. - * - * The term will be converted to a string by calling `toString`. Multiple terms can be passed as an - * array, each term in the array will share the same options. - * - * @param {object|object[]} term - The term(s) to add to the query. - * @param {object} [options] - Any additional properties to add to the query clause. - * @returns {lunr.Query} - * @see lunr.Query#clause - * @see lunr.Query~Clause - * @example adding a single term to a query - * query.term("foo") - * @example adding a single term to a query and specifying search fields, term boost and automatic trailing wildcard - * query.term("foo", { - * fields: ["title"], - * boost: 10, - * wildcard: lunr.Query.wildcard.TRAILING - * }) - * @example using lunr.tokenizer to convert a string to tokens before using them as terms - * query.term(lunr.tokenizer("foo bar")) - */ -lunr.Query.prototype.term = function (term, options) { - if (Array.isArray(term)) { - term.forEach(function (t) { this.term(t, lunr.utils.clone(options)) }, this) - return this - } - - var clause = options || {} - clause.term = term.toString() - - this.clause(clause) - - return this -} -lunr.QueryParseError = function (message, start, end) { - this.name = "QueryParseError" - this.message = message - this.start = start - this.end = end -} - -lunr.QueryParseError.prototype = new Error -lunr.QueryLexer = function (str) { - this.lexemes = [] - this.str = str - this.length = str.length - this.pos = 0 - this.start = 0 - this.escapeCharPositions = [] -} - -lunr.QueryLexer.prototype.run = function () { - var state = lunr.QueryLexer.lexText - - while (state) { - state = state(this) - } -} - -lunr.QueryLexer.prototype.sliceString = function () { - var subSlices = [], - sliceStart = this.start, - sliceEnd = this.pos - - for (var i = 0; i < this.escapeCharPositions.length; i++) { - sliceEnd = this.escapeCharPositions[i] - subSlices.push(this.str.slice(sliceStart, sliceEnd)) - sliceStart = sliceEnd + 1 - } - - subSlices.push(this.str.slice(sliceStart, this.pos)) - this.escapeCharPositions.length = 0 - - return subSlices.join('') -} - -lunr.QueryLexer.prototype.emit = function (type) { - this.lexemes.push({ - type: type, - str: this.sliceString(), - start: this.start, - end: this.pos - }) - - this.start = this.pos -} - -lunr.QueryLexer.prototype.escapeCharacter = function () { - this.escapeCharPositions.push(this.pos - 1) - this.pos += 1 -} - -lunr.QueryLexer.prototype.next = function () { - if (this.pos >= this.length) { - return lunr.QueryLexer.EOS - } - - var char = this.str.charAt(this.pos) - this.pos += 1 - return char -} - -lunr.QueryLexer.prototype.width = function () { - return this.pos - this.start -} - -lunr.QueryLexer.prototype.ignore = function () { - if (this.start == this.pos) { - this.pos += 1 - } - - this.start = this.pos -} - -lunr.QueryLexer.prototype.backup = function () { - this.pos -= 1 -} - -lunr.QueryLexer.prototype.acceptDigitRun = function () { - var char, charCode - - do { - char = this.next() - charCode = char.charCodeAt(0) - } while (charCode > 47 && charCode < 58) - - if (char != lunr.QueryLexer.EOS) { - this.backup() - } -} - -lunr.QueryLexer.prototype.more = function () { - return this.pos < this.length -} - -lunr.QueryLexer.EOS = 'EOS' -lunr.QueryLexer.FIELD = 'FIELD' -lunr.QueryLexer.TERM = 'TERM' -lunr.QueryLexer.EDIT_DISTANCE = 'EDIT_DISTANCE' -lunr.QueryLexer.BOOST = 'BOOST' -lunr.QueryLexer.PRESENCE = 'PRESENCE' - -lunr.QueryLexer.lexField = function (lexer) { - lexer.backup() - lexer.emit(lunr.QueryLexer.FIELD) - lexer.ignore() - return lunr.QueryLexer.lexText -} - -lunr.QueryLexer.lexTerm = function (lexer) { - if (lexer.width() > 1) { - lexer.backup() - lexer.emit(lunr.QueryLexer.TERM) - } - - lexer.ignore() - - if (lexer.more()) { - return lunr.QueryLexer.lexText - } -} - -lunr.QueryLexer.lexEditDistance = function (lexer) { - lexer.ignore() - lexer.acceptDigitRun() - lexer.emit(lunr.QueryLexer.EDIT_DISTANCE) - return lunr.QueryLexer.lexText -} - -lunr.QueryLexer.lexBoost = function (lexer) { - lexer.ignore() - lexer.acceptDigitRun() - lexer.emit(lunr.QueryLexer.BOOST) - return lunr.QueryLexer.lexText -} - -lunr.QueryLexer.lexEOS = function (lexer) { - if (lexer.width() > 0) { - lexer.emit(lunr.QueryLexer.TERM) - } -} - -// This matches the separator used when tokenising fields -// within a document. These should match otherwise it is -// not possible to search for some tokens within a document. -// -// It is possible for the user to change the separator on the -// tokenizer so it _might_ clash with any other of the special -// characters already used within the search string, e.g. :. -// -// This means that it is possible to change the separator in -// such a way that makes some words unsearchable using a search -// string. -lunr.QueryLexer.termSeparator = lunr.tokenizer.separator - -lunr.QueryLexer.lexText = function (lexer) { - while (true) { - var char = lexer.next() - - if (char == lunr.QueryLexer.EOS) { - return lunr.QueryLexer.lexEOS - } - - // Escape character is '\' - if (char.charCodeAt(0) == 92) { - lexer.escapeCharacter() - continue - } - - if (char == ":") { - return lunr.QueryLexer.lexField - } - - if (char == "~") { - lexer.backup() - if (lexer.width() > 0) { - lexer.emit(lunr.QueryLexer.TERM) - } - return lunr.QueryLexer.lexEditDistance - } - - if (char == "^") { - lexer.backup() - if (lexer.width() > 0) { - lexer.emit(lunr.QueryLexer.TERM) - } - return lunr.QueryLexer.lexBoost - } - - // "+" indicates term presence is required - // checking for length to ensure that only - // leading "+" are considered - if (char == "+" && lexer.width() === 1) { - lexer.emit(lunr.QueryLexer.PRESENCE) - return lunr.QueryLexer.lexText - } - - // "-" indicates term presence is prohibited - // checking for length to ensure that only - // leading "-" are considered - if (char == "-" && lexer.width() === 1) { - lexer.emit(lunr.QueryLexer.PRESENCE) - return lunr.QueryLexer.lexText - } - - if (char.match(lunr.QueryLexer.termSeparator)) { - return lunr.QueryLexer.lexTerm - } - } -} - -lunr.QueryParser = function (str, query) { - this.lexer = new lunr.QueryLexer (str) - this.query = query - this.currentClause = {} - this.lexemeIdx = 0 -} - -lunr.QueryParser.prototype.parse = function () { - this.lexer.run() - this.lexemes = this.lexer.lexemes - - var state = lunr.QueryParser.parseClause - - while (state) { - state = state(this) - } - - return this.query -} - -lunr.QueryParser.prototype.peekLexeme = function () { - return this.lexemes[this.lexemeIdx] -} - -lunr.QueryParser.prototype.consumeLexeme = function () { - var lexeme = this.peekLexeme() - this.lexemeIdx += 1 - return lexeme -} - -lunr.QueryParser.prototype.nextClause = function () { - var completedClause = this.currentClause - this.query.clause(completedClause) - this.currentClause = {} -} - -lunr.QueryParser.parseClause = function (parser) { - var lexeme = parser.peekLexeme() - - if (lexeme == undefined) { - return - } - - switch (lexeme.type) { - case lunr.QueryLexer.PRESENCE: - return lunr.QueryParser.parsePresence - case lunr.QueryLexer.FIELD: - return lunr.QueryParser.parseField - case lunr.QueryLexer.TERM: - return lunr.QueryParser.parseTerm - default: - var errorMessage = "expected either a field or a term, found " + lexeme.type - - if (lexeme.str.length >= 1) { - errorMessage += " with value '" + lexeme.str + "'" - } - - throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) - } -} - -lunr.QueryParser.parsePresence = function (parser) { - var lexeme = parser.consumeLexeme() - - if (lexeme == undefined) { - return - } - - switch (lexeme.str) { - case "-": - parser.currentClause.presence = lunr.Query.presence.PROHIBITED - break - case "+": - parser.currentClause.presence = lunr.Query.presence.REQUIRED - break - default: - var errorMessage = "unrecognised presence operator'" + lexeme.str + "'" - throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) - } - - var nextLexeme = parser.peekLexeme() - - if (nextLexeme == undefined) { - var errorMessage = "expecting term or field, found nothing" - throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) - } - - switch (nextLexeme.type) { - case lunr.QueryLexer.FIELD: - return lunr.QueryParser.parseField - case lunr.QueryLexer.TERM: - return lunr.QueryParser.parseTerm - default: - var errorMessage = "expecting term or field, found '" + nextLexeme.type + "'" - throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) - } -} - -lunr.QueryParser.parseField = function (parser) { - var lexeme = parser.consumeLexeme() - - if (lexeme == undefined) { - return - } - - if (parser.query.allFields.indexOf(lexeme.str) == -1) { - var possibleFields = parser.query.allFields.map(function (f) { return "'" + f + "'" }).join(', '), - errorMessage = "unrecognised field '" + lexeme.str + "', possible fields: " + possibleFields - - throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) - } - - parser.currentClause.fields = [lexeme.str] - - var nextLexeme = parser.peekLexeme() - - if (nextLexeme == undefined) { - var errorMessage = "expecting term, found nothing" - throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) - } - - switch (nextLexeme.type) { - case lunr.QueryLexer.TERM: - return lunr.QueryParser.parseTerm - default: - var errorMessage = "expecting term, found '" + nextLexeme.type + "'" - throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) - } -} - -lunr.QueryParser.parseTerm = function (parser) { - var lexeme = parser.consumeLexeme() - - if (lexeme == undefined) { - return - } - - parser.currentClause.term = lexeme.str.toLowerCase() - - if (lexeme.str.indexOf("*") != -1) { - parser.currentClause.usePipeline = false - } - - var nextLexeme = parser.peekLexeme() - - if (nextLexeme == undefined) { - parser.nextClause() - return - } - - switch (nextLexeme.type) { - case lunr.QueryLexer.TERM: - parser.nextClause() - return lunr.QueryParser.parseTerm - case lunr.QueryLexer.FIELD: - parser.nextClause() - return lunr.QueryParser.parseField - case lunr.QueryLexer.EDIT_DISTANCE: - return lunr.QueryParser.parseEditDistance - case lunr.QueryLexer.BOOST: - return lunr.QueryParser.parseBoost - case lunr.QueryLexer.PRESENCE: - parser.nextClause() - return lunr.QueryParser.parsePresence - default: - var errorMessage = "Unexpected lexeme type '" + nextLexeme.type + "'" - throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) - } -} - -lunr.QueryParser.parseEditDistance = function (parser) { - var lexeme = parser.consumeLexeme() - - if (lexeme == undefined) { - return - } - - var editDistance = parseInt(lexeme.str, 10) - - if (isNaN(editDistance)) { - var errorMessage = "edit distance must be numeric" - throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) - } - - parser.currentClause.editDistance = editDistance - - var nextLexeme = parser.peekLexeme() - - if (nextLexeme == undefined) { - parser.nextClause() - return - } - - switch (nextLexeme.type) { - case lunr.QueryLexer.TERM: - parser.nextClause() - return lunr.QueryParser.parseTerm - case lunr.QueryLexer.FIELD: - parser.nextClause() - return lunr.QueryParser.parseField - case lunr.QueryLexer.EDIT_DISTANCE: - return lunr.QueryParser.parseEditDistance - case lunr.QueryLexer.BOOST: - return lunr.QueryParser.parseBoost - case lunr.QueryLexer.PRESENCE: - parser.nextClause() - return lunr.QueryParser.parsePresence - default: - var errorMessage = "Unexpected lexeme type '" + nextLexeme.type + "'" - throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) - } -} - -lunr.QueryParser.parseBoost = function (parser) { - var lexeme = parser.consumeLexeme() - - if (lexeme == undefined) { - return - } - - var boost = parseInt(lexeme.str, 10) - - if (isNaN(boost)) { - var errorMessage = "boost must be numeric" - throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) - } - - parser.currentClause.boost = boost - - var nextLexeme = parser.peekLexeme() - - if (nextLexeme == undefined) { - parser.nextClause() - return - } - - switch (nextLexeme.type) { - case lunr.QueryLexer.TERM: - parser.nextClause() - return lunr.QueryParser.parseTerm - case lunr.QueryLexer.FIELD: - parser.nextClause() - return lunr.QueryParser.parseField - case lunr.QueryLexer.EDIT_DISTANCE: - return lunr.QueryParser.parseEditDistance - case lunr.QueryLexer.BOOST: - return lunr.QueryParser.parseBoost - case lunr.QueryLexer.PRESENCE: - parser.nextClause() - return lunr.QueryParser.parsePresence - default: - var errorMessage = "Unexpected lexeme type '" + nextLexeme.type + "'" - throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) - } -} - - /** - * export the module via AMD, CommonJS or as a browser global - * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js - */ - ;(function (root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(factory) - } else if (typeof exports === 'object') { - /** - * Node. Does not work with strict CommonJS, but - * only CommonJS-like enviroments that support module.exports, - * like Node. - */ - module.exports = factory() - } else { - // Browser globals (root is window) - root.lunr = factory() - } - }(this, function () { - /** - * Just return a value to define the module export. - * This example returns an object, but the module - * can return a function as the exported value. - */ - return lunr - })) -})(); diff --git a/docs/api/rest_api/rest_api_reference/assets/js/search.js b/docs/api/rest_api/rest_api_reference/assets/js/search.js deleted file mode 100644 index 052d5824e1..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/js/search.js +++ /dev/null @@ -1,216 +0,0 @@ -'use strict'; - -let index = lunr.Index; -const builder = new lunr.Builder; -const searchSections = document.querySelectorAll('.search-container'); -const searchResults = document.getElementById('search-results'); -const searchInput = document.getElementById('search-input'); -const dropdownMenu = document.getElementById('dropdownMenuLink'); - -configureIndexBuilder(); -addIndexes(); -index = builder.build(); - -searchInput.addEventListener('keyup', search); - -document.addEventListener('keyup', event => { - if (event.keyCode === 27) { - hideResultsBlock(); - this.value = ''; - } -}); - -document.addEventListener('click', event => { - if (event.target !== searchResults) { - hideResultsBlock(); - } - - if (event.target === searchInput && event.target.value.trim()) { - showResultsBlock(); - } -}); - -dropdownMenu.addEventListener('click', event => { - hideResultsBlock(); -}); - -function configureIndexBuilder() { - builder.ref('id'); - builder.field('name'); - builder.field('body'); - builder.field('root'); - builder.field('url'); -} - -function addIndexes() { - searchSections.forEach(searchSection => { - const name = getEndpointName(searchSection); - const body = getEndpointBody(searchSection); - const url = getEndpointUrl(searchSection); - - addIndex( - name.id, - name.textContent.trim(), - body ? body.textContent : '', - searchSection.dataset.parent, - `/${url.textContent.slice(1)}` - ); - }); -} - -function addIndex(id, name, body, root, url) { - builder.add({ - id: id, - name: name, - body: body, - root: root, - url: url - }); -} - -function search(event) { - if (this.value.length > 0 && this.value.trim()) { - showResultsBlock(); - showResults( - getResults(this.value) - ); - } else { - hideResultsBlock(); - } -} - -function getResults(searchValue) { - const results = executeQuery(searchValue, buildQuery(searchValue)); - - if (results.length === 0 && isLogicalAnd(searchValue)) { - return executeQuery(searchValue, getLogicalAndQueryWithLeadingAndTrailingWildcards()); - } - - if (results.length === 0 && !isLogicalAnd(searchValue)) { - return executeQuery(searchValue, getQueryWithLeadingAndTrailingWildcards()); - } - - return results; -} - -function executeQuery(searchValue, options) { - return index.query(query => { - query.term(lunr.tokenizer(parseSearchValue(searchValue)), options); - }); -} - -function parseSearchValue(searchValue) { - if (!isLogicalAnd(searchValue)) { - return searchValue; - } - - return searchValue.slice(1,-1); -} - -function isLogicalAnd(searchValue) { - return searchValue.charAt(0) === '"' - && searchValue.charAt(searchValue.length-1) === '"'; -} - -function buildLogicalAndQuery() { - return { - presence: lunr.Query.presence.REQUIRED - }; -} - -function buildQuery(searchValue) { - if (isLogicalAnd(searchValue)) { - return buildLogicalAndQuery(); - } - - return { - wildcard: lunr.Query.wildcard.TRAILING - } -} - -function getQueryWithLeadingAndTrailingWildcards() { - return { - wildcard: lunr.Query.wildcard.LEADING | lunr.Query.wildcard.TRAILING - } -} - -function getLogicalAndQueryWithLeadingAndTrailingWildcards() { - return { - presence: lunr.Query.presence.REQUIRED, - wildcard: lunr.Query.wildcard.LEADING | lunr.Query.wildcard.TRAILING - } -} - -function showResults(results) { - searchResults.innerHTML = 'close'; - - if (results.length > 0) { - results.forEach(result => { - const endpointSection = document.getElementById(`${result.ref}-section`); - let resultRow = document.createElement('div'); - resultRow.classList.add('border-bottom'); - - const name = getEndpointName(endpointSection); - const body = getEndpointBody(endpointSection); - - resultRow.innerHTML = ` -

    - ${name.textContent.replace(/[.¶]/g, '')} - ${endpointSection.dataset.parent} -

    -

    - ${getEndpointMethod(endpointSection).outerHTML} - ${getEndpointUrl(endpointSection).outerHTML} -

    -

    ${body.textContent.trim()}

    -
    `; - - searchResults.append(resultRow); - highlight(); - }); - - const searchLinks = document.querySelectorAll('.search__link'); - - searchLinks.forEach(link => { - link.addEventListener('click', event =>{ - if (document.body.classList.contains('mobile-menu-expanded')) { - document.body.classList.remove('mobile-menu-expanded') - } - - hideResultsBlock(); - }); - }); - } else { - searchResults.innerHTML += '

    No results

    '; - } -} - -function highlight() { - let words = searchInput.value.replace(/[.*"]/g, '').split(' '); - $(searchResults).highlight(words); -} - -function showResultsBlock() { - document.body.classList.add('overflow-hidden'); - searchResults.classList.remove('d-none'); -} - -function hideResultsBlock() { - document.body.classList.remove('overflow-hidden'); - searchResults.classList.add('d-none'); -} - -function getEndpointName(section) { - return section.querySelector('[data-field="name"]'); -} - -function getEndpointBody(section) { - return section.querySelector('[data-field="body"]'); -} - -function getEndpointUrl(section) { - return section.querySelector('[data-field="url"]'); -} - -function getEndpointMethod(section) { - return section.querySelector('[data-field="method"]'); -} diff --git a/docs/api/rest_api/rest_api_reference/assets/js/stickyfill.js b/docs/api/rest_api/rest_api_reference/assets/js/stickyfill.js deleted file mode 100644 index 9b8c6c0e3f..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/js/stickyfill.js +++ /dev/null @@ -1,546 +0,0 @@ -/*! - * Stickyfill – `position: sticky` polyfill - * v. 2.1.0 | https://github.com/wilddeer/stickyfill - * MIT License - */ - -;(function(window, document) { - 'use strict'; - - /* - * 1. Check if the browser supports `position: sticky` natively or is too old to run the polyfill. - * If either of these is the case set `seppuku` flag. It will be checked later to disable key features - * of the polyfill, but the API will remain functional to avoid breaking things. - */ - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var seppuku = false; - - var isWindowDefined = typeof window !== 'undefined'; - - // The polyfill can’t function properly without `window` or `window.getComputedStyle`. - if (!isWindowDefined || !window.getComputedStyle) seppuku = true; - // Dont’t get in a way if the browser supports `position: sticky` natively. - else { - (function () { - var testNode = document.createElement('div'); - - if (['', '-webkit-', '-moz-', '-ms-'].some(function (prefix) { - try { - testNode.style.position = prefix + 'sticky'; - } catch (e) {} - - return testNode.style.position != ''; - })) seppuku = true; - })(); - } - - /* - * 2. “Global” vars used across the polyfill - */ - var isInitialized = false; - - // Check if Shadow Root constructor exists to make further checks simpler - var shadowRootExists = typeof ShadowRoot !== 'undefined'; - - // Last saved scroll position - var scroll = { - top: null, - left: null - }; - - // Array of created Sticky instances - var stickies = []; - - /* - * 3. Utility functions - */ - function extend(targetObj, sourceObject) { - for (var key in sourceObject) { - if (sourceObject.hasOwnProperty(key)) { - targetObj[key] = sourceObject[key]; - } - } - } - - function parseNumeric(val) { - return parseFloat(val) || 0; - } - - function getDocOffsetTop(node) { - var docOffsetTop = 0; - - while (node) { - docOffsetTop += node.offsetTop; - node = node.offsetParent; - } - - return docOffsetTop; - } - - /* - * 4. Sticky class - */ - - var Sticky = function () { - function Sticky(node) { - _classCallCheck(this, Sticky); - - if (!(node instanceof HTMLElement)) throw new Error('First argument must be HTMLElement'); - if (stickies.some(function (sticky) { - return sticky._node === node; - })) throw new Error('Stickyfill is already applied to this node'); - - this._node = node; - this._stickyMode = null; - this._active = false; - - stickies.push(this); - - this.refresh(); - } - - _createClass(Sticky, [{ - key: 'refresh', - value: function refresh() { - if (seppuku || this._removed) return; - if (this._active) this._deactivate(); - - var node = this._node; - - /* - * 1. Save node computed props - */ - var nodeComputedStyle = getComputedStyle(node); - var nodeComputedProps = { - position: nodeComputedStyle.position, - top: nodeComputedStyle.top, - display: nodeComputedStyle.display, - marginTop: nodeComputedStyle.marginTop, - marginBottom: nodeComputedStyle.marginBottom, - marginLeft: nodeComputedStyle.marginLeft, - marginRight: nodeComputedStyle.marginRight, - cssFloat: nodeComputedStyle.cssFloat - }; - - /* - * 2. Check if the node can be activated - */ - if (isNaN(parseFloat(nodeComputedProps.top)) || nodeComputedProps.display == 'table-cell' || nodeComputedProps.display == 'none') return; - - this._active = true; - - /* - * 3. Check if the current node position is `sticky`. If it is, it means that the browser supports sticky positioning, - * but the polyfill was force-enabled. We set the node’s position to `static` before continuing, so that the node - * is in it’s initial position when we gather its params. - */ - var originalPosition = node.style.position; - if (nodeComputedStyle.position == 'sticky' || nodeComputedStyle.position == '-webkit-sticky') node.style.position = 'static'; - - /* - * 4. Get necessary node parameters - */ - var referenceNode = node.parentNode; - var parentNode = shadowRootExists && referenceNode instanceof ShadowRoot ? referenceNode.host : referenceNode; - var nodeWinOffset = node.getBoundingClientRect(); - var parentWinOffset = parentNode.getBoundingClientRect(); - var parentComputedStyle = getComputedStyle(parentNode); - - this._parent = { - node: parentNode, - styles: { - position: parentNode.style.position - }, - offsetHeight: parentNode.offsetHeight - }; - this._offsetToWindow = { - left: nodeWinOffset.left, - right: document.documentElement.clientWidth - nodeWinOffset.right - }; - this._offsetToParent = { - top: nodeWinOffset.top - parentWinOffset.top - parseNumeric(parentComputedStyle.borderTopWidth), - left: nodeWinOffset.left - parentWinOffset.left - parseNumeric(parentComputedStyle.borderLeftWidth), - right: -nodeWinOffset.right + parentWinOffset.right - parseNumeric(parentComputedStyle.borderRightWidth) - }; - this._styles = { - position: originalPosition, - top: node.style.top, - bottom: node.style.bottom, - left: node.style.left, - right: node.style.right, - width: node.style.width, - marginTop: node.style.marginTop, - marginLeft: node.style.marginLeft, - marginRight: node.style.marginRight - }; - - var nodeTopValue = parseNumeric(nodeComputedProps.top); - this._limits = { - start: nodeWinOffset.top + window.pageYOffset - nodeTopValue, - end: parentWinOffset.top + window.pageYOffset + parentNode.offsetHeight - parseNumeric(parentComputedStyle.borderBottomWidth) - node.offsetHeight - nodeTopValue - parseNumeric(nodeComputedProps.marginBottom) - }; - - /* - * 5. Ensure that the node will be positioned relatively to the parent node - */ - var parentPosition = parentComputedStyle.position; - - if (parentPosition != 'absolute' && parentPosition != 'relative') { - parentNode.style.position = 'relative'; - } - - /* - * 6. Recalc node position. - * It’s important to do this before clone injection to avoid scrolling bug in Chrome. - */ - this._recalcPosition(); - - /* - * 7. Create a clone - */ - var clone = this._clone = {}; - clone.node = document.createElement('div'); - - // Apply styles to the clone - extend(clone.node.style, { - width: nodeWinOffset.right - nodeWinOffset.left + 'px', - height: nodeWinOffset.bottom - nodeWinOffset.top + 'px', - marginTop: nodeComputedProps.marginTop, - marginBottom: nodeComputedProps.marginBottom, - marginLeft: nodeComputedProps.marginLeft, - marginRight: nodeComputedProps.marginRight, - cssFloat: nodeComputedProps.cssFloat, - padding: 0, - border: 0, - borderSpacing: 0, - fontSize: '1em', - position: 'static' - }); - - referenceNode.insertBefore(clone.node, node); - clone.docOffsetTop = getDocOffsetTop(clone.node); - } - }, { - key: '_recalcPosition', - value: function _recalcPosition() { - if (!this._active || this._removed) return; - - var stickyMode = scroll.top <= this._limits.start ? 'start' : scroll.top >= this._limits.end ? 'end' : 'middle'; - - if (this._stickyMode == stickyMode) return; - - switch (stickyMode) { - case 'start': - extend(this._node.style, { - position: 'absolute', - left: this._offsetToParent.left + 'px', - right: this._offsetToParent.right + 'px', - top: this._offsetToParent.top + 'px', - bottom: 'auto', - width: 'auto', - marginLeft: 0, - marginRight: 0, - marginTop: 0 - }); - break; - - case 'middle': - extend(this._node.style, { - position: 'fixed', - left: this._offsetToWindow.left + 'px', - right: this._offsetToWindow.right + 'px', - top: this._styles.top, - bottom: 'auto', - width: 'auto', - marginLeft: 0, - marginRight: 0, - marginTop: 0 - }); - break; - - case 'end': - extend(this._node.style, { - position: 'absolute', - left: this._offsetToParent.left + 'px', - right: this._offsetToParent.right + 'px', - top: 'auto', - bottom: 0, - width: 'auto', - marginLeft: 0, - marginRight: 0 - }); - break; - } - - this._stickyMode = stickyMode; - } - }, { - key: '_fastCheck', - value: function _fastCheck() { - if (!this._active || this._removed) return; - - if (Math.abs(getDocOffsetTop(this._clone.node) - this._clone.docOffsetTop) > 1 || Math.abs(this._parent.node.offsetHeight - this._parent.offsetHeight) > 1) this.refresh(); - } - }, { - key: '_deactivate', - value: function _deactivate() { - var _this = this; - - if (!this._active || this._removed) return; - - this._clone.node.parentNode.removeChild(this._clone.node); - delete this._clone; - - extend(this._node.style, this._styles); - delete this._styles; - - // Check whether element’s parent node is used by other stickies. - // If not, restore parent node’s styles. - if (!stickies.some(function (sticky) { - return sticky !== _this && sticky._parent && sticky._parent.node === _this._parent.node; - })) { - extend(this._parent.node.style, this._parent.styles); - } - delete this._parent; - - this._stickyMode = null; - this._active = false; - - delete this._offsetToWindow; - delete this._offsetToParent; - delete this._limits; - } - }, { - key: 'remove', - value: function remove() { - var _this2 = this; - - this._deactivate(); - - stickies.some(function (sticky, index) { - if (sticky._node === _this2._node) { - stickies.splice(index, 1); - return true; - } - }); - - this._removed = true; - } - }]); - - return Sticky; - }(); - - /* - * 5. Stickyfill API - */ - - - var Stickyfill = { - stickies: stickies, - Sticky: Sticky, - - forceSticky: function forceSticky() { - seppuku = false; - init(); - - this.refreshAll(); - }, - addOne: function addOne(node) { - // Check whether it’s a node - if (!(node instanceof HTMLElement)) { - // Maybe it’s a node list of some sort? - // Take first node from the list then - if (node.length && node[0]) node = node[0];else return; - } - - // Check if Stickyfill is already applied to the node - // and return existing sticky - for (var i = 0; i < stickies.length; i++) { - if (stickies[i]._node === node) return stickies[i]; - } - - // Create and return new sticky - return new Sticky(node); - }, - add: function add(nodeList) { - // If it’s a node make an array of one node - if (nodeList instanceof HTMLElement) nodeList = [nodeList]; - // Check if the argument is an iterable of some sort - if (!nodeList.length) return; - - // Add every element as a sticky and return an array of created Sticky instances - var addedStickies = []; - - var _loop = function _loop(i) { - var node = nodeList[i]; - - // If it’s not an HTMLElement – create an empty element to preserve 1-to-1 - // correlation with input list - if (!(node instanceof HTMLElement)) { - addedStickies.push(void 0); - return 'continue'; - } - - // If Stickyfill is already applied to the node - // add existing sticky - if (stickies.some(function (sticky) { - if (sticky._node === node) { - addedStickies.push(sticky); - return true; - } - })) return 'continue'; - - // Create and add new sticky - addedStickies.push(new Sticky(node)); - }; - - for (var i = 0; i < nodeList.length; i++) { - var _ret2 = _loop(i); - - if (_ret2 === 'continue') continue; - } - - return addedStickies; - }, - refreshAll: function refreshAll() { - stickies.forEach(function (sticky) { - return sticky.refresh(); - }); - }, - removeOne: function removeOne(node) { - // Check whether it’s a node - if (!(node instanceof HTMLElement)) { - // Maybe it’s a node list of some sort? - // Take first node from the list then - if (node.length && node[0]) node = node[0];else return; - } - - // Remove the stickies bound to the nodes in the list - stickies.some(function (sticky) { - if (sticky._node === node) { - sticky.remove(); - return true; - } - }); - }, - remove: function remove(nodeList) { - // If it’s a node make an array of one node - if (nodeList instanceof HTMLElement) nodeList = [nodeList]; - // Check if the argument is an iterable of some sort - if (!nodeList.length) return; - - // Remove the stickies bound to the nodes in the list - - var _loop2 = function _loop2(i) { - var node = nodeList[i]; - - stickies.some(function (sticky) { - if (sticky._node === node) { - sticky.remove(); - return true; - } - }); - }; - - for (var i = 0; i < nodeList.length; i++) { - _loop2(i); - } - }, - removeAll: function removeAll() { - while (stickies.length) { - stickies[0].remove(); - } - } - }; - - /* - * 6. Setup events (unless the polyfill was disabled) - */ - function init() { - if (isInitialized) { - return; - } - - isInitialized = true; - - // Watch for scroll position changes and trigger recalc/refresh if needed - function checkScroll() { - if (window.pageXOffset != scroll.left) { - scroll.top = window.pageYOffset; - scroll.left = window.pageXOffset; - - Stickyfill.refreshAll(); - } else if (window.pageYOffset != scroll.top) { - scroll.top = window.pageYOffset; - scroll.left = window.pageXOffset; - - // recalc position for all stickies - stickies.forEach(function (sticky) { - return sticky._recalcPosition(); - }); - } - } - - checkScroll(); - window.addEventListener('scroll', checkScroll); - - // Watch for window resizes and device orientation changes and trigger refresh - window.addEventListener('resize', Stickyfill.refreshAll); - window.addEventListener('orientationchange', Stickyfill.refreshAll); - - //Fast dirty check for layout changes every 500ms - var fastCheckTimer = void 0; - - function startFastCheckTimer() { - fastCheckTimer = setInterval(function () { - stickies.forEach(function (sticky) { - return sticky._fastCheck(); - }); - }, 500); - } - - function stopFastCheckTimer() { - clearInterval(fastCheckTimer); - } - - var docHiddenKey = void 0; - var visibilityChangeEventName = void 0; - - if ('hidden' in document) { - docHiddenKey = 'hidden'; - visibilityChangeEventName = 'visibilitychange'; - } else if ('webkitHidden' in document) { - docHiddenKey = 'webkitHidden'; - visibilityChangeEventName = 'webkitvisibilitychange'; - } - - if (visibilityChangeEventName) { - if (!document[docHiddenKey]) startFastCheckTimer(); - - document.addEventListener(visibilityChangeEventName, function () { - if (document[docHiddenKey]) { - stopFastCheckTimer(); - } else { - startFastCheckTimer(); - } - }); - } else startFastCheckTimer(); - } - - if (!seppuku) init(); - - /* - * 7. Expose Stickyfill - */ - if (typeof module != 'undefined' && module.exports) { - module.exports = Stickyfill; - } else if (isWindowDefined) { - window.Stickyfill = Stickyfill; - } - -})(window, document); diff --git a/docs/api/rest_api/rest_api_reference/assets/js/toc.js b/docs/api/rest_api/rest_api_reference/assets/js/toc.js deleted file mode 100644 index 3a04fc4739..0000000000 --- a/docs/api/rest_api/rest_api_reference/assets/js/toc.js +++ /dev/null @@ -1,62 +0,0 @@ -$(function () { - const tocRootPositions = document.querySelectorAll('#toc > .navbar-nav > li > .nav-link'); - - tocRootPositions.forEach(rootPosition => { - const arrow = document.createElement('i'); - arrow.classList.add('material-icons', 'nav__link--toggler'); - arrow.innerHTML = 'keyboard_arrow_down'; - - rootPosition.append(arrow); - }); - - const navToggler = document.querySelectorAll('.nav__link--toggler'); - navToggler.forEach(toggler => { - toggler.addEventListener('click', event => { - event.preventDefault(); - - const parentAnchor = event.target.parentNode; - const subMenu = parentAnchor.nextElementSibling; - - if (!event.target.classList.contains('toggler--rotated') - && parentAnchor.classList.contains('active')) { - event.target.classList.toggle('toggler--rotated-0'); - event.target.classList.remove('toggler--rotated'); - } else if(event.target.classList.contains('toggler--rotated') - && parentAnchor.classList.contains('active')) { - event.target.classList.add('toggler--rotated-0'); - event.target.classList.remove('toggler--rotated'); - } else { - event.target.classList.toggle('toggler--rotated'); - } - - if (parentAnchor.classList.contains('active')) { - subMenu.classList.remove('d-block'); - subMenu.classList.toggle('d-none'); - } else { - subMenu.classList.remove('d-none'); - subMenu.classList.toggle('d-block'); - } - }); - }); - - $(window).on('activate.bs.scrollspy', function (e, obj) { - const navBar = document.querySelector('.sidebar__nav'); - const link = navBar.querySelector(`.nav-link[href="${obj.relatedTarget}"]`); - const activeRootNode = navBar.querySelector('.nav-link.active'); - - activeRootNode.childNodes.forEach(childNode => { - if (typeof childNode.classList !== "undefined" - && childNode.classList.contains('nav__link--toggler')) { - childNode.classList.remove('toggler--rotated-0'); - } - }); - - if (activeRootNode.nextElementSibling.classList.contains('d-none')) { - activeRootNode.nextElementSibling.classList.remove('d-none'); - } - - navBar.scrollTop = link.offsetTop; - }); - - $('body').scrollspy({ target: '#toc' }); -}) diff --git a/docs/api/rest_api/rest_api_reference/favicon.ico b/docs/api/rest_api/rest_api_reference/favicon.ico deleted file mode 100644 index 80d6b5f199..0000000000 Binary files a/docs/api/rest_api/rest_api_reference/favicon.ico and /dev/null differ diff --git a/docs/api/rest_api/rest_api_reference/input/.editorconfig b/docs/api/rest_api/rest_api_reference/input/.editorconfig deleted file mode 100644 index 3f64c2264d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/.editorconfig +++ /dev/null @@ -1,4 +0,0 @@ -root = true -[*.raml] -indent_size = 4 -indent_style = space diff --git a/docs/api/rest_api/rest_api_reference/input/examples/GET/Root.json.example b/docs/api/rest_api/rest_api_reference/input/examples/GET/Root.json.example deleted file mode 100644 index e78d9b52b9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/GET/Root.json.example +++ /dev/null @@ -1,93 +0,0 @@ -{ - "Root": { - "_media-type": "application/vnd.ibexa.api.Root+json", - "content": { - "_href": "/api/ibexa/v2/content/objects", - "_media-type": "" - }, - "contentByRemoteId": { - "_href": "/api/ibexa/v2/content/objects{?remoteId}", - "_media-type": "" - }, - "contentTypeByIdentifier": { - "_href": "/api/ibexa/v2/content/types{?identifier}", - "_media-type": "" - }, - "contentTypeGroupByIdentifier": { - "_href": "/api/ibexa/v2/content/typegroups{?identifier}", - "_media-type": "" - }, - "contentTypeGroups": { - "_href": "/api/ibexa/v2/content/typegroups", - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupList+json" - }, - "contentTypes": { - "_href": "/api/ibexa/v2/content/types", - "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json" - }, - "createSession": { - "_href": "/api/ibexa/v2/user/sessions", - "_media-type": "application/vnd.ibexa.api.UserSession+json" - }, - "globalUrlAliases": { - "_href": "/api/ibexa/v2/content/urlaliases", - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json" - }, - "locationByPath": { - "_href": "/api/ibexa/v2/content/locations{?locationPath}", - "_media-type": "" - }, - "locationByRemoteId": { - "_href": "/api/ibexa/v2/content/locations{?remoteId}", - "_media-type": "" - }, - "objectStateGroups": { - "_href": "/api/ibexa/v2/content/objectstategroups", - "_media-type": "application/vnd.ibexa.api.ObjectStateGroupList+json" - }, - "objectStates": { - "_href": "/api/ibexa/v2/content/objectstategroups/{objectStateGroupId}/objectstates", - "_media-type": "application/vnd.ibexa.api.ObjectStateList+json" - }, - "roles": { - "_href": "/api/ibexa/v2/user/roles", - "_media-type": "application/vnd.ibexa.api.RoleList+json" - }, - "rootLocation": { - "_href": "/api/ibexa/v2/content/locations/1/2", - "_media-type": "application/vnd.ibexa.api.Location+json" - }, - "rootMediaFolder": { - "_href": "/api/ibexa/v2/content/locations/1/43", - "_media-type": "application/vnd.ibexa.api.Location+json" - }, - "rootUserGroup": { - "_href": "/api/ibexa/v2/user/groups/1/5", - "_media-type": "application/vnd.ibexa.api.UserGroup+json" - }, - "sections": { - "_href": "/api/ibexa/v2/content/sections", - "_media-type": "application/vnd.ibexa.api.SectionList+json" - }, - "trash": { - "_href": "/api/ibexa/v2/content/trash", - "_media-type": "application/vnd.ibexa.api.Trash+json" - }, - "urlWildcards": { - "_href": "/api/ibexa/v2/content/urlwildcards", - "_media-type": "application/vnd.ibexa.api.UrlWildcardList+json" - }, - "users": { - "_href": "/api/ibexa/v2/user/users", - "_media-type": "application/vnd.ibexa.api.UserRefList+json" - }, - "views": { - "_href": "/api/ibexa/v2/views", - "_media-type": "application/vnd.ibexa.api.RefList+json" - }, - "refreshSession": { - "_media-type": "application\/vnd.ibexa.api.UserSession+json", - "_href": "\/api\/ezp\/v2\/user\/sessions\/{sessionId}\/refresh" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/GET/Root.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/GET/Root.xml.example deleted file mode 100644 index 8019452d54..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/GET/Root.xml.example +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/GET/ActivityLogGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/GET/ActivityLogGroupList.json.example deleted file mode 100644 index 3ab278114e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/GET/ActivityLogGroupList.json.example +++ /dev/null @@ -1,50 +0,0 @@ -{ - "ActivityLogGroupList": { - "_media-type": "application\/vnd.ibexa.api.ActivityLogGroupList+json", - "_href": "\/api\/ibexa\/v2\/activity-log-group\/list", - "ActivityLogGroups": [ - { - "_media-type": "application\/vnd.ibexa.api.ActivityLogGroup+json", - "user_id": 14, - "logged_at": 1707478796, - "ActivityLogEntries": [ - { - "_media-type": "application\/vnd.ibexa.api.ActivityLog+json", - "object_id": "396", - "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content", - "action": "create", - "data": {} - }, - { - "_media-type": "application\/vnd.ibexa.api.ActivityLog+json", - "object_id": "396", - "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content", - "action": "publish", - "data": {} - } - ] - }, - { - "_media-type": "application\/vnd.ibexa.api.ActivityLogGroup+json", - "user_id": 14, - "logged_at": 1707475048, - "ActivityLogEntries": [ - { - "_media-type": "application\/vnd.ibexa.api.ActivityLog+json", - "object_id": "395", - "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content", - "action": "create", - "data": {} - }, - { - "_media-type": "application\/vnd.ibexa.api.ActivityLog+json", - "object_id": "395", - "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content", - "action": "publish", - "data": {} - } - ] - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/GET/ActivityLogGroupList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/GET/ActivityLogGroupList.xml.example deleted file mode 100644 index e8e738f21f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/GET/ActivityLogGroupList.xml.example +++ /dev/null @@ -1,35 +0,0 @@ - - - - 14 - 1707478796 - - 396 - Ibexa\Contracts\Core\Repository\Values\Content\Content - create - - - - 396 - Ibexa\Contracts\Core\Repository\Values\Content\Content - publish - - - - - 14 - 1707475048 - - 395 - Ibexa\Contracts\Core\Repository\Values\Content\Content - create - - - - 395 - Ibexa\Contracts\Core\Repository\Values\Content\Content - publish - - - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupList.json.example deleted file mode 100644 index 3ab278114e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupList.json.example +++ /dev/null @@ -1,50 +0,0 @@ -{ - "ActivityLogGroupList": { - "_media-type": "application\/vnd.ibexa.api.ActivityLogGroupList+json", - "_href": "\/api\/ibexa\/v2\/activity-log-group\/list", - "ActivityLogGroups": [ - { - "_media-type": "application\/vnd.ibexa.api.ActivityLogGroup+json", - "user_id": 14, - "logged_at": 1707478796, - "ActivityLogEntries": [ - { - "_media-type": "application\/vnd.ibexa.api.ActivityLog+json", - "object_id": "396", - "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content", - "action": "create", - "data": {} - }, - { - "_media-type": "application\/vnd.ibexa.api.ActivityLog+json", - "object_id": "396", - "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content", - "action": "publish", - "data": {} - } - ] - }, - { - "_media-type": "application\/vnd.ibexa.api.ActivityLogGroup+json", - "user_id": 14, - "logged_at": 1707475048, - "ActivityLogEntries": [ - { - "_media-type": "application\/vnd.ibexa.api.ActivityLog+json", - "object_id": "395", - "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content", - "action": "create", - "data": {} - }, - { - "_media-type": "application\/vnd.ibexa.api.ActivityLog+json", - "object_id": "395", - "object_class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content", - "action": "publish", - "data": {} - } - ] - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupList.xml.example deleted file mode 100644 index e8e738f21f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupList.xml.example +++ /dev/null @@ -1,35 +0,0 @@ - - - - 14 - 1707478796 - - 396 - Ibexa\Contracts\Core\Repository\Values\Content\Content - create - - - - 396 - Ibexa\Contracts\Core\Repository\Values\Content\Content - publish - - - - - 14 - 1707475048 - - 395 - Ibexa\Contracts\Core\Repository\Values\Content\Content - create - - - - 395 - Ibexa\Contracts\Core\Repository\Values\Content\Content - publish - - - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupListInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupListInput.json.example deleted file mode 100644 index 1844b3404c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupListInput.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "ActivityLogGroupListInput": { - "offset": 0, - "limit": 10, - "criteria": [ - {"type": "object_class", "class": "Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content"}, - {"type": "action", "value": ["create"]}, - {"type": "logged_at", "value": "- 1 hour", "operator": ">="} - ], - "sortClauses": [ - {"type": "logged_at", "direction": "DESC"} - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupListInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupListInput.xml.example deleted file mode 100644 index 9489b9be71..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/activityloggroup/POST/ActivityLogGroupListInput.xml.example +++ /dev/null @@ -1,20 +0,0 @@ - - - 0 - 10 - - - Ibexa\Contracts\Core\Repository\Values\Content\Content - - - create - - - - 1 hour - >= - - - - DESC - - \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionType.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionType.json.example deleted file mode 100644 index c7871342ba..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionType.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "generate_alt_text", - "name": "Generate alternative text", - "inputIdentifier": "image", - "outputIdentifier": "text", - "options": { - "width": 512, - "height": 512, - "image_quality": 85 - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionType.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionType.xml.example deleted file mode 100644 index 915ea44886..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionType.xml.example +++ /dev/null @@ -1,12 +0,0 @@ - - - generate_alt_text - Generate alternative text - image - text - - 512 - 512 - 85 - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionTypeList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionTypeList.json.example deleted file mode 100644 index 3ab5d6ffa8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionTypeList.json.example +++ /dev/null @@ -1,36 +0,0 @@ -{ - "ActionTypeList": { - "_media-type": "application/vnd.ibexa.api.ai.ActionTypeList+json", - "_href": "/api/ibexa/v2/ai/action-types", - "ActionType": [ - { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "transcribe_audio", - "name": "Transcribe audio", - "inputIdentifier": "audio", - "outputIdentifier": "text", - "options": {} - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "generate_alt_text", - "name": "Generate alternative text", - "inputIdentifier": "image", - "outputIdentifier": "text", - "options": { - "width": 512, - "height": 512, - "image_quality": 85 - } - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "refine_text", - "name": "Refine text", - "inputIdentifier": "text", - "outputIdentifier": "text", - "options": {} - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionTypeList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionTypeList.xml.example deleted file mode 100644 index 07846e0ede..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/action-types/GET/ActionTypeList.xml.example +++ /dev/null @@ -1,28 +0,0 @@ - - - - transcribe_audio - Transcribe audio - audio - text - - - - generate_alt_text - Generate alternative text - image - text - - 512 - 512 - 85 - - - - refine_text - Refine text - text - text - - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfiguration.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfiguration.json.example deleted file mode 100644 index 02e1d30ae2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfiguration.json.example +++ /dev/null @@ -1,33 +0,0 @@ -{ - "ActionConfiguration": { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "gen_alt_text", - "name": "Generate alternative text", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "generate_alt_text", - "name": "Generate alternative text", - "inputIdentifier": "image", - "outputIdentifier": "text", - "options": { - "width": 512, - "height": 512, - "image_quality": 85 - } - }, - "actionTypeOptions": { - "max_length": 140 - }, - "actionHandlerIdentifier": "openai-image-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfiguration.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfiguration.xml.example deleted file mode 100644 index c9de601fcf..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfiguration.xml.example +++ /dev/null @@ -1,30 +0,0 @@ - - - gen_alt_text - Generate alternative text - - 1 - - generate_alt_text - Generate alternative text - image - text - - 512 - 512 - 85 - - - - 140 - - openai-image-to-text - - 4000 - 1 - - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfigurationList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfigurationList.json.example deleted file mode 100644 index c146dfd2c7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfigurationList.json.example +++ /dev/null @@ -1,214 +0,0 @@ -{ - "ActionConfigurationList": { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfigurationList+json", - "_href": "/api/ibexa/v2/ai/actions", - "ActionConfiguration": [ - { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "gen_alt_text", - "name": "Generate alternative text", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "generate_alt_text", - "name": "Generate alternative text", - "inputIdentifier": "image", - "outputIdentifier": "text", - "options": { - "width": 512, - "height": 512, - "image_quality": 85 - } - }, - "actionTypeOptions": { - "max_length": 140 - }, - "actionHandlerIdentifier": "openai-image-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "improve_readability", - "name": "Improve readability", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "refine_text", - "name": "Refine text", - "inputIdentifier": "text", - "outputIdentifier": "text", - "options": {} - }, - "actionTypeOptions": {}, - "actionHandlerIdentifier": "openai-text-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "Rewrite this content to improve readability. Preserve meaning and crucial information.", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "proofread", - "name": "Proofread", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "refine_text", - "name": "Refine text", - "inputIdentifier": "text", - "outputIdentifier": "text", - "options": {} - }, - "actionTypeOptions": {}, - "actionHandlerIdentifier": "openai-text-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "Rewrite given text to identify and fix grammatical and punctuation errors. Preserve meaning and crucial information.", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "shorten_text", - "name": "Shorten text", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "refine_text", - "name": "Refine text", - "inputIdentifier": "text", - "outputIdentifier": "text", - "options": {} - }, - "actionTypeOptions": {}, - "actionHandlerIdentifier": "openai-text-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "Shorten the given text by 25%. Preserve meaning and crucial information.", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "expand_text", - "name": "Expand text", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "refine_text", - "name": "Refine text", - "inputIdentifier": "text", - "outputIdentifier": "text", - "options": {} - }, - "actionTypeOptions": {}, - "actionHandlerIdentifier": "openai-text-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "Expand the given text by 25%. Preserve meaning and crucial information.", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "summarize_text", - "name": "Summarize", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "refine_text", - "name": "Refine text", - "inputIdentifier": "text", - "outputIdentifier": "text", - "options": {} - }, - "actionTypeOptions": {}, - "actionHandlerIdentifier": "openai-text-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "Summarize text into one sentence. Preserve meaning and crucial information.", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "rewrite_with_professional_tone", - "name": "Rewrite in professional tone", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "refine_text", - "name": "Refine text", - "inputIdentifier": "text", - "outputIdentifier": "text", - "options": {} - }, - "actionTypeOptions": {}, - "actionHandlerIdentifier": "openai-text-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "Rewrite text in professional tone. Preserve meaning and crucial information.", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - }, - { - "_media-type": "application/vnd.ibexa.api.ai.ActionConfiguration+json", - "identifier": "rewrite_with_friendly_tone", - "name": "Rewrite in friendly tone", - "description": "", - "enabled": true, - "ActionType": { - "_media-type": "application/vnd.ibexa.api.ai.ActionType+json", - "identifier": "refine_text", - "name": "Refine text", - "inputIdentifier": "text", - "outputIdentifier": "text", - "options": {} - }, - "actionTypeOptions": {}, - "actionHandlerIdentifier": "openai-text-to-text", - "actionHandlerOptions": { - "max_tokens": 4000, - "temperature": 1, - "prompt": "Rewrite text in friendly tone. Preserve meaning and crucial information.", - "model": "gpt-4-turbo" - }, - "createdAt": "2025-02-06T13:20:24+00:00", - "updatedAt": "2025-02-06T13:20:24+00:00" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfigurationList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfigurationList.xml.example deleted file mode 100644 index 96d16dce9d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/GET/ActionConfigurationList.xml.example +++ /dev/null @@ -1,193 +0,0 @@ - - - - gen_alt_text - Generate alternative text - - 1 - - generate_alt_text - Generate alternative text - image - text - - 512 - 512 - 85 - - - - 140 - - openai-image-to-text - - 4000 - 1 - - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - - - improve_readability - Improve readability - - 1 - - refine_text - Refine text - text - text - - - - openai-text-to-text - - 4000 - 1 - Rewrite this content to improve readability. Preserve meaning and crucial information. - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - - - proofread - Proofread - - 1 - - refine_text - Refine text - text - text - - - - openai-text-to-text - - 4000 - 1 - Rewrite given text to identify and fix grammatical and punctuation errors. Preserve meaning and crucial information. - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - - - shorten_text - Shorten text - - 1 - - refine_text - Refine text - text - text - - - - openai-text-to-text - - 4000 - 1 - Shorten the given text by 25%. Preserve meaning and crucial information. - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - - - expand_text - Expand text - - 1 - - refine_text - Refine text - text - text - - - - openai-text-to-text - - 4000 - 1 - Expand the given text by 25%. Preserve meaning and crucial information. - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - - - summarize_text - Summarize - - 1 - - refine_text - Refine text - text - text - - - - openai-text-to-text - - 4000 - 1 - Summarize text into one sentence. Preserve meaning and crucial information. - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - - - rewrite_with_professional_tone - Rewrite in professional tone - - 1 - - refine_text - Refine text - text - text - - - - openai-text-to-text - - 4000 - 1 - Rewrite text in professional tone. Preserve meaning and crucial information. - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - - - rewrite_with_friendly_tone - Rewrite in friendly tone - - 1 - - refine_text - Refine text - text - text - - - - openai-text-to-text - - 4000 - 1 - Rewrite text in friendly tone. Preserve meaning and crucial information. - gpt-4-turbo - - 2025-02-06T13:20:24+00:00 - 2025-02-06T13:20:24+00:00 - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/POST/ActionConfigurationListInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/POST/ActionConfigurationListInput.json.example deleted file mode 100644 index ae2ce51516..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/POST/ActionConfigurationListInput.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ActionConfigurationListInput": { - "query": "Proofread", - "action_type_identifier": "refine_text", - "enabled": true, - "limit": 10, - "page": 1 - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/POST/ActionConfigurationListInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/POST/ActionConfigurationListInput.xml.example deleted file mode 100644 index dd57f040c7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/POST/ActionConfigurationListInput.xml.example +++ /dev/null @@ -1,7 +0,0 @@ - - Proofread - refine_text - 10 - 1 - 1 - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/AltText.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/AltText.json.example deleted file mode 100644 index faa29bc7d2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/AltText.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "AltText": { - "_media-type": "application/vnd.ibexa.api.ai.AltText+json", - "Text": { - "_media-type": "application/vnd.ibexa.api.ai.Text+json", - "text": [ - "A close-up of a fluffy orange and white cat peacefully grooming itself, its eyes closed and tongue extended. The background is blurred with soft green tones, creating a serene atmosphere." - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/AltText.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/AltText.xml.example deleted file mode 100644 index b94a64108a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/AltText.xml.example +++ /dev/null @@ -1,6 +0,0 @@ - - - - A fluffy orange and white cat is lounging while gently licking its paw. The cat's eyes are closed and it appears relaxed, with a soft focus background. - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/GenerateAltText.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/GenerateAltText.json.example deleted file mode 100644 index 623f941053..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/GenerateAltText.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "GenerateAltText": { - "Image": { - "base64": "abcdefghijkl" - }, - "RuntimeContext": {} - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/GenerateAltText.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/GenerateAltText.xml.example deleted file mode 100644 index 096a5dc206..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/GenerateAltText.xml.example +++ /dev/null @@ -1,7 +0,0 @@ - - - - abcdefghijkl - - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineText.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineText.json.example deleted file mode 100644 index 0f8809b808..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineText.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "RefineText": { - "_media-type": "application/vnd.ibexa.api.ai.RefineText+json", - "Text": { - "_media-type": "application/vnd.ibexa.api.ai.Text+json", - "text": [ - "Here are some of the fastest animals on earth:\n\n1. Peregrine Falcon: Known for its incredible diving speeds, the peregrine falcon can reach speeds of over 240 miles per hour while hunting its prey.\n\n2. Cheetah: With its sleek build and powerful legs, the cheetah is the fastest land animal, reaching speeds of up to 70 miles per hour in short bursts.\n\n3. Sailfish: Considered the fastest swimmer in the ocean, the sailfish can reach speeds of up to 68 miles per hour while hunting for fish.\n\n4. Pronghorn Antelope: Native to North America, the pronghorn antelope is the fastest land mammal in the Western Hemisphere, capable of running at speeds of up to 60 miles per hour.\n\n5. Black Marlin: One of the fastest fish in the sea, the black marlin can swim at speeds of up to 82 miles per hour while hunting for prey.\n\nThese animals showcase the incredible speed and agility found in the animal kingdom." - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineText.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineText.xml.example deleted file mode 100644 index cc412c9ab5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineText.xml.example +++ /dev/null @@ -1,6 +0,0 @@ - - - - Here are some of the fastest animals on earth, demonstrating incredible speed and agility in their natural habitats. The cheetah holds the title for the fastest land animal, reaching speeds of up to 70 miles per hour in short bursts. The peregrine falcon is the fastest bird, diving at speeds of over 240 miles per hour while hunting for prey. In the water, the sailfish is known for its impressive speed, swimming at up to 68 miles per hour to catch fish. These animals have adapted to their environments, using their speed to survive and thrive in the wild. - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineTextInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineTextInput.json.example deleted file mode 100644 index 0404c1bd5a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineTextInput.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "RefineText": { - "Text": { - "text": "Here are the fastest animals on earth: " - }, - "RuntimeContext": {} - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineTextInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineTextInput.xml.example deleted file mode 100644 index 07b1453a6e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/ai/actions/execute/POST/RefineTextInput.xml.example +++ /dev/null @@ -1,7 +0,0 @@ - - - - Here are the fastest animals on earth: - - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/bookmark/GET/BookmarkList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/bookmark/GET/BookmarkList.json.example deleted file mode 100644 index ca99248ef2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/bookmark/GET/BookmarkList.json.example +++ /dev/null @@ -1,254 +0,0 @@ -{ - "BookmarkList": { - "_media-type": "application/vnd.ibexa.api.BookmarkList+json", - "count": 3, - "items": [ - { - "_media-type": "application/vnd.ibexa.api.Bookmark+json", - "__href": "/api/ibexa/v2/bookmark/65", - "Location": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/57/65", - "id": 65, - "priority": 0, - "hidden": false, - "invisible": false, - "explicitlyHidden": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/57" - }, - "pathString": "/1/2/57/65/", - "depth": 3, - "childCount": 0, - "remoteId": "aa538e305aea472eb221ce23d1cc4b50", - "Children": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/57/65/children" - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/63" - }, - "sortField": "PATH", - "sortOrder": "ASC", - "UrlAliases": { - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/57/65/urlaliases" - }, - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/63", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/63", - "_remoteId": "211e99934c8fef5900e4813b96ec5c87", - "_id": 63, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2" - }, - "Name": "Art3", - "TranslatedName": "Art3", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/63/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/63/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/63/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2021-06-28T11:34:17+00:00", - "publishedDate": "2021-06-28T11:34:17+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": false, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/63/objectstates" - } - } - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.Bookmark+json", - "__href": "/api/ibexa/v2/bookmark/68", - "Location": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58/68", - "id": 68, - "priority": 0, - "hidden": false, - "invisible": false, - "explicitlyHidden": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58" - }, - "pathString": "/1/2/58/68/", - "depth": 3, - "childCount": 0, - "remoteId": "b8cc4627dbc3ca693c85b6b06a8f7492", - "Children": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58/68/children" - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/67" - }, - "sortField": "PUBLISHED", - "sortOrder": "DESC", - "UrlAliases": { - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58/68/urlaliases" - }, - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/67", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/67", - "_remoteId": "180adb876af5755d65c1a362fcd619c8", - "_id": 67, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/45" - }, - "Name": "Tip1", - "TranslatedName": "Tip1", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/67/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/67/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/67/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2021-06-28T11:36:21+00:00", - "publishedDate": "2021-06-28T11:36:21+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/67/objectstates" - } - } - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.Bookmark+json", - "__href": "/api/ibexa/v2/bookmark/59", - "Location": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59", - "id": 59, - "priority": 0, - "hidden": false, - "invisible": false, - "explicitlyHidden": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2" - }, - "pathString": "/1/2/59/", - "depth": 2, - "childCount": 3, - "remoteId": "fd949fc2eed1fff847d73021ff1a6ea9", - "Children": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59/children" - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/58" - }, - "sortField": "PATH", - "sortOrder": "ASC", - "UrlAliases": { - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59/urlaliases" - }, - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/58", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/58", - "_remoteId": "00b513aae54036a16e00fb3365c4b5f3", - "_id": 58, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1" - }, - "Name": "Dog Breed Catalog", - "TranslatedName": "Dog Breed Catalog", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/58/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/58/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/58/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2021-06-28T11:23:10+00:00", - "publishedDate": "2021-06-28T11:23:10+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/58/objectstates" - } - } - } - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/bookmark/GET/BookmarkList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/bookmark/GET/BookmarkList.xml.example deleted file mode 100644 index 627155bff8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/bookmark/GET/BookmarkList.xml.example +++ /dev/null @@ -1,121 +0,0 @@ - - - 3 - - - 65 - 0 - false - false - false - - /1/2/57/65/ - 3 - 0 - aa538e305aea472eb221ce23d1cc4b50 - - - PATH - ASC - - - - - Art3 - Art3 - - -
    - - - 2021-06-28T11:34:17+00:00 - 2021-06-28T11:34:17+00:00 - eng-GB - 1 - false - false - PUBLISHED - - - - - - - - 68 - 0 - false - false - false - - /1/2/58/68/ - 3 - 0 - b8cc4627dbc3ca693c85b6b06a8f7492 - - - PUBLISHED - DESC - - - - - Tip1 - Tip1 - - -
    - - - 2021-06-28T11:36:21+00:00 - 2021-06-28T11:36:21+00:00 - eng-GB - 1 - true - false - PUBLISHED - - - - - - - - 59 - 0 - false - false - false - - /1/2/59/ - 2 - 3 - fd949fc2eed1fff847d73021ff1a6ea9 - - - PATH - ASC - - - - - Dog Breed Catalog - Dog Breed Catalog - - -
    - - - 2021-06-28T11:23:10+00:00 - 2021-06-28T11:23:10+00:00 - eng-GB - 1 - true - false - PUBLISHED - - - - - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/GET/EventList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/GET/EventList.json.example deleted file mode 100644 index 968cbf2e48..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/GET/EventList.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "EventList": { - "_media-type": "application/vnd.ibexa.api.EventList+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597104000&end=1598745600&count=10", - "totalCount": 5, - "events": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/GET/EventList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/GET/EventList.xml.example deleted file mode 100644 index 7602c48e4e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/GET/EventList.xml.example +++ /dev/null @@ -1,4 +0,0 @@ - - - 5 - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/eventType/POST/future_publication.UnscheduleAction.json.example b/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/eventType/POST/future_publication.UnscheduleAction.json.example deleted file mode 100644 index c1222a2355..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/eventType/POST/future_publication.UnscheduleAction.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "UnscheduleAction": { - "events": [ - "future_publication:2" - ] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/grouped-by-day/GET/EventGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/grouped-by-day/GET/EventGroupList.json.example deleted file mode 100644 index b7b0660d81..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/grouped-by-day/GET/EventGroupList.json.example +++ /dev/null @@ -1,216 +0,0 @@ -{ - "EventGroupList": { - "_media-type": "application/vnd.ibexa.api.EventGroupList+json", - "groups": [ - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597104000&end=1597190400&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597104000", - "endDate": "1597190400" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597190400&end=1597276800&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597190400", - "endDate": "1597276800" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597276800&end=1597363200&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597276800", - "endDate": "1597363200" - }, - "totalCount": 1, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597363200&end=1597449600&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597363200", - "endDate": "1597449600" - }, - "totalCount": 1, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597449600&end=1597536000&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597449600", - "endDate": "1597536000" - }, - "totalCount": 1, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597536000&end=1597622400&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597536000", - "endDate": "1597622400" - }, - "totalCount": 1, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597622400&end=1597708800&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597622400", - "endDate": "1597708800" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597708800&end=1597795200&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597708800", - "endDate": "1597795200" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597795200&end=1597881600&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597795200", - "endDate": "1597881600" - }, - "totalCount": 1, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597881600&end=1597968000&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597881600", - "endDate": "1597968000" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1597968000&end=1598054400&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1597968000", - "endDate": "1598054400" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1598054400&end=1598140800&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1598054400", - "endDate": "1598140800" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1598140800&end=1598227200&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1598140800", - "endDate": "1598227200" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1598227200&end=1598313600&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1598227200", - "endDate": "1598313600" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1598313600&end=1598400000&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1598313600", - "endDate": "1598400000" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1598400000&end=1598486400&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1598400000", - "endDate": "1598486400" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1598486400&end=1598572800&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1598486400", - "endDate": "1598572800" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1598572800&end=1598659200&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1598572800", - "endDate": "1598659200" - }, - "totalCount": 0, - "events": [] - }, - { - "_media-type": "application/vnd.ibexa.api.EventGroup+json", - "_currentPage": "/api/ibexa/v2/calendar/event?start=1598659200&end=1598745600&count=10", - "DateRange": { - "_media-type": "application/vnd.ibexa.api.DateRange+json", - "startDate": "1598659200", - "endDate": "1598745600" - }, - "totalCount": 0, - "events": [] - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/grouped-by-day/GET/EventGroupList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/grouped-by-day/GET/EventGroupList.xml.example deleted file mode 100644 index 0aab1e7603..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/calendar/event/grouped-by-day/GET/EventGroupList.xml.example +++ /dev/null @@ -1,136 +0,0 @@ - - - - - 1597104000 - 1597190400 - - 0 - - - - 1597190400 - 1597276800 - - 0 - - - - 1597276800 - 1597363200 - - 1 - - - - 1597363200 - 1597449600 - - 1 - - - - 1597449600 - 1597536000 - - 1 - - - - 1597536000 - 1597622400 - - 1 - - - - 1597622400 - 1597708800 - - 0 - - - - 1597708800 - 1597795200 - - 0 - - - - 1597795200 - 1597881600 - - 1 - - - - 1597881600 - 1597968000 - - 0 - - - - 1597968000 - 1598054400 - - 0 - - - - 1598054400 - 1598140800 - - 0 - - - - 1598140800 - 1598227200 - - 0 - - - - 1598227200 - 1598313600 - - 0 - - - - 1598313600 - 1598400000 - - 0 - - - - 1598400000 - 1598486400 - - 0 - - - - 1598486400 - 1598572800 - - 0 - - - - 1598572800 - 1598659200 - - 0 - - - - 1598659200 - 1598745600 - - 0 - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/Cart.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/Cart.json.example deleted file mode 100644 index 0e4ac28d97..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/Cart.json.example +++ /dev/null @@ -1,25 +0,0 @@ -{ - "Cart": { - "_media-type": "application\/vnd.ibexa.api.Cart+json", - "id": 1, - "identifier": "e79b5dba-c701-4c64-8032-73719a513e50", - "name": "Default", - "createdAt": "2024-09-26T09:16:56+00:00", - "updatedAt": "2024-09-26T09:16:56+00:00", - "owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/10" - }, - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "entries": [], - "context": { - "foo": "bar" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/Cart.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/Cart.xml.example deleted file mode 100644 index f3dcbb558c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/Cart.xml.example +++ /dev/null @@ -1,15 +0,0 @@ - - - 1 - e67d8f4c-95b5-423f-89d8-b2b81c37609b - Default - 2024-09-26T09:16:56+00:00 - 2024-09-26T09:16:56+00:00 - - - 2 - EUR - 2 - 1 - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/CartCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/CartCreate.json.example deleted file mode 100644 index e092c06af4..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/CartCreate.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "CartCreate": { - "name": "Default", - "currencyCode": "EUR", - "context": { - "foo": "bar" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/CartCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/CartCreate.xml.example deleted file mode 100644 index 035fbd1fad..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/POST/CartCreate.xml.example +++ /dev/null @@ -1,4 +0,0 @@ - - Default - EUR - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/authorize/Token.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/authorize/Token.json.example deleted file mode 100644 index 9b93436da7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/authorize/Token.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Token": { - "_media-type": "application\/vnd.ibexa.api.Token+json", - "value": "7b19308.RiDPaorwmJRyQoGajJiLMp843r30WaW-PH1CeH4oQyU.dkOXWOuFrvBfDPXY1t27YMx0hvyFH8fPUwoDNRl_D0sWDb4O3bb-20Q32A" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/authorize/Token.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/authorize/Token.xml.example deleted file mode 100644 index de6ad2f334..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/authorize/Token.xml.example +++ /dev/null @@ -1,4 +0,0 @@ - - - eff5.w9r2Ws_zpjcopNJ8FRNVaplGlx19y4Mp2QP-eQWZDKc.-pe4Pam133xKzKQZLCdiIMkj2EgQ5rMdtlGTEEPPaOyHv6Y1iKTsZ2_OtQ - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/entry/POST/CartEntryAdd.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/entry/POST/CartEntryAdd.json.example deleted file mode 100644 index 333b38211c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/entry/POST/CartEntryAdd.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "CartEntryAdd": { - "quantity": 1, - "Product": { - "code": "test" - }, - "context": { - "foo": "bar" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/identifier/validate/CartConstraintViolationList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/identifier/validate/CartConstraintViolationList.json.example deleted file mode 100644 index 156e10f5fd..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/identifier/validate/CartConstraintViolationList.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "CartConstraintViolationList": { - "_media-type": "application\/vnd.ibexa.api.CartConstraintViolationList+json", - "violations": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/identifier/validate/CartConstraintViolationList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/identifier/validate/CartConstraintViolationList.xml.example deleted file mode 100644 index 1725f0a678..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/identifier/validate/CartConstraintViolationList.xml.example +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/CartSummary.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/CartSummary.json.example deleted file mode 100644 index 9c93d43c05..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/CartSummary.json.example +++ /dev/null @@ -1,2694 +0,0 @@ -{ - "CartSummary": { - "_media-type": "application\/vnd.ibexa.api.CartSummary+json", - "_href": "\/api\/ibexa\/v2\/cart\/b0b51659-75f7-4c8d-9cea-5ce5865dd9ce\/summary", - "id": 1, - "identifier": "b0b51659-75f7-4c8d-9cea-5ce5865dd9ce", - "name": "default", - "createdAt": "2025-04-03T08:16:09+00:00", - "updatedAt": "2025-04-03T08:16:09+00:00", - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "SummaryEntryCollection": { - "_media-type": "application\/vnd.ibexa.api.SummaryEntryCollection+json", - "count": "3", - "SummaryEntry": [ - { - "_media-type": "application\/vnd.ibexa.api.CartSummaryEntry+json", - "identifier": "5ce5d7a7-fcc8-4d28-89ad-3f4a53b7ea9a", - "id": 1, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 1|germany|none|physical" - } - ] - }, - "quantity": 1, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "PriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.PriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "SubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "SubtotalPriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "VatCategory": { - "_media-type": "application\/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "germany", - "vatValue": 0 - }, - "OriginalSubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.OriginalSubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "Product": { - "_media-type": "application\/vnd.ibexa.api.Product+json", - "code": "product_code_control_unit_1", - "isBaseProduct": false, - "isVariant": false, - "name": "Control unit 1|germany|none|physical", - "ProductType": { - "_media-type": "application\/vnd.ibexa.api.ProductType+json", - "identifier": "Control unit1", - "name": "Control unit1|germany|none|physical", - "AttributeAssignmentList": [ - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "Color of control unit", - "type": "Color", - "type_identifier": "color", - "group": "Control unit attributes", - "position": 0, - "options": [], - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "connection_type", - "name": "Connection type", - "description": "Type of connection", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "connection_type0", - "label": { - "eng-GB": "USB Cable" - } - }, - { - "value": "connection_type1", - "label": { - "eng-GB": "USB Bluetooth" - } - }, - { - "value": "connection_type2", - "label": { - "eng-GB": "USB Radio" - } - } - ] - }, - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "led_color", - "name": "LED color", - "description": "Color of LED lights", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "led_color0", - "label": { - "eng-GB": "Green" - } - }, - { - "value": "led_color1", - "label": { - "eng-GB": "White" - } - }, - { - "value": "led_color2", - "label": { - "eng-GB": "Blue" - } - }, - { - "value": "led_color3", - "label": { - "eng-GB": "Full color" - } - }, - { - "value": "led_color4", - "label": { - "eng-GB": "Yellow" - } - } - ] - }, - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "length", - "name": "Length", - "description": "Length of control unit", - "type": "Measurement (range)", - "type_identifier": "measurement_range", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter" - }, - "value": null, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "Width of control unit", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter", - "sign": "none", - "defaultValue": 400 - }, - "value": null, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "panel_type", - "name": "Control unit panel type", - "description": "Control unit panel type", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "panel_type0", - "label": { - "eng-GB": "Buttons" - } - }, - { - "value": "panel_type1", - "label": { - "eng-GB": "Touch screen" - } - } - ] - }, - "value": null, - "extra_options": [] - } - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.Content+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273", - "_remoteId": "product_control_unit_1", - "_id": 273, - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/86" - }, - "Name": "Control unit 1|germany|none|physical", - "TranslatedName": "Control unit 1|germany|none|physical", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273\/versions" - }, - "CurrentVersion": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273\/currentversion", - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273\/versions\/1", - "VersionInfo": { - "id": 735, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2025-04-02T12:54:09+00:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2025-04-02T12:54:09+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 1|germany|none|physical" - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273" - } - }, - "Fields": { - "field": [ - { - "id": 1277, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Control unit 1|germany|none|physical" - }, - { - "id": 1278, - "fieldDefinitionIdentifier": "intro", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "\n
    \nFIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/17\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/8\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/17\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/8\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1279, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/11\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/11\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1280, - "fieldDefinitionIdentifier": "long_marketing_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/11\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/11\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1281, - "fieldDefinitionIdentifier": "other_long_marketing_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/37\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/37\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1282, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": 132, - "alternativeText": "Text", - "source": null, - "variations": { - "ezplatform_admin_ui_profile_picture_user_menu": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/132-559-1\/variations\/ezplatform_admin_ui_profile_picture_user_menu" - }, - "gallery": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/132-559-1\/variations\/gallery" - }, - "large": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/132-559-1\/variations\/large" - }, - "medium": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/132-559-1\/variations\/medium" - }, - "original": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/132-559-1\/variations\/original" - }, - "reference": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/132-559-1\/variations\/reference" - }, - "small": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/132-559-1\/variations\/small" - }, - "tiny": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/132-559-1\/variations\/tiny" - } - } - } - }, - { - "id": 1283, - "fieldDefinitionIdentifier": "product_category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [ - 10 - ], - "taxonomy": "product_categories" - } - }, - { - "id": 1284, - "fieldDefinitionIdentifier": "specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 2, - "code": "product_code_control_unit_1", - "attributes": [ - "#991123", - "connection_type1", - "led_color1", - { - "type": "length", - "min_value": 101.5, - "max_value": 201.5, - "unit": "millimeter" - }, - { - "type": "length", - "value": 200, - "unit": "millimeter" - }, - "panel_type1" - ], - "is_virtual": false - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273\/versions\/1\/relations", - "Relation": [ - { - "_media-type": "application\/vnd.ibexa.api.Relation+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273\/versions\/1\/relations\/2", - "SourceContent": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273" - }, - "DestinationContent": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/132" - }, - "SourceFieldDefinitionIdentifier": "image", - "RelationType": "ASSET" - } - ] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/9\/5\/5\/0\/559-1-eng-GB\/f25743f8e7c0-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - } - } - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/1" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273\/locations" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "lastModificationDate": "2025-04-02T12:54:13+00:00", - "publishedDate": "2025-04-02T12:54:09+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/273\/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/9\/5\/5\/0\/559-1-eng-GB\/f25743f8e7c0-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - }, - "created_at": 1743598449, - "updated_at": 1743598453, - "AttributesList": [ - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "Color of control unit", - "type": "Color", - "type_identifier": "color", - "group": "Control unit attributes", - "position": 0, - "options": [], - "value": "#991123", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "connection_type", - "name": "Connection type", - "description": "Type of connection", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "connection_type0", - "label": { - "eng-GB": "USB Cable" - } - }, - { - "value": "connection_type1", - "label": { - "eng-GB": "USB Bluetooth" - } - }, - { - "value": "connection_type2", - "label": { - "eng-GB": "USB Radio" - } - } - ] - }, - "value": "connection_type1", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "led_color", - "name": "LED color", - "description": "Color of LED lights", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "led_color0", - "label": { - "eng-GB": "Green" - } - }, - { - "value": "led_color1", - "label": { - "eng-GB": "White" - } - }, - { - "value": "led_color2", - "label": { - "eng-GB": "Blue" - } - }, - { - "value": "led_color3", - "label": { - "eng-GB": "Full color" - } - }, - { - "value": "led_color4", - "label": { - "eng-GB": "Yellow" - } - } - ] - }, - "value": "led_color1", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "length", - "name": "Length", - "description": "Length of control unit", - "type": "Measurement (range)", - "type_identifier": "measurement_range", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter" - }, - "value": { - "type": "length", - "min_value": 101.5, - "max_value": 201.5, - "unit": "millimeter" - }, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "Width of control unit", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter", - "sign": "none", - "defaultValue": 400 - }, - "value": { - "type": "length", - "value": 200, - "unit": "millimeter" - }, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "panel_type", - "name": "Control unit panel type", - "description": "Control unit panel type", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "panel_type0", - "label": { - "eng-GB": "Buttons" - } - }, - { - "value": "panel_type1", - "label": { - "eng-GB": "Touch screen" - } - } - ] - }, - "value": "panel_type1", - "extra_options": [] - } - ], - "Availability": { - "_media-type": "application\/vnd.ibexa.api.Availability+json", - "is_available": true, - "stock": 101, - "is_infinite": false - }, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "id": 16, - "amount": "101.00", - "base_amount": "101.00", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "money": "10100", - "base_money": "10100" - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.CartSummaryEntry+json", - "identifier": "7a62792c-a7a8-4661-9a01-51c2ba89e1f5", - "id": 2, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 3|germany|none|physical" - } - ] - }, - "quantity": 2, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10300", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac103.00" - } - }, - "PriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.PriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10300", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac103.00" - } - }, - "SubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "20600", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac206.00" - } - }, - "SubtotalPriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "20600", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac206.00" - } - }, - "VatCategory": { - "_media-type": "application\/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "germany", - "vatValue": 0 - }, - "OriginalSubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.OriginalSubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "20600", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac206.00" - } - }, - "Product": { - "_media-type": "application\/vnd.ibexa.api.Product+json", - "code": "product_code_control_unit_3", - "isBaseProduct": false, - "isVariant": false, - "name": "Control unit 3|germany|none|physical", - "ProductType": { - "_media-type": "application\/vnd.ibexa.api.ProductType+json", - "identifier": "Control unit3", - "name": "Control unit3|germany|none|physical", - "AttributeAssignmentList": [ - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "Color of control unit", - "type": "Color", - "type_identifier": "color", - "group": "Control unit attributes", - "position": 0, - "options": [], - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "connection_type", - "name": "Connection type", - "description": "Type of connection", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "connection_type0", - "label": { - "eng-GB": "USB Cable" - } - }, - { - "value": "connection_type1", - "label": { - "eng-GB": "USB Bluetooth" - } - }, - { - "value": "connection_type2", - "label": { - "eng-GB": "USB Radio" - } - } - ] - }, - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "led_color", - "name": "LED color", - "description": "Color of LED lights", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "led_color0", - "label": { - "eng-GB": "Green" - } - }, - { - "value": "led_color1", - "label": { - "eng-GB": "White" - } - }, - { - "value": "led_color2", - "label": { - "eng-GB": "Blue" - } - }, - { - "value": "led_color3", - "label": { - "eng-GB": "Full color" - } - }, - { - "value": "led_color4", - "label": { - "eng-GB": "Yellow" - } - } - ] - }, - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "length", - "name": "Length", - "description": "Length of control unit", - "type": "Measurement (range)", - "type_identifier": "measurement_range", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter" - }, - "value": null, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "Width of control unit", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter", - "sign": "none", - "defaultValue": 400 - }, - "value": null, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "panel_type", - "name": "Control unit panel type", - "description": "Control unit panel type", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "panel_type0", - "label": { - "eng-GB": "Buttons" - } - }, - { - "value": "panel_type1", - "label": { - "eng-GB": "Touch screen" - } - } - ] - }, - "value": null, - "extra_options": [] - } - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.Content+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275", - "_remoteId": "product_control_unit_3", - "_id": 275, - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/88" - }, - "Name": "Control unit 3|germany|none|physical", - "TranslatedName": "Control unit 3|germany|none|physical", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275\/versions" - }, - "CurrentVersion": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275\/currentversion", - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275\/versions\/1", - "VersionInfo": { - "id": 737, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2025-04-02T12:54:17+00:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2025-04-02T12:54:17+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 3|germany|none|physical" - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275" - } - }, - "Fields": { - "field": [ - { - "id": 1293, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Control unit 3|germany|none|physical" - }, - { - "id": 1294, - "fieldDefinitionIdentifier": "intro", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1295, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/33\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/33\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1296, - "fieldDefinitionIdentifier": "long_marketing_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/33\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/33\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1297, - "fieldDefinitionIdentifier": "other_long_marketing_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/11\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/11\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/5\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1298, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": 136, - "alternativeText": "Text", - "source": null, - "variations": { - "ezplatform_admin_ui_profile_picture_user_menu": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/136-575-1\/variations\/ezplatform_admin_ui_profile_picture_user_menu" - }, - "gallery": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/136-575-1\/variations\/gallery" - }, - "large": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/136-575-1\/variations\/large" - }, - "medium": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/136-575-1\/variations\/medium" - }, - "original": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/136-575-1\/variations\/original" - }, - "reference": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/136-575-1\/variations\/reference" - }, - "small": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/136-575-1\/variations\/small" - }, - "tiny": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/136-575-1\/variations\/tiny" - } - } - } - }, - { - "id": 1299, - "fieldDefinitionIdentifier": "product_category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [ - 24 - ], - "taxonomy": "product_categories" - } - }, - { - "id": 1300, - "fieldDefinitionIdentifier": "specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 4, - "code": "product_code_control_unit_3", - "attributes": [ - "#973369", - "connection_type0", - "led_color3", - { - "type": "length", - "min_value": 103.5, - "max_value": 203.5, - "unit": "millimeter" - }, - { - "type": "length", - "value": 400, - "unit": "millimeter" - }, - "panel_type1" - ], - "is_virtual": false - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275\/versions\/1\/relations", - "Relation": [ - { - "_media-type": "application\/vnd.ibexa.api.Relation+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275\/versions\/1\/relations\/4", - "SourceContent": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275" - }, - "DestinationContent": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/136" - }, - "SourceFieldDefinitionIdentifier": "image", - "RelationType": "ASSET" - } - ] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/5\/7\/5\/0\/575-1-eng-GB\/274d5edc4d3c-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - } - } - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/1" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275\/locations" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "lastModificationDate": "2025-04-02T12:54:20+00:00", - "publishedDate": "2025-04-02T12:54:17+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/275\/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/5\/7\/5\/0\/575-1-eng-GB\/274d5edc4d3c-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - }, - "created_at": 1743598457, - "updated_at": 1743598460, - "AttributesList": [ - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "Color of control unit", - "type": "Color", - "type_identifier": "color", - "group": "Control unit attributes", - "position": 0, - "options": [], - "value": "#973369", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "connection_type", - "name": "Connection type", - "description": "Type of connection", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "connection_type0", - "label": { - "eng-GB": "USB Cable" - } - }, - { - "value": "connection_type1", - "label": { - "eng-GB": "USB Bluetooth" - } - }, - { - "value": "connection_type2", - "label": { - "eng-GB": "USB Radio" - } - } - ] - }, - "value": "connection_type0", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "led_color", - "name": "LED color", - "description": "Color of LED lights", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "led_color0", - "label": { - "eng-GB": "Green" - } - }, - { - "value": "led_color1", - "label": { - "eng-GB": "White" - } - }, - { - "value": "led_color2", - "label": { - "eng-GB": "Blue" - } - }, - { - "value": "led_color3", - "label": { - "eng-GB": "Full color" - } - }, - { - "value": "led_color4", - "label": { - "eng-GB": "Yellow" - } - } - ] - }, - "value": "led_color3", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "length", - "name": "Length", - "description": "Length of control unit", - "type": "Measurement (range)", - "type_identifier": "measurement_range", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter" - }, - "value": { - "type": "length", - "min_value": 103.5, - "max_value": 203.5, - "unit": "millimeter" - }, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "Width of control unit", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter", - "sign": "none", - "defaultValue": 400 - }, - "value": { - "type": "length", - "value": 400, - "unit": "millimeter" - }, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "panel_type", - "name": "Control unit panel type", - "description": "Control unit panel type", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "panel_type0", - "label": { - "eng-GB": "Buttons" - } - }, - { - "value": "panel_type1", - "label": { - "eng-GB": "Touch screen" - } - } - ] - }, - "value": "panel_type1", - "extra_options": [] - } - ], - "Availability": { - "_media-type": "application\/vnd.ibexa.api.Availability+json", - "is_available": true, - "stock": 103, - "is_infinite": false - }, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "id": 46, - "amount": "103.00", - "base_amount": "103.00", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "money": "10300", - "base_money": "10300" - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.CartSummaryEntry+json", - "identifier": "37dfad84-8c5d-4d06-8939-29397b020ee6", - "id": 3, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 2|germany|none|physical" - } - ] - }, - "quantity": 1, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "PriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.PriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "SubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "SubtotalPriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "VatCategory": { - "_media-type": "application\/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "germany", - "vatValue": 0 - }, - "OriginalSubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.OriginalSubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "Product": { - "_media-type": "application\/vnd.ibexa.api.Product+json", - "code": "product_code_control_unit_2", - "isBaseProduct": false, - "isVariant": false, - "name": "Control unit 2|germany|none|physical", - "ProductType": { - "_media-type": "application\/vnd.ibexa.api.ProductType+json", - "identifier": "Control unit2", - "name": "Control unit2|germany|none|physical", - "AttributeAssignmentList": [ - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "Color of control unit", - "type": "Color", - "type_identifier": "color", - "group": "Control unit attributes", - "position": 0, - "options": [], - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "connection_type", - "name": "Connection type", - "description": "Type of connection", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "connection_type0", - "label": { - "eng-GB": "USB Cable" - } - }, - { - "value": "connection_type1", - "label": { - "eng-GB": "USB Bluetooth" - } - }, - { - "value": "connection_type2", - "label": { - "eng-GB": "USB Radio" - } - } - ] - }, - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "led_color", - "name": "LED color", - "description": "Color of LED lights", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "led_color0", - "label": { - "eng-GB": "Green" - } - }, - { - "value": "led_color1", - "label": { - "eng-GB": "White" - } - }, - { - "value": "led_color2", - "label": { - "eng-GB": "Blue" - } - }, - { - "value": "led_color3", - "label": { - "eng-GB": "Full color" - } - }, - { - "value": "led_color4", - "label": { - "eng-GB": "Yellow" - } - } - ] - }, - "value": null, - "extra_options": [] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "length", - "name": "Length", - "description": "Length of control unit", - "type": "Measurement (range)", - "type_identifier": "measurement_range", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter" - }, - "value": null, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "Width of control unit", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter", - "sign": "none", - "defaultValue": 400 - }, - "value": null, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "panel_type", - "name": "Control unit panel type", - "description": "Control unit panel type", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "panel_type0", - "label": { - "eng-GB": "Buttons" - } - }, - { - "value": "panel_type1", - "label": { - "eng-GB": "Touch screen" - } - } - ] - }, - "value": null, - "extra_options": [] - } - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.Content+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274", - "_remoteId": "product_control_unit_2", - "_id": 274, - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/87" - }, - "Name": "Control unit 2|germany|none|physical", - "TranslatedName": "Control unit 2|germany|none|physical", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274\/versions" - }, - "CurrentVersion": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274\/currentversion", - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274\/versions\/1", - "VersionInfo": { - "id": 736, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2025-04-02T12:54:13+00:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2025-04-02T12:54:13+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 2|germany|none|physical" - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274" - } - }, - "Fields": { - "field": [ - { - "id": 1285, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Control unit 2|germany|none|physical" - }, - { - "id": 1286, - "fieldDefinitionIdentifier": "intro", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/34\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/7\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/34\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/7\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1287, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/22\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/22\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1288, - "fieldDefinitionIdentifier": "long_marketing_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/22\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/22\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/2\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/1\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1289, - "fieldDefinitionIdentifier": "other_long_marketing_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/docbook.org\/ns\/docbook\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:ezxhtml=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/xhtml\" xmlns:ezcustom=\"http:\/\/ibexa.co\/xmlns\/dxp\/docbook\/custom\" version=\"5.0-variant ezpublish-1.0\">\n<title ezxhtml:level=\"2\">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/title>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/24\" xlink:show=\"none\" xlink:title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" xlink:show=\"none\" xlink:title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" xlink:show=\"none\" xlink:title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" xlink:show=\"none\" xlink:title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/link><\/para>\n<para><link xlink:href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" xlink:show=\"none\" xlink:title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/link><\/para>\n<\/section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http:\/\/ibexa.co\/namespaces\/ezpublish5\/xhtml5\/edit\">\n<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..<\/h2>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/24\" title=\"ipsum\">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"reprehenderit\">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"quia\">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"veritatis\">Twinkle, twinkle--\"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/4\" title=\"ex\">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"voluptatem\">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/3\" title=\"sit\">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/0\" title=\"quia\">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.<\/a><\/p>\n<p><a href=\"https:\/\/pl.wikipedia.org\/wiki\/6\" title=\"voluptatem\">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!\"'.<\/a><\/p>\n<\/section>\n" - } - }, - { - "id": 1290, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": 134, - "alternativeText": "Text", - "source": null, - "variations": { - "ezplatform_admin_ui_profile_picture_user_menu": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/134-567-1\/variations\/ezplatform_admin_ui_profile_picture_user_menu" - }, - "gallery": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/134-567-1\/variations\/gallery" - }, - "large": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/134-567-1\/variations\/large" - }, - "medium": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/134-567-1\/variations\/medium" - }, - "original": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/134-567-1\/variations\/original" - }, - "reference": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/134-567-1\/variations\/reference" - }, - "small": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/134-567-1\/variations\/small" - }, - "tiny": { - "href": "\/api\/ibexa\/v2\/content\/binary\/images\/134-567-1\/variations\/tiny" - } - } - } - }, - { - "id": 1291, - "fieldDefinitionIdentifier": "product_category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [ - 17 - ], - "taxonomy": "product_categories" - } - }, - { - "id": 1292, - "fieldDefinitionIdentifier": "specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 3, - "code": "product_code_control_unit_2", - "attributes": [ - "#982246", - "connection_type2", - "led_color2", - { - "type": "length", - "min_value": 102.5, - "max_value": 202.5, - "unit": "millimeter" - }, - { - "type": "length", - "value": 300, - "unit": "millimeter" - }, - "panel_type0" - ], - "is_virtual": false - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274\/versions\/1\/relations", - "Relation": [ - { - "_media-type": "application\/vnd.ibexa.api.Relation+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274\/versions\/1\/relations\/3", - "SourceContent": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274" - }, - "DestinationContent": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/134" - }, - "SourceFieldDefinitionIdentifier": "image", - "RelationType": "ASSET" - } - ] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/7\/6\/5\/0\/567-1-eng-GB\/d396544dd46a-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - } - } - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/1" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274\/locations" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "lastModificationDate": "2025-04-02T12:54:16+00:00", - "publishedDate": "2025-04-02T12:54:13+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/274\/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/7\/6\/5\/0\/567-1-eng-GB\/d396544dd46a-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - }, - "created_at": 1743598453, - "updated_at": 1743598456, - "AttributesList": [ - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "Color of control unit", - "type": "Color", - "type_identifier": "color", - "group": "Control unit attributes", - "position": 0, - "options": [], - "value": "#982246", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "connection_type", - "name": "Connection type", - "description": "Type of connection", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "connection_type0", - "label": { - "eng-GB": "USB Cable" - } - }, - { - "value": "connection_type1", - "label": { - "eng-GB": "USB Bluetooth" - } - }, - { - "value": "connection_type2", - "label": { - "eng-GB": "USB Radio" - } - } - ] - }, - "value": "connection_type2", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "led_color", - "name": "LED color", - "description": "Color of LED lights", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "led_color0", - "label": { - "eng-GB": "Green" - } - }, - { - "value": "led_color1", - "label": { - "eng-GB": "White" - } - }, - { - "value": "led_color2", - "label": { - "eng-GB": "Blue" - } - }, - { - "value": "led_color3", - "label": { - "eng-GB": "Full color" - } - }, - { - "value": "led_color4", - "label": { - "eng-GB": "Yellow" - } - } - ] - }, - "value": "led_color2", - "extra_options": [] - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "length", - "name": "Length", - "description": "Length of control unit", - "type": "Measurement (range)", - "type_identifier": "measurement_range", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter" - }, - "value": { - "type": "length", - "min_value": 102.5, - "max_value": 202.5, - "unit": "millimeter" - }, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "Width of control unit", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Control unit attributes", - "position": 0, - "options": { - "type": "length", - "unit": "millimeter", - "sign": "none", - "defaultValue": 400 - }, - "value": { - "type": "length", - "value": 300, - "unit": "millimeter" - }, - "extra_options": { - "available_units": [ - { - "label": "Centimeter", - "value": "centimeter" - }, - { - "label": "Foot", - "value": "foot" - }, - { - "label": "Inch", - "value": "inch" - }, - { - "label": "Meter", - "value": "meter" - }, - { - "label": "Millimeter", - "value": "millimeter" - }, - { - "label": "Yard", - "value": "yard" - } - ] - } - }, - { - "_media-type": "application\/vnd.ibexa.api.Attribute+json", - "identifier": "panel_type", - "name": "Control unit panel type", - "description": "Control unit panel type", - "type": "Selection", - "type_identifier": "selection", - "group": "Control unit attributes", - "position": 0, - "options": { - "choices": [ - { - "value": "panel_type0", - "label": { - "eng-GB": "Buttons" - } - }, - { - "value": "panel_type1", - "label": { - "eng-GB": "Touch screen" - } - } - ] - }, - "value": "panel_type0", - "extra_options": [] - } - ], - "Availability": { - "_media-type": "application\/vnd.ibexa.api.Availability+json", - "is_available": true, - "stock": 102, - "is_infinite": false - }, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "id": 31, - "amount": "102.00", - "base_amount": "102.00", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "money": "10200", - "base_money": "10200" - } - } - } - ] - }, - "TotalPrice": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "40900", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac409.00" - } - }, - "OriginalTotalPrice": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "40900", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac409.00" - } - }, - "TotalDiscount": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "0", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac0.00" - } - }, - "TotalPriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "40900", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac409.00" - } - }, - "vatCategorySummary": [ - { - "_media-type": "application\/vnd.ibexa.api.VatCategorySummary+json", - "VatCategory": { - "_media-type": "application\/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "germany", - "vatValue": 0 - }, - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "0", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac0.00" - } - } - ], - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "CartConstraintViolationList": { - "_media-type": "application\/vnd.ibexa.api.CartConstraintViolationList+json", - "violations": [] - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/CartSummary.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/CartSummary.xml.example deleted file mode 100644 index a4d06c4f76..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/CartSummary.xml.example +++ /dev/null @@ -1,2620 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CartSummary media-type="application/vnd.ibexa.api.CartSummary+xml" href="/api/ibexa/v2/cart/b0b51659-75f7-4c8d-9cea-5ce5865dd9ce/summary"> - <id>1</id> - <identifier>b0b51659-75f7-4c8d-9cea-5ce5865dd9ce</identifier> - <name>default</name> - <createdAt>2025-04-03T08:16:09+00:00</createdAt> - <updatedAt>2025-04-03T08:16:09+00:00</updatedAt> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <SummaryEntryCollection media-type="application/vnd.ibexa.api.SummaryEntryCollection+xml"> - <count>3</count> - <CartSummaryEntry media-type="application/vnd.ibexa.api.CartSummaryEntry+xml"> - <identifier>5ce5d7a7-fcc8-4d28-89ad-3f4a53b7ea9a</identifier> - <id>1</id> - <names> - <value languageCode="eng-GB">Control unit 1|germany|none|physical</value> - </names> - <quantity>1</quantity> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </Price> - <PriceInclVat media-type="application/vnd.ibexa.api.PriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </PriceInclVat> - <SubtotalPrice media-type="application/vnd.ibexa.api.SubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </SubtotalPrice> - <SubtotalPriceInclVat media-type="application/vnd.ibexa.api.SubtotalPriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </SubtotalPriceInclVat> - <VatCategory media-type="application/vnd.ibexa.api.VatCategory+xml"> - <identifier>none</identifier> - <region>germany</region> - <vatValue>0</vatValue> - </VatCategory> - <OriginalSubtotalPrice media-type="application/vnd.ibexa.api.OriginalSubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </OriginalSubtotalPrice> - <Product media-type="application/vnd.ibexa.api.Product+xml"> - <code>product_code_control_unit_1</code> - <isBaseProduct></isBaseProduct> - <isVariant></isVariant> - <name>Control unit 1|germany|none|physical</name> - <ProductType media-type="application/vnd.ibexa.api.ProductType+xml"> - <identifier>Control unit1</identifier> - <name>Control unit1|germany|none|physical</name> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>color</identifier> - <name>Color</name> - <description>Color of control unit</description> - <type>Color</type> - <type_identifier>color</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options/> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>connection_type</identifier> - <name>Connection type</name> - <description>Type of connection</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">connection_type0</value> - <value key="label"> - <value key="eng-GB">USB Cable</value> - </value> - </value> - <value> - <value key="value">connection_type1</value> - <value key="label"> - <value key="eng-GB">USB Bluetooth</value> - </value> - </value> - <value> - <value key="value">connection_type2</value> - <value key="label"> - <value key="eng-GB">USB Radio</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>led_color</identifier> - <name>LED color</name> - <description>Color of LED lights</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">led_color0</value> - <value key="label"> - <value key="eng-GB">Green</value> - </value> - </value> - <value> - <value key="value">led_color1</value> - <value key="label"> - <value key="eng-GB">White</value> - </value> - </value> - <value> - <value key="value">led_color2</value> - <value key="label"> - <value key="eng-GB">Blue</value> - </value> - </value> - <value> - <value key="value">led_color3</value> - <value key="label"> - <value key="eng-GB">Full color</value> - </value> - </value> - <value> - <value key="value">led_color4</value> - <value key="label"> - <value key="eng-GB">Yellow</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>length</identifier> - <name>Length</name> - <description>Length of control unit</description> - <type>Measurement (range)</type> - <type_identifier>measurement_range</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - </options> - <value/> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>width</identifier> - <name>Width</name> - <description>Width of control unit</description> - <type>Measurement (single)</type> - <type_identifier>measurement_single</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - <value key="sign">none</value> - <value key="defaultValue">400</value> - </options> - <value/> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>panel_type</identifier> - <name>Control unit panel type</name> - <description>Control unit panel type</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">panel_type0</value> - <value key="label"> - <value key="eng-GB">Buttons</value> - </value> - </value> - <value> - <value key="value">panel_type1</value> - <value key="label"> - <value key="eng-GB">Touch screen</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - </ProductType> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/273" remoteId="product_control_unit_1" id="273"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/86"/> - <Name>Control unit 1|germany|none|physical</Name> - <TranslatedName>Control unit 1|germany|none|physical</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/273/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/273/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/273/versions/1"> - <VersionInfo> - <id>735</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2025-04-02T12:54:09+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2025-04-02T12:54:09+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Control unit 1|germany|none|physical</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/273"/> - </VersionInfo> - <Fields> - <field> - <id>1277</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Control unit 1|germany|none|physical</fieldValue> - </field> - <field> - <id>1278</id> - <fieldDefinitionIdentifier>intro</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/17" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/5" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/8" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/17" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/5" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/8" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1279</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/11" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/5" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/11" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/5" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1280</id> - <fieldDefinitionIdentifier>long_marketing_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/11" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/5" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/11" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/5" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1281</id> - <fieldDefinitionIdentifier>other_long_marketing_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/37" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/5" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/37" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/5" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1282</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimageasset</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">132</value> - <value key="alternativeText">Text</value> - <value key="source"/> - <value key="variations"> - <value key="ezplatform_admin_ui_profile_picture_user_menu"> - <value key="href">/api/ibexa/v2/content/binary/images/132-559-1/variations/ezplatform_admin_ui_profile_picture_user_menu</value> - </value> - <value key="gallery"> - <value key="href">/api/ibexa/v2/content/binary/images/132-559-1/variations/gallery</value> - </value> - <value key="large"> - <value key="href">/api/ibexa/v2/content/binary/images/132-559-1/variations/large</value> - </value> - <value key="medium"> - <value key="href">/api/ibexa/v2/content/binary/images/132-559-1/variations/medium</value> - </value> - <value key="original"> - <value key="href">/api/ibexa/v2/content/binary/images/132-559-1/variations/original</value> - </value> - <value key="reference"> - <value key="href">/api/ibexa/v2/content/binary/images/132-559-1/variations/reference</value> - </value> - <value key="small"> - <value key="href">/api/ibexa/v2/content/binary/images/132-559-1/variations/small</value> - </value> - <value key="tiny"> - <value key="href">/api/ibexa/v2/content/binary/images/132-559-1/variations/tiny</value> - </value> - </value> - </fieldValue> - </field> - <field> - <id>1283</id> - <fieldDefinitionIdentifier>product_category</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_taxonomy_entry_assignment</fieldTypeIdentifier> - <fieldValue> - <value key="taxonomy_entries"> - <value>10</value> - </value> - <value key="taxonomy">product_categories</value> - </fieldValue> - </field> - <field> - <id>1284</id> - <fieldDefinitionIdentifier>specification</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_product_specification</fieldTypeIdentifier> - <fieldValue> - <value key="id">2</value> - <value key="code">product_code_control_unit_1</value> - <value key="attributes"> - <value>#991123</value> - <value>connection_type1</value> - <value>led_color1</value> - <value> - <value key="type">length</value> - <value key="min_value">101.500000</value> - <value key="max_value">201.500000</value> - <value key="unit">millimeter</value> - </value> - <value> - <value key="type">length</value> - <value key="value">200.000000</value> - <value key="unit">millimeter</value> - </value> - <value>panel_type1</value> - </value> - <value key="is_virtual">false</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/273/versions/1/relations"> - <Relation media-type="application/vnd.ibexa.api.Relation+xml" href="/api/ibexa/v2/content/objects/273/versions/1/relations/2"> - <SourceContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/273"/> - <DestinationContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/132"/> - <SourceFieldDefinitionIdentifier>image</SourceFieldDefinitionIdentifier> - <RelationType>ASSET</RelationType> - </Relation> - </Relations> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/9/5/5/0/559-1-eng-GB/f25743f8e7c0-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/273/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2025-04-02T12:54:13+00:00</lastModificationDate> - <publishedDate>2025-04-02T12:54:09+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/273/objectstates"/> - </Content> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/9/5/5/0/559-1-eng-GB/f25743f8e7c0-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - <created_at>1743598449</created_at> - <updated_at>1743598453</updated_at> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>color</identifier> - <name>Color</name> - <description>Color of control unit</description> - <type>Color</type> - <type_identifier>color</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options/> - <value>#991123</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>connection_type</identifier> - <name>Connection type</name> - <description>Type of connection</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">connection_type0</value> - <value key="label"> - <value key="eng-GB">USB Cable</value> - </value> - </value> - <value> - <value key="value">connection_type1</value> - <value key="label"> - <value key="eng-GB">USB Bluetooth</value> - </value> - </value> - <value> - <value key="value">connection_type2</value> - <value key="label"> - <value key="eng-GB">USB Radio</value> - </value> - </value> - </value> - </options> - <value>connection_type1</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>led_color</identifier> - <name>LED color</name> - <description>Color of LED lights</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">led_color0</value> - <value key="label"> - <value key="eng-GB">Green</value> - </value> - </value> - <value> - <value key="value">led_color1</value> - <value key="label"> - <value key="eng-GB">White</value> - </value> - </value> - <value> - <value key="value">led_color2</value> - <value key="label"> - <value key="eng-GB">Blue</value> - </value> - </value> - <value> - <value key="value">led_color3</value> - <value key="label"> - <value key="eng-GB">Full color</value> - </value> - </value> - <value> - <value key="value">led_color4</value> - <value key="label"> - <value key="eng-GB">Yellow</value> - </value> - </value> - </value> - </options> - <value>led_color1</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>length</identifier> - <name>Length</name> - <description>Length of control unit</description> - <type>Measurement (range)</type> - <type_identifier>measurement_range</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - </options> - <value> - <value key="type">length</value> - <value key="min_value">101.500000</value> - <value key="max_value">201.500000</value> - <value key="unit">millimeter</value> - </value> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>width</identifier> - <name>Width</name> - <description>Width of control unit</description> - <type>Measurement (single)</type> - <type_identifier>measurement_single</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - <value key="sign">none</value> - <value key="defaultValue">400</value> - </options> - <value> - <value key="type">length</value> - <value key="value">200.000000</value> - <value key="unit">millimeter</value> - </value> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>panel_type</identifier> - <name>Control unit panel type</name> - <description>Control unit panel type</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">panel_type0</value> - <value key="label"> - <value key="eng-GB">Buttons</value> - </value> - </value> - <value> - <value key="value">panel_type1</value> - <value key="label"> - <value key="eng-GB">Touch screen</value> - </value> - </value> - </value> - </options> - <value>panel_type1</value> - <extra_options/> - </Attribute> - <Availability media-type="application/vnd.ibexa.api.Availability+xml"> - <is_available>1</is_available> - <stock>101</stock> - <is_infinite></is_infinite> - </Availability> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <id>16</id> - <amount>101.00</amount> - <base_amount>101.00</base_amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - <money>10100</money> - <base_money>10100</base_money> - </Price> - </Product> - </CartSummaryEntry> - <CartSummaryEntry media-type="application/vnd.ibexa.api.CartSummaryEntry+xml"> - <identifier>7a62792c-a7a8-4661-9a01-51c2ba89e1f5</identifier> - <id>2</id> - <names> - <value languageCode="eng-GB">Control unit 3|germany|none|physical</value> - </names> - <quantity>2</quantity> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10300</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€103.00</formatted> - </RestPrice> - </Price> - <PriceInclVat media-type="application/vnd.ibexa.api.PriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10300</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€103.00</formatted> - </RestPrice> - </PriceInclVat> - <SubtotalPrice media-type="application/vnd.ibexa.api.SubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>20600</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€206.00</formatted> - </RestPrice> - </SubtotalPrice> - <SubtotalPriceInclVat media-type="application/vnd.ibexa.api.SubtotalPriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>20600</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€206.00</formatted> - </RestPrice> - </SubtotalPriceInclVat> - <VatCategory media-type="application/vnd.ibexa.api.VatCategory+xml"> - <identifier>none</identifier> - <region>germany</region> - <vatValue>0</vatValue> - </VatCategory> - <OriginalSubtotalPrice media-type="application/vnd.ibexa.api.OriginalSubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>20600</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€206.00</formatted> - </RestPrice> - </OriginalSubtotalPrice> - <Product media-type="application/vnd.ibexa.api.Product+xml"> - <code>product_code_control_unit_3</code> - <isBaseProduct></isBaseProduct> - <isVariant></isVariant> - <name>Control unit 3|germany|none|physical</name> - <ProductType media-type="application/vnd.ibexa.api.ProductType+xml"> - <identifier>Control unit3</identifier> - <name>Control unit3|germany|none|physical</name> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>color</identifier> - <name>Color</name> - <description>Color of control unit</description> - <type>Color</type> - <type_identifier>color</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options/> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>connection_type</identifier> - <name>Connection type</name> - <description>Type of connection</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">connection_type0</value> - <value key="label"> - <value key="eng-GB">USB Cable</value> - </value> - </value> - <value> - <value key="value">connection_type1</value> - <value key="label"> - <value key="eng-GB">USB Bluetooth</value> - </value> - </value> - <value> - <value key="value">connection_type2</value> - <value key="label"> - <value key="eng-GB">USB Radio</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>led_color</identifier> - <name>LED color</name> - <description>Color of LED lights</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">led_color0</value> - <value key="label"> - <value key="eng-GB">Green</value> - </value> - </value> - <value> - <value key="value">led_color1</value> - <value key="label"> - <value key="eng-GB">White</value> - </value> - </value> - <value> - <value key="value">led_color2</value> - <value key="label"> - <value key="eng-GB">Blue</value> - </value> - </value> - <value> - <value key="value">led_color3</value> - <value key="label"> - <value key="eng-GB">Full color</value> - </value> - </value> - <value> - <value key="value">led_color4</value> - <value key="label"> - <value key="eng-GB">Yellow</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>length</identifier> - <name>Length</name> - <description>Length of control unit</description> - <type>Measurement (range)</type> - <type_identifier>measurement_range</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - </options> - <value/> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>width</identifier> - <name>Width</name> - <description>Width of control unit</description> - <type>Measurement (single)</type> - <type_identifier>measurement_single</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - <value key="sign">none</value> - <value key="defaultValue">400</value> - </options> - <value/> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>panel_type</identifier> - <name>Control unit panel type</name> - <description>Control unit panel type</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">panel_type0</value> - <value key="label"> - <value key="eng-GB">Buttons</value> - </value> - </value> - <value> - <value key="value">panel_type1</value> - <value key="label"> - <value key="eng-GB">Touch screen</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - </ProductType> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/275" remoteId="product_control_unit_3" id="275"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/88"/> - <Name>Control unit 3|germany|none|physical</Name> - <TranslatedName>Control unit 3|germany|none|physical</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/275/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/275/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/275/versions/1"> - <VersionInfo> - <id>737</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2025-04-02T12:54:17+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2025-04-02T12:54:17+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Control unit 3|germany|none|physical</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/275"/> - </VersionInfo> - <Fields> - <field> - <id>1293</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Control unit 3|germany|none|physical</fieldValue> - </field> - <field> - <id>1294</id> - <fieldDefinitionIdentifier>intro</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/1" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1295</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/33" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/5" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/6" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/33" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/5" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/6" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1296</id> - <fieldDefinitionIdentifier>long_marketing_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/33" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/5" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/6" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/33" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/5" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/6" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1297</id> - <fieldDefinitionIdentifier>other_long_marketing_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/11" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/5" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/11" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/5" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1298</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimageasset</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">136</value> - <value key="alternativeText">Text</value> - <value key="source"/> - <value key="variations"> - <value key="ezplatform_admin_ui_profile_picture_user_menu"> - <value key="href">/api/ibexa/v2/content/binary/images/136-575-1/variations/ezplatform_admin_ui_profile_picture_user_menu</value> - </value> - <value key="gallery"> - <value key="href">/api/ibexa/v2/content/binary/images/136-575-1/variations/gallery</value> - </value> - <value key="large"> - <value key="href">/api/ibexa/v2/content/binary/images/136-575-1/variations/large</value> - </value> - <value key="medium"> - <value key="href">/api/ibexa/v2/content/binary/images/136-575-1/variations/medium</value> - </value> - <value key="original"> - <value key="href">/api/ibexa/v2/content/binary/images/136-575-1/variations/original</value> - </value> - <value key="reference"> - <value key="href">/api/ibexa/v2/content/binary/images/136-575-1/variations/reference</value> - </value> - <value key="small"> - <value key="href">/api/ibexa/v2/content/binary/images/136-575-1/variations/small</value> - </value> - <value key="tiny"> - <value key="href">/api/ibexa/v2/content/binary/images/136-575-1/variations/tiny</value> - </value> - </value> - </fieldValue> - </field> - <field> - <id>1299</id> - <fieldDefinitionIdentifier>product_category</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_taxonomy_entry_assignment</fieldTypeIdentifier> - <fieldValue> - <value key="taxonomy_entries"> - <value>24</value> - </value> - <value key="taxonomy">product_categories</value> - </fieldValue> - </field> - <field> - <id>1300</id> - <fieldDefinitionIdentifier>specification</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_product_specification</fieldTypeIdentifier> - <fieldValue> - <value key="id">4</value> - <value key="code">product_code_control_unit_3</value> - <value key="attributes"> - <value>#973369</value> - <value>connection_type0</value> - <value>led_color3</value> - <value> - <value key="type">length</value> - <value key="min_value">103.500000</value> - <value key="max_value">203.500000</value> - <value key="unit">millimeter</value> - </value> - <value> - <value key="type">length</value> - <value key="value">400.000000</value> - <value key="unit">millimeter</value> - </value> - <value>panel_type1</value> - </value> - <value key="is_virtual">false</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/275/versions/1/relations"> - <Relation media-type="application/vnd.ibexa.api.Relation+xml" href="/api/ibexa/v2/content/objects/275/versions/1/relations/4"> - <SourceContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/275"/> - <DestinationContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/136"/> - <SourceFieldDefinitionIdentifier>image</SourceFieldDefinitionIdentifier> - <RelationType>ASSET</RelationType> - </Relation> - </Relations> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/5/7/5/0/575-1-eng-GB/274d5edc4d3c-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/275/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2025-04-02T12:54:20+00:00</lastModificationDate> - <publishedDate>2025-04-02T12:54:17+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/275/objectstates"/> - </Content> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/5/7/5/0/575-1-eng-GB/274d5edc4d3c-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - <created_at>1743598457</created_at> - <updated_at>1743598460</updated_at> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>color</identifier> - <name>Color</name> - <description>Color of control unit</description> - <type>Color</type> - <type_identifier>color</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options/> - <value>#973369</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>connection_type</identifier> - <name>Connection type</name> - <description>Type of connection</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">connection_type0</value> - <value key="label"> - <value key="eng-GB">USB Cable</value> - </value> - </value> - <value> - <value key="value">connection_type1</value> - <value key="label"> - <value key="eng-GB">USB Bluetooth</value> - </value> - </value> - <value> - <value key="value">connection_type2</value> - <value key="label"> - <value key="eng-GB">USB Radio</value> - </value> - </value> - </value> - </options> - <value>connection_type0</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>led_color</identifier> - <name>LED color</name> - <description>Color of LED lights</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">led_color0</value> - <value key="label"> - <value key="eng-GB">Green</value> - </value> - </value> - <value> - <value key="value">led_color1</value> - <value key="label"> - <value key="eng-GB">White</value> - </value> - </value> - <value> - <value key="value">led_color2</value> - <value key="label"> - <value key="eng-GB">Blue</value> - </value> - </value> - <value> - <value key="value">led_color3</value> - <value key="label"> - <value key="eng-GB">Full color</value> - </value> - </value> - <value> - <value key="value">led_color4</value> - <value key="label"> - <value key="eng-GB">Yellow</value> - </value> - </value> - </value> - </options> - <value>led_color3</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>length</identifier> - <name>Length</name> - <description>Length of control unit</description> - <type>Measurement (range)</type> - <type_identifier>measurement_range</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - </options> - <value> - <value key="type">length</value> - <value key="min_value">103.500000</value> - <value key="max_value">203.500000</value> - <value key="unit">millimeter</value> - </value> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>width</identifier> - <name>Width</name> - <description>Width of control unit</description> - <type>Measurement (single)</type> - <type_identifier>measurement_single</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - <value key="sign">none</value> - <value key="defaultValue">400</value> - </options> - <value> - <value key="type">length</value> - <value key="value">400.000000</value> - <value key="unit">millimeter</value> - </value> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>panel_type</identifier> - <name>Control unit panel type</name> - <description>Control unit panel type</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">panel_type0</value> - <value key="label"> - <value key="eng-GB">Buttons</value> - </value> - </value> - <value> - <value key="value">panel_type1</value> - <value key="label"> - <value key="eng-GB">Touch screen</value> - </value> - </value> - </value> - </options> - <value>panel_type1</value> - <extra_options/> - </Attribute> - <Availability media-type="application/vnd.ibexa.api.Availability+xml"> - <is_available>1</is_available> - <stock>103</stock> - <is_infinite></is_infinite> - </Availability> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <id>46</id> - <amount>103.00</amount> - <base_amount>103.00</base_amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - <money>10300</money> - <base_money>10300</base_money> - </Price> - </Product> - </CartSummaryEntry> - <CartSummaryEntry media-type="application/vnd.ibexa.api.CartSummaryEntry+xml"> - <identifier>37dfad84-8c5d-4d06-8939-29397b020ee6</identifier> - <id>3</id> - <names> - <value languageCode="eng-GB">Control unit 2|germany|none|physical</value> - </names> - <quantity>1</quantity> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </Price> - <PriceInclVat media-type="application/vnd.ibexa.api.PriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </PriceInclVat> - <SubtotalPrice media-type="application/vnd.ibexa.api.SubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </SubtotalPrice> - <SubtotalPriceInclVat media-type="application/vnd.ibexa.api.SubtotalPriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </SubtotalPriceInclVat> - <VatCategory media-type="application/vnd.ibexa.api.VatCategory+xml"> - <identifier>none</identifier> - <region>germany</region> - <vatValue>0</vatValue> - </VatCategory> - <OriginalSubtotalPrice media-type="application/vnd.ibexa.api.OriginalSubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </OriginalSubtotalPrice> - <Product media-type="application/vnd.ibexa.api.Product+xml"> - <code>product_code_control_unit_2</code> - <isBaseProduct></isBaseProduct> - <isVariant></isVariant> - <name>Control unit 2|germany|none|physical</name> - <ProductType media-type="application/vnd.ibexa.api.ProductType+xml"> - <identifier>Control unit2</identifier> - <name>Control unit2|germany|none|physical</name> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>color</identifier> - <name>Color</name> - <description>Color of control unit</description> - <type>Color</type> - <type_identifier>color</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options/> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>connection_type</identifier> - <name>Connection type</name> - <description>Type of connection</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">connection_type0</value> - <value key="label"> - <value key="eng-GB">USB Cable</value> - </value> - </value> - <value> - <value key="value">connection_type1</value> - <value key="label"> - <value key="eng-GB">USB Bluetooth</value> - </value> - </value> - <value> - <value key="value">connection_type2</value> - <value key="label"> - <value key="eng-GB">USB Radio</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>led_color</identifier> - <name>LED color</name> - <description>Color of LED lights</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">led_color0</value> - <value key="label"> - <value key="eng-GB">Green</value> - </value> - </value> - <value> - <value key="value">led_color1</value> - <value key="label"> - <value key="eng-GB">White</value> - </value> - </value> - <value> - <value key="value">led_color2</value> - <value key="label"> - <value key="eng-GB">Blue</value> - </value> - </value> - <value> - <value key="value">led_color3</value> - <value key="label"> - <value key="eng-GB">Full color</value> - </value> - </value> - <value> - <value key="value">led_color4</value> - <value key="label"> - <value key="eng-GB">Yellow</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>length</identifier> - <name>Length</name> - <description>Length of control unit</description> - <type>Measurement (range)</type> - <type_identifier>measurement_range</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - </options> - <value/> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>width</identifier> - <name>Width</name> - <description>Width of control unit</description> - <type>Measurement (single)</type> - <type_identifier>measurement_single</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - <value key="sign">none</value> - <value key="defaultValue">400</value> - </options> - <value/> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - </AttributeAssignment> - <AttributeAssignment media-type="application/vnd.ibexa.api.AttributeAssignment+xml"> - <is_required></is_required> - <is_discriminator></is_discriminator> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>panel_type</identifier> - <name>Control unit panel type</name> - <description>Control unit panel type</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">panel_type0</value> - <value key="label"> - <value key="eng-GB">Buttons</value> - </value> - </value> - <value> - <value key="value">panel_type1</value> - <value key="label"> - <value key="eng-GB">Touch screen</value> - </value> - </value> - </value> - </options> - <value/> - <extra_options/> - </Attribute> - </AttributeAssignment> - </ProductType> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/274" remoteId="product_control_unit_2" id="274"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/87"/> - <Name>Control unit 2|germany|none|physical</Name> - <TranslatedName>Control unit 2|germany|none|physical</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/274/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/274/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/274/versions/1"> - <VersionInfo> - <id>736</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2025-04-02T12:54:13+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2025-04-02T12:54:13+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Control unit 2|germany|none|physical</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/274"/> - </VersionInfo> - <Fields> - <field> - <id>1285</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Control unit 2|germany|none|physical</fieldValue> - </field> - <field> - <id>1286</id> - <fieldDefinitionIdentifier>intro</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/34" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/6" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/7" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/34" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/6" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/7" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1287</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/22" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/6" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/22" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/6" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1288</id> - <fieldDefinitionIdentifier>long_marketing_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/22" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/2" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/1" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/6" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/22" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/2" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/1" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/6" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1289</id> - <fieldDefinitionIdentifier>other_long_marketing_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"> -<title ezxhtml:level="2">FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</title> -<para><link xlink:href="https://pl.wikipedia.org/wiki/24" xlink:show="none" xlink:title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/4" xlink:show="none" xlink:title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/3" xlink:show="none" xlink:title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/0" xlink:show="none" xlink:title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</link></para> -<para><link xlink:href="https://pl.wikipedia.org/wiki/6" xlink:show="none" xlink:title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</link></para> -</section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"> -<h2>FIT you,' said Alice, (she had grown up,' she said to herself. (Alice had been (Before she had gone through that day. 'No, no!' said the Cat. '--so long as there was no use in the way to fly up into..</h2> -<p><a href="https://pl.wikipedia.org/wiki/24" title="ipsum">Alice, 'they're sure to happen,' she said these words her foot slipped, and in THAT direction,' the Cat again, sitting on a crimson velvet cushion; and, last of all the rest waited in silence. At.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="reprehenderit">YOU must cross-examine THIS witness.' 'Well, if I shall see it written up somewhere.' Down, down, down. Would the fall NEVER come to the end: then stop.' These were the two creatures got so much at.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="quia">I wonder if I like being that person, I'll come up: if not, I'll stay down here! It'll be no chance of getting her hands on her spectacles, and began to repeat it, but her voice close to the table.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="veritatis">Twinkle, twinkle--"' Here the other side of WHAT? The other side will make you a present of everything I've said as yet.' 'A cheap sort of mixed flavour of cherry-tart, custard, pine-apple, roast.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/4" title="ex">She felt very lonely and low-spirited. In a minute or two sobs choked his voice. 'Same as if she were looking up into the sky all the arches are gone from this morning,' said Alice in a solemn tone.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="voluptatem">Tillie; and they all cheered. Alice thought to herself. 'I dare say there may be ONE.' 'One, indeed!' said the cook. The King laid his hand upon her arm, and timidly said 'Consider, my dear: she is.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/3" title="sit">Gryphon. 'It's all his fancy, that: he hasn't got no business of MINE.' The Queen turned angrily away from her as hard as she spoke, but no result seemed to be afraid of it. Presently the Rabbit.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/0" title="quia">So they sat down, and the Queen was close behind it was perfectly round, she found herself falling down a jar from one of the words have got altered.' 'It is a long argument with the next witness.'.</a></p> -<p><a href="https://pl.wikipedia.org/wiki/6" title="voluptatem">I believe.' 'Boots and shoes under the sea,' the Gryphon said to the beginning of the cupboards as she could. The next thing was to twist it up into the open air. 'IF I don't want YOU with us!"'.</a></p> -</section> -</value> - </fieldValue> - </field> - <field> - <id>1290</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimageasset</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">134</value> - <value key="alternativeText">Text</value> - <value key="source"/> - <value key="variations"> - <value key="ezplatform_admin_ui_profile_picture_user_menu"> - <value key="href">/api/ibexa/v2/content/binary/images/134-567-1/variations/ezplatform_admin_ui_profile_picture_user_menu</value> - </value> - <value key="gallery"> - <value key="href">/api/ibexa/v2/content/binary/images/134-567-1/variations/gallery</value> - </value> - <value key="large"> - <value key="href">/api/ibexa/v2/content/binary/images/134-567-1/variations/large</value> - </value> - <value key="medium"> - <value key="href">/api/ibexa/v2/content/binary/images/134-567-1/variations/medium</value> - </value> - <value key="original"> - <value key="href">/api/ibexa/v2/content/binary/images/134-567-1/variations/original</value> - </value> - <value key="reference"> - <value key="href">/api/ibexa/v2/content/binary/images/134-567-1/variations/reference</value> - </value> - <value key="small"> - <value key="href">/api/ibexa/v2/content/binary/images/134-567-1/variations/small</value> - </value> - <value key="tiny"> - <value key="href">/api/ibexa/v2/content/binary/images/134-567-1/variations/tiny</value> - </value> - </value> - </fieldValue> - </field> - <field> - <id>1291</id> - <fieldDefinitionIdentifier>product_category</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_taxonomy_entry_assignment</fieldTypeIdentifier> - <fieldValue> - <value key="taxonomy_entries"> - <value>17</value> - </value> - <value key="taxonomy">product_categories</value> - </fieldValue> - </field> - <field> - <id>1292</id> - <fieldDefinitionIdentifier>specification</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_product_specification</fieldTypeIdentifier> - <fieldValue> - <value key="id">3</value> - <value key="code">product_code_control_unit_2</value> - <value key="attributes"> - <value>#982246</value> - <value>connection_type2</value> - <value>led_color2</value> - <value> - <value key="type">length</value> - <value key="min_value">102.500000</value> - <value key="max_value">202.500000</value> - <value key="unit">millimeter</value> - </value> - <value> - <value key="type">length</value> - <value key="value">300.000000</value> - <value key="unit">millimeter</value> - </value> - <value>panel_type0</value> - </value> - <value key="is_virtual">false</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/274/versions/1/relations"> - <Relation media-type="application/vnd.ibexa.api.Relation+xml" href="/api/ibexa/v2/content/objects/274/versions/1/relations/3"> - <SourceContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/274"/> - <DestinationContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/134"/> - <SourceFieldDefinitionIdentifier>image</SourceFieldDefinitionIdentifier> - <RelationType>ASSET</RelationType> - </Relation> - </Relations> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/7/6/5/0/567-1-eng-GB/d396544dd46a-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/274/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2025-04-02T12:54:16+00:00</lastModificationDate> - <publishedDate>2025-04-02T12:54:13+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/274/objectstates"/> - </Content> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/7/6/5/0/567-1-eng-GB/d396544dd46a-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - <created_at>1743598453</created_at> - <updated_at>1743598456</updated_at> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>color</identifier> - <name>Color</name> - <description>Color of control unit</description> - <type>Color</type> - <type_identifier>color</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options/> - <value>#982246</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>connection_type</identifier> - <name>Connection type</name> - <description>Type of connection</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">connection_type0</value> - <value key="label"> - <value key="eng-GB">USB Cable</value> - </value> - </value> - <value> - <value key="value">connection_type1</value> - <value key="label"> - <value key="eng-GB">USB Bluetooth</value> - </value> - </value> - <value> - <value key="value">connection_type2</value> - <value key="label"> - <value key="eng-GB">USB Radio</value> - </value> - </value> - </value> - </options> - <value>connection_type2</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>led_color</identifier> - <name>LED color</name> - <description>Color of LED lights</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">led_color0</value> - <value key="label"> - <value key="eng-GB">Green</value> - </value> - </value> - <value> - <value key="value">led_color1</value> - <value key="label"> - <value key="eng-GB">White</value> - </value> - </value> - <value> - <value key="value">led_color2</value> - <value key="label"> - <value key="eng-GB">Blue</value> - </value> - </value> - <value> - <value key="value">led_color3</value> - <value key="label"> - <value key="eng-GB">Full color</value> - </value> - </value> - <value> - <value key="value">led_color4</value> - <value key="label"> - <value key="eng-GB">Yellow</value> - </value> - </value> - </value> - </options> - <value>led_color2</value> - <extra_options/> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>length</identifier> - <name>Length</name> - <description>Length of control unit</description> - <type>Measurement (range)</type> - <type_identifier>measurement_range</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - </options> - <value> - <value key="type">length</value> - <value key="min_value">102.500000</value> - <value key="max_value">202.500000</value> - <value key="unit">millimeter</value> - </value> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>width</identifier> - <name>Width</name> - <description>Width of control unit</description> - <type>Measurement (single)</type> - <type_identifier>measurement_single</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="type">length</value> - <value key="unit">millimeter</value> - <value key="sign">none</value> - <value key="defaultValue">400</value> - </options> - <value> - <value key="type">length</value> - <value key="value">300.000000</value> - <value key="unit">millimeter</value> - </value> - <extra_options> - <value key="available_units"> - <value> - <value key="label">Centimeter</value> - <value key="value">centimeter</value> - </value> - <value> - <value key="label">Foot</value> - <value key="value">foot</value> - </value> - <value> - <value key="label">Inch</value> - <value key="value">inch</value> - </value> - <value> - <value key="label">Meter</value> - <value key="value">meter</value> - </value> - <value> - <value key="label">Millimeter</value> - <value key="value">millimeter</value> - </value> - <value> - <value key="label">Yard</value> - <value key="value">yard</value> - </value> - </value> - </extra_options> - </Attribute> - <Attribute media-type="application/vnd.ibexa.api.Attribute+xml"> - <identifier>panel_type</identifier> - <name>Control unit panel type</name> - <description>Control unit panel type</description> - <type>Selection</type> - <type_identifier>selection</type_identifier> - <group>Control unit attributes</group> - <position>0</position> - <options> - <value key="choices"> - <value> - <value key="value">panel_type0</value> - <value key="label"> - <value key="eng-GB">Buttons</value> - </value> - </value> - <value> - <value key="value">panel_type1</value> - <value key="label"> - <value key="eng-GB">Touch screen</value> - </value> - </value> - </value> - </options> - <value>panel_type0</value> - <extra_options/> - </Attribute> - <Availability media-type="application/vnd.ibexa.api.Availability+xml"> - <is_available>1</is_available> - <stock>102</stock> - <is_infinite></is_infinite> - </Availability> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <id>31</id> - <amount>102.00</amount> - <base_amount>102.00</base_amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - <money>10200</money> - <base_money>10200</base_money> - </Price> - </Product> - </CartSummaryEntry> - </SummaryEntryCollection> - <TotalPrice media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>40900</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€409.00</formatted> - </RestPrice> - </TotalPrice> - <OriginalTotalPrice media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>40900</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€409.00</formatted> - </RestPrice> - </OriginalTotalPrice> - <TotalDiscount media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>0</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€0.00</formatted> - </RestPrice> - </TotalDiscount> - <TotalPriceInclVat media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>40900</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€409.00</formatted> - </RestPrice> - </TotalPriceInclVat> - <VatCategorySummary media-type="application/vnd.ibexa.api.VatCategorySummary+xml"> - <VatCategory media-type="application/vnd.ibexa.api.VatCategory+xml"> - <identifier>none</identifier> - <region>germany</region> - <vatValue>0</vatValue> - </VatCategory> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>0</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€0.00</formatted> - </RestPrice> - </VatCategorySummary> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - <CartConstraintViolationList media-type="application/vnd.ibexa.api.CartConstraintViolationList+xml"/> -</CartSummary> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/ShortCartSummary.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/ShortCartSummary.json.example deleted file mode 100644 index e093345ff4..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/ShortCartSummary.json.example +++ /dev/null @@ -1,540 +0,0 @@ -{ - "CartSummary": { - "_media-type": "application\/vnd.ibexa.api.CartSummary+json", - "_href": "\/api\/ibexa\/v2\/cart\/b0b51659-75f7-4c8d-9cea-5ce5865dd9ce\/summary", - "id": 1, - "identifier": "b0b51659-75f7-4c8d-9cea-5ce5865dd9ce", - "name": "default", - "createdAt": "2025-04-03T08:16:09+00:00", - "updatedAt": "2025-04-03T08:16:09+00:00", - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "SummaryEntryCollection": { - "_media-type": "application\/vnd.ibexa.api.SummaryEntryCollection+json", - "count": "3", - "SummaryEntry": [ - { - "_media-type": "application\/vnd.ibexa.api.CartSummaryEntry+json", - "identifier": "5ce5d7a7-fcc8-4d28-89ad-3f4a53b7ea9a", - "id": 1, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 1|germany|none|physical" - } - ] - }, - "quantity": 1, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "PriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.PriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "SubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "SubtotalPriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "VatCategory": { - "_media-type": "application\/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "germany", - "vatValue": 0 - }, - "OriginalSubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.OriginalSubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10100", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac101.00" - } - }, - "Product": { - "_media-type": "application\/vnd.ibexa.api.Product+json", - "code": "product_code_control_unit_1", - "isBaseProduct": false, - "isVariant": false, - "name": "Control unit 1|germany|none|physical", - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/9\/5\/5\/0\/559-1-eng-GB\/f25743f8e7c0-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - }, - "Availability": { - "_media-type": "application\/vnd.ibexa.api.Availability+json", - "is_available": true, - "stock": 101, - "is_infinite": false - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.CartSummaryEntry+json", - "identifier": "7a62792c-a7a8-4661-9a01-51c2ba89e1f5", - "id": 2, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 3|germany|none|physical" - } - ] - }, - "quantity": 2, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10300", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac103.00" - } - }, - "PriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.PriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10300", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac103.00" - } - }, - "SubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "20600", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac206.00" - } - }, - "SubtotalPriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "20600", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac206.00" - } - }, - "VatCategory": { - "_media-type": "application\/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "germany", - "vatValue": 0 - }, - "OriginalSubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.OriginalSubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "20600", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac206.00" - } - }, - "Product": { - "_media-type": "application\/vnd.ibexa.api.Product+json", - "code": "product_code_control_unit_3", - "isBaseProduct": false, - "isVariant": false, - "name": "Control unit 3|germany|none|physical", - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/5\/7\/5\/0\/575-1-eng-GB\/274d5edc4d3c-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - }, - "Availability": { - "_media-type": "application\/vnd.ibexa.api.Availability+json", - "is_available": true, - "stock": 103, - "is_infinite": false - } - } - }, - { - "_media-type": "application\/vnd.ibexa.api.CartSummaryEntry+json", - "identifier": "37dfad84-8c5d-4d06-8939-29397b020ee6", - "id": 3, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Control unit 2|germany|none|physical" - } - ] - }, - "quantity": 1, - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "PriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.PriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "SubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "SubtotalPriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.SubtotalPriceInclVat+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "VatCategory": { - "_media-type": "application\/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "germany", - "vatValue": 0 - }, - "OriginalSubtotalPrice": { - "_media-type": "application\/vnd.ibexa.api.OriginalSubtotalPrice+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "10200", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac102.00" - } - }, - "Product": { - "_media-type": "application\/vnd.ibexa.api.Product+json", - "code": "product_code_control_unit_2", - "isBaseProduct": false, - "isVariant": false, - "name": "Control unit 2|germany|none|physical", - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "http:\/\/localhost:8070\/var\/site\/storage\/images\/_aliases\/medium\/7\/6\/5\/0\/567-1-eng-GB\/d396544dd46a-controlunit.jpeg", - "width": 200, - "height": 150, - "mimeType": "image\/jpeg" - }, - "Availability": { - "_media-type": "application\/vnd.ibexa.api.Availability+json", - "is_available": true, - "stock": 102, - "is_infinite": false - } - } - } - ] - }, - "TotalPrice": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "40900", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac409.00" - } - }, - "OriginalTotalPrice": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "40900", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac409.00" - } - }, - "TotalDiscount": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "0", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac0.00" - } - }, - "TotalPriceInclVat": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "40900", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac409.00" - } - }, - "vatCategorySummary": [ - { - "_media-type": "application\/vnd.ibexa.api.VatCategorySummary+json", - "VatCategory": { - "_media-type": "application\/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "germany", - "vatValue": 0 - }, - "RestPrice": { - "_media-type": "application\/vnd.ibexa.api.RestPrice+json", - "Price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "amount": "0", - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "PriceStamps": [] - }, - "formatted": "\u20ac0.00" - } - } - ], - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "CartConstraintViolationList": { - "_media-type": "application\/vnd.ibexa.api.CartConstraintViolationList+json", - "violations": [] - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/ShortCartSummary.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/ShortCartSummary.xml.example deleted file mode 100644 index 7bd984bc71..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/summary/ShortCartSummary.xml.example +++ /dev/null @@ -1,394 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CartSummary media-type="application/vnd.ibexa.api.CartSummary+xml" href="/api/ibexa/v2/cart/b0b51659-75f7-4c8d-9cea-5ce5865dd9ce/summary"> - <id>1</id> - <identifier>b0b51659-75f7-4c8d-9cea-5ce5865dd9ce</identifier> - <name>default</name> - <createdAt>2025-04-03T08:16:09+00:00</createdAt> - <updatedAt>2025-04-03T08:16:09+00:00</updatedAt> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <SummaryEntryCollection media-type="application/vnd.ibexa.api.SummaryEntryCollection+xml"> - <count>3</count> - <CartSummaryEntry media-type="application/vnd.ibexa.api.CartSummaryEntry+xml"> - <identifier>5ce5d7a7-fcc8-4d28-89ad-3f4a53b7ea9a</identifier> - <id>1</id> - <names> - <value languageCode="eng-GB">Control unit 1|germany|none|physical</value> - </names> - <quantity>1</quantity> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </Price> - <PriceInclVat media-type="application/vnd.ibexa.api.PriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </PriceInclVat> - <SubtotalPrice media-type="application/vnd.ibexa.api.SubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </SubtotalPrice> - <SubtotalPriceInclVat media-type="application/vnd.ibexa.api.SubtotalPriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </SubtotalPriceInclVat> - <VatCategory media-type="application/vnd.ibexa.api.VatCategory+xml"> - <identifier>none</identifier> - <region>germany</region> - <vatValue>0</vatValue> - </VatCategory> - <OriginalSubtotalPrice media-type="application/vnd.ibexa.api.OriginalSubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10100</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€101.00</formatted> - </RestPrice> - </OriginalSubtotalPrice> - <Product media-type="application/vnd.ibexa.api.Product+xml"> - <code>product_code_control_unit_1</code> - <isBaseProduct></isBaseProduct> - <isVariant></isVariant> - <name>Control unit 1|germany|none|physical</name> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/9/5/5/0/559-1-eng-GB/f25743f8e7c0-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - <Availability media-type="application/vnd.ibexa.api.Availability+xml"> - <is_available>1</is_available> - <stock>101</stock> - <is_infinite></is_infinite> - </Availability> - </Product> - </CartSummaryEntry> - <CartSummaryEntry media-type="application/vnd.ibexa.api.CartSummaryEntry+xml"> - <identifier>7a62792c-a7a8-4661-9a01-51c2ba89e1f5</identifier> - <id>2</id> - <names> - <value languageCode="eng-GB">Control unit 3|germany|none|physical</value> - </names> - <quantity>2</quantity> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10300</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€103.00</formatted> - </RestPrice> - </Price> - <PriceInclVat media-type="application/vnd.ibexa.api.PriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10300</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€103.00</formatted> - </RestPrice> - </PriceInclVat> - <SubtotalPrice media-type="application/vnd.ibexa.api.SubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>20600</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€206.00</formatted> - </RestPrice> - </SubtotalPrice> - <SubtotalPriceInclVat media-type="application/vnd.ibexa.api.SubtotalPriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>20600</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€206.00</formatted> - </RestPrice> - </SubtotalPriceInclVat> - <VatCategory media-type="application/vnd.ibexa.api.VatCategory+xml"> - <identifier>none</identifier> - <region>germany</region> - <vatValue>0</vatValue> - </VatCategory> - <OriginalSubtotalPrice media-type="application/vnd.ibexa.api.OriginalSubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>20600</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€206.00</formatted> - </RestPrice> - </OriginalSubtotalPrice> - <Product media-type="application/vnd.ibexa.api.Product+xml"> - <code>product_code_control_unit_3</code> - <isBaseProduct></isBaseProduct> - <isVariant></isVariant> - <name>Control unit 3|germany|none|physical</name> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/5/7/5/0/575-1-eng-GB/274d5edc4d3c-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - <Availability media-type="application/vnd.ibexa.api.Availability+xml"> - <is_available>1</is_available> - <stock>103</stock> - <is_infinite></is_infinite> - </Availability> - </Product> - </CartSummaryEntry> - <CartSummaryEntry media-type="application/vnd.ibexa.api.CartSummaryEntry+xml"> - <identifier>37dfad84-8c5d-4d06-8939-29397b020ee6</identifier> - <id>3</id> - <names> - <value languageCode="eng-GB">Control unit 2|germany|none|physical</value> - </names> - <quantity>1</quantity> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </Price> - <PriceInclVat media-type="application/vnd.ibexa.api.PriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </PriceInclVat> - <SubtotalPrice media-type="application/vnd.ibexa.api.SubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </SubtotalPrice> - <SubtotalPriceInclVat media-type="application/vnd.ibexa.api.SubtotalPriceInclVat+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </SubtotalPriceInclVat> - <VatCategory media-type="application/vnd.ibexa.api.VatCategory+xml"> - <identifier>none</identifier> - <region>germany</region> - <vatValue>0</vatValue> - </VatCategory> - <OriginalSubtotalPrice media-type="application/vnd.ibexa.api.OriginalSubtotalPrice+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>10200</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€102.00</formatted> - </RestPrice> - </OriginalSubtotalPrice> - <Product media-type="application/vnd.ibexa.api.Product+xml"> - <code>product_code_control_unit_2</code> - <isBaseProduct></isBaseProduct> - <isVariant></isVariant> - <name>Control unit 2|germany|none|physical</name> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>http://localhost:8070/var/site/storage/images/_aliases/medium/7/6/5/0/567-1-eng-GB/d396544dd46a-controlunit.jpeg</resource> - <width>200</width> - <height>150</height> - <mimeType>image/jpeg</mimeType> - </Thumbnail> - <Availability media-type="application/vnd.ibexa.api.Availability+xml"> - <is_available>1</is_available> - <stock>102</stock> - <is_infinite></is_infinite> - </Availability> - </Product> - </CartSummaryEntry> - </SummaryEntryCollection> - <TotalPrice media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>40900</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€409.00</formatted> - </RestPrice> - </TotalPrice> - <OriginalTotalPrice media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>40900</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€409.00</formatted> - </RestPrice> - </OriginalTotalPrice> - <TotalDiscount media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>0</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€0.00</formatted> - </RestPrice> - </TotalDiscount> - <TotalPriceInclVat media-type="application/vnd.ibexa.api.Price+xml"> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>40900</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€409.00</formatted> - </RestPrice> - </TotalPriceInclVat> - <VatCategorySummary media-type="application/vnd.ibexa.api.VatCategorySummary+xml"> - <VatCategory media-type="application/vnd.ibexa.api.VatCategory+xml"> - <identifier>none</identifier> - <region>germany</region> - <vatValue>0</vatValue> - </VatCategory> - <RestPrice media-type="application/vnd.ibexa.api.RestPrice+xml"> - <Price media-type="application/vnd.ibexa.api.Price+xml"> - <amount>0</amount> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Price> - <formatted>€0.00</formatted> - </RestPrice> - </VatCategorySummary> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - <CartConstraintViolationList media-type="application/vnd.ibexa.api.CartConstraintViolationList+xml"/> -</CartSummary> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartView.json.example deleted file mode 100644 index 610f7a508f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartView.json.example +++ /dev/null @@ -1,38 +0,0 @@ -{ - "CartView": { - "_media-type": "application\/vnd.ibexa.api.CartView+json", - "identifier": "loadUserCarts", - "Result": { - "_media-type": "application\/vnd.ibexa.api.ViewResult+json", - "count": 1, - "CartList": { - "_media-type": "application\/vnd.ibexa.api.CartList+json", - "Cart": [ - { - "_media-type": "application\/vnd.ibexa.api.Cart+json", - "id": 1, - "identifier": "e79b5dba-c701-4c64-8032-73719a513e50", - "name": "Default", - "createdAt": "2024-09-26T09:16:56+00:00", - "updatedAt": "2024-09-26T09:16:56+00:00", - "owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/10" - }, - "Currency": { - "_media-type": "application\/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "entries": [], - "context": { - "foo": "bar" - } - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartView.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartView.xml.example deleted file mode 100644 index 6837d7c230..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartView.xml.example +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CartView media-type="application/vnd.ibexa.api.CartView+xml"> - <identifier>loadUserCarts</identifier> - <Result media-type="application/vnd.ibexa.api.ViewResult+xml"> - <count>1</count> - <CartList media-type="application/vnd.ibexa.api.CartList+xml"> - <Cart media-type="application/vnd.ibexa.api.Cart+xml"> - <id>1</id> - <identifier>e67d8f4c-95b5-423f-89d8-b2b81c37609b</identifier> - <name>Default</name> - <createdAt>2024-09-26T09:16:56+00:00</createdAt> - <updatedAt>2024-09-26T09:16:56+00:00</updatedAt> - <owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> - <Currency media-type="application/vnd.ibexa.api.Currency+xml"> - <id>2</id> - <code>EUR</code> - <subunits>2</subunits> - <enabled>1</enabled> - </Currency> - </Cart> - </CartList> - </Result> -</CartView> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartViewInput.json.example deleted file mode 100644 index fa894ebe07..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartViewInput.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "CartViewInput": { - "identifier": "loadUserCarts", - "CartQuery": { - "offset": 0, - "limit": 10, - "ownerId": 10 - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartViewInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartViewInput.xml.example deleted file mode 100644 index adf16db964..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/cart/view/CartViewInput.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<CartViewInput> - <identifier>loadUserCarts</identifier> - <CartQuery> - <offset>0</offset> - <limit>10</limit> - <ownerId>10</ownerId> - </CartQuery> -</CartViewInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/Basket.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/Basket.json.example deleted file mode 100644 index bbfa80204d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/Basket.json.example +++ /dev/null @@ -1,212 +0,0 @@ -{ - "Basket": { - "_media-type": "application\/vnd.ibexa.api.Basket+json", - "basketId": 1, - "originId": null, - "erpOrderId": null, - "guid": null, - "state": "new", - "type": "basket", - "erpFailCounter": null, - "erpFailErrorLog": null, - "sessionId": null, - "userId": 14, - "basketName": null, - "invoiceParty": null, - "deliveryParty": null, - "buyerParty": null, - "remark": null, - "dateCreated": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json", - "string": "2021-03-12 10:33:26" - }, - "dateLastModified": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json", - "string": "2021-03-12 10:35:22" - }, - "shop": "MAIN", - "requirePriceUpdate": false, - "totals": { - "lines": { - "_media-type": "application\/vnd.ibexa.api.BasketTotals+json", - "name": "lines", - "totalNet": 0, - "totalGross": 0, - "vatList": { - "19": 0 - }, - "groupType": "order", - "currency": "EUR" - }, - "additionalLines": { - "_media-type": "application\/vnd.ibexa.api.BasketTotals+json", - "name": "additionalLines", - "totalNet": 0, - "totalGross": 0, - "vatList": {}, - "groupType": "order", - "currency": "EUR" - } - }, - "totalsSum": { - "_media-type": "application\/vnd.ibexa.api.BasketTotals+json", - "name": "", - "totalNet": 0, - "totalGross": 0, - "vatList": { - "19": 0 - }, - "groupType": "order", - "currency": "EUR" - }, - "currency": "EUR", - "totalsSumNet": 0, - "totalsSumGross": 0, - "additionalLines": {}, - "lines": [ - { - "_media-type": "application\/vnd.ibexa.api.BasketLine+json", - "basketLineId": 2, - "lineNumber": 1, - "sku": "test", - "variantCode": null, - "productType": "OrderableProductNode", - "quantity": 9, - "unit": null, - "price": 0, - "priceNet": 0, - "priceGross": 0, - "linePriceAmountNet": 0, - "linePriceAmountGross": 0, - "vat": 19, - "isIncVat": true, - "currency": "EUR", - "catalogElement": { - "_media-type": "application\/vnd.ibexa.api.OrderableProductNode+json", - "seoUrl": "\/product-catalog\/test", - "permanentUrl": "\/Products\/test", - "dataMap": { - "discontinued": { - "_media-type": "application\/vnd.ibexa.api.BoolField+json", - "_exception": { - "Name": "EzSystems\\EzPlatformRest\\Output\\Exceptions\\NoVisitorFoundException", - "Message": "No visitor found for Silversolutions\\Bundle\\EshopBundle\\Content\\Fields\\BoolField, Silversolutions\\Bundle\\EshopBundle\\Content\\AbstractField, Silversolutions\\Bundle\\EshopBundle\\Content\\ValueObject." - } - } - }, - "subtitle": null, - "displayInSearch": false, - "displayInProductList": false, - "sku": "test", - "manufacturerSku": "", - "ean": "", - "type": "", - "isOrderable": null, - "price": { - "_media-type": "application\/vnd.ibexa.api.PriceField+json", - "price": { - "_media-type": "application\/vnd.ibexa.api.Price+json", - "price": 0, - "priceInclVat": 0, - "priceExclVat": 0, - "isVatPrice": true, - "vatPercent": 19, - "currency": "EUR", - "discount": null, - "timestamp": "1615545324", - "campaign": null, - "source": "eZ", - "quantityDiscount": null - } - }, - "customerPrice": null, - "scaledPrices": null, - "stock": { - "_media-type": "application\/vnd.ibexa.api.StockField+json", - "_exception": { - "Name": "EzSystems\\EzPlatformRest\\Output\\Exceptions\\NoVisitorFoundException", - "Message": "No visitor found for Silversolutions\\Bundle\\EshopBundle\\Content\\Fields\\StockField, Silversolutions\\Bundle\\EshopBundle\\Content\\AbstractField, Silversolutions\\Bundle\\EshopBundle\\Content\\ValueObject." - } - }, - "shortDescription": { - "_media-type": "application\/vnd.ibexa.api.TextBlockField+json", - "_exception": { - "Name": "EzSystems\\EzPlatformRest\\Output\\Exceptions\\NoVisitorFoundException", - "Message": "No visitor found for Silversolutions\\Bundle\\EshopBundle\\Content\\Fields\\TextBlockField, Silversolutions\\Bundle\\EshopBundle\\Content\\AbstractField, Silversolutions\\Bundle\\EshopBundle\\Content\\ValueObject." - } - }, - "longDescription": { - "_media-type": "application\/vnd.ibexa.api.TextBlockField+json", - "_exception": { - "Name": "EzSystems\\EzPlatformRest\\Output\\Exceptions\\NoVisitorFoundException", - "Message": "No visitor found for Silversolutions\\Bundle\\EshopBundle\\Content\\Fields\\TextBlockField, Silversolutions\\Bundle\\EshopBundle\\Content\\AbstractField, Silversolutions\\Bundle\\EshopBundle\\Content\\ValueObject." - } - }, - "specifications": null, - "imageList": null, - "minOrderQuantity": null, - "maxOrderQuantity": null, - "allowedQuantity": "#^[0-9]+$#", - "packagingUnit": null, - "unit": "", - "vatCode": "VATNORMAL", - "name": "test", - "section": null, - "text": "test", - "image": { - "_media-type": "application\/vnd.ibexa.api.ImageField+json", - "_exception": { - "Name": "EzSystems\\EzPlatformRest\\Output\\Exceptions\\NoVisitorFoundException", - "Message": "No visitor found for Silversolutions\\Bundle\\EshopBundle\\Content\\Fields\\ImageField, Silversolutions\\Bundle\\EshopBundle\\Content\\AbstractField, Silversolutions\\Bundle\\EshopBundle\\Content\\ValueObject." - } - }, - "path": null, - "url": "\/product-catalog\/test", - "parentElementIdentifier": "126", - "identifier": "130", - "cacheIdentifier": null - }, - "groupCalc": null, - "groupOrder": null, - "remark": null, - "remoteDataMap": { - "lineRemark": null, - "scaledPrices": null, - "special_offers": { - "0": "Buy 3 pay 2", - "1": "Customer price" - }, - "stockSign": "", - "stock": { - "_media-type": "application\/vnd.ibexa.api.StockField+json", - "_exception": { - "Name": "EzSystems\\EzPlatformRest\\Output\\Exceptions\\NoVisitorFoundException", - "Message": "No visitor found for Silversolutions\\Bundle\\EshopBundle\\Content\\Fields\\StockField, Silversolutions\\Bundle\\EshopBundle\\Content\\AbstractField, Silversolutions\\Bundle\\EshopBundle\\Content\\ValueObject." - } - }, - "isPriceValid": true - }, - "variantCharacteristics": null, - "assignedLines": null - } - ], - "dateLastPriceCalculation": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json", - "string": "2021-03-12 10:35:22" - }, - "shippingMethod": null, - "paymentMethod": null, - "paymentTransactionId": null, - "confirmationEmail": null, - "salesConfirmationEmail": null, - "allProductsAvailable": false, - "dataMap": { - "pricesValid": true, - "priceResponseSourceType": "ShopMaster", - "dateLastCatalogUpdate": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json", - "string": "2021-03-12 10:35:22" - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/POST/ValidationResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/POST/ValidationResponse.json.example deleted file mode 100644 index a2674dd372..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/POST/ValidationResponse.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ValidationResponse": { - "_media-type": "application\/vnd.ibexa.api.ValidationResponse+json", - "messages": { - "_error": [ - "msg.duplicate_basket_name_not_allowed" - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/GET/Basket.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/GET/Basket.json.example deleted file mode 100644 index 9f9d6a535d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/GET/Basket.json.example +++ /dev/null @@ -1,50 +0,0 @@ -{ - "Basket": { - "_media-type": "application\/vnd.ibexa.api.Basket+json", - "basketId": 7, - "originId": null, - "erpOrderId": null, - "guid": null, - "state": "new", - "type": "storedBasket", - "erpFailCounter": null, - "erpFailErrorLog": null, - "sessionId": "sbnla08g8seeoua51v46jns3vc", - "userId": 14, - "basketName": "foo", - "invoiceParty": null, - "deliveryParty": null, - "buyerParty": null, - "remark": null, - "dateCreated": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json", - "string": "2021-03-12 07:40:00" - }, - "dateLastModified": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json", - "string": "2021-03-12 07:40:00" - }, - "shop": null, - "requirePriceUpdate": false, - "totals": null, - "totalsSum": null, - "currency": null, - "totalsSumNet": null, - "totalsSumGross": null, - "additionalLines": null, - "lines": [], - "dateLastPriceCalculation": null, - "shippingMethod": null, - "paymentMethod": null, - "paymentTransactionId": null, - "confirmationEmail": null, - "salesConfirmationEmail": null, - "allProductsAvailable": true, - "dataMap": { - "dateLastCatalogUpdate": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json", - "string": "2021-03-12 07:40:00" - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/_mode_/POST/BasketHeaderData.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/_mode_/POST/BasketHeaderData.json.example deleted file mode 100644 index 107cd23eee..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/_mode_/POST/BasketHeaderData.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "BasketHeaderData": { - "value": "foobar" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/line/POST/BasketLinesData.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/line/POST/BasketLinesData.json.example deleted file mode 100644 index 5efe1bde55..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/line/POST/BasketLinesData.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "BasketLinesData": [ - { - "basketLineId": 1, - "lineNumber": 1, - "sku": "test", - "quantity": "3", - "dataMap": [] - } - ] -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/line/_line_id_/DELETE/ValidationResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/line/_line_id_/DELETE/ValidationResponse.json.example deleted file mode 100644 index 9b371a1c95..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/_id_/line/_line_id_/DELETE/ValidationResponse.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ValidationResponse": { - "_media-type": "application\/vnd.ibexa.api.ValidationResponse+json", - "messages": { - "_error": [ - "msg.invalid_basket_line_data" - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/copyfrom/_basket_id_/POST/ValidationResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/copyfrom/_basket_id_/POST/ValidationResponse.json.example deleted file mode 100644 index d30c809043..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/copyfrom/_basket_id_/POST/ValidationResponse.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ValidationResponse": { - "_media-type": "application\/vnd.ibexa.api.ValidationResponse+json", - "messages": { - "_error": [ - "Access denied" - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/lines/POST/BasketLineData.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/lines/POST/BasketLineData.json.example deleted file mode 100644 index 26d869de03..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/lines/POST/BasketLineData.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "BasketLineData": [ - { - "sku":"1000", - "quantity":"3", - "isVariant":"0", - "variantCode":"" - } - ] -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/lines/POST/ValidationResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/lines/POST/ValidationResponse.json.example deleted file mode 100644 index bd5f93eaf0..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/lines/POST/ValidationResponse.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ValidationResponse": { - "_media-type": "application\/vnd.ibexa.api.ValidationResponse+json", - "messages": { - "_error": [ - "Product with the sku: foo not found" - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/party/invoice/PATCH/PartyInvoice.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/party/invoice/PATCH/PartyInvoice.json.example deleted file mode 100644 index 944d68644a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/party/invoice/PATCH/PartyInvoice.json.example +++ /dev/null @@ -1,58 +0,0 @@ -{ - "PartyData": { - "_data-type":"invoice", - "_media-type":"application/vnd.ibexa.api.Party+json", - "PartyIdentification":[], - "PartyName":[ - { - "_media-type":"application/vnd.ibexa.api.PartyPartyName+json", - "Name":"Testerin" - }, - { - "_media-type":"application/vnd.ibexa.api.PartyPartyName+json", - "Name":"" - } - ], - "PostalAddress":{ - "_media-type":"application/vnd.ibexa.api.PartyPostalAddress+json", - "StreetName":"Teststr. 11", - "AdditionalStreetName":"", - "BuildingNumber":null, - "CityName":"Testingen", - "PostalZone":"1111", - "CountrySubentity":"Dummy", - "CountrySubentityCode":null, - "AddressLine":[], - "Country":{ - "_media-type":"application/vnd.ibexa.api.PartyPostalAddressCountry+json", - "IdentificationCode":"NO", - "Name":null - }, - "Department":null, - "SesExtension":{} - }, - "Contact":{ - "_media-type":"application/vnd.ibexa.api.Contact+json", - "ID":null, - "Name":null, - "Telephone":"", - "Telefax":null, - "ElectronicMail":"contact@silversolutions.de", - "OtherCommunication":null, - "Note":null, - "SesExtension":{} - }, - "Person":{ - "_media-type":"application/vnd.ibexa.api.PartyPerson+json", - "FirstName":null, - "FamilyName":null, - "Title":null, - "MiddleName":null, - "SesExtension":{} - }, - "SesExtension":{ - "forceInvoice":false, - "customer_type":"private" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/paymentmethod/PATCH/PaymentMethodData.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/paymentmethod/PATCH/PaymentMethodData.json.example deleted file mode 100644 index 59affaa2ba..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/paymentmethod/PATCH/PaymentMethodData.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "PaymentMethodData": { - "paymentMethod": "invoice" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/shippingmethod/PATCH/ShippingMethodData.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/shippingmethod/PATCH/ShippingMethodData.json.example deleted file mode 100644 index dd7960039b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/shippingmethod/PATCH/ShippingMethodData.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ShippingMethodData": { - "shippingMethod": "mail" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/voucher/PATCH/VoucherData.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/voucher/PATCH/VoucherData.json.example deleted file mode 100644 index 9a31c3bee3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/current/voucher/PATCH/VoucherData.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "VoucherData": { - "voucherCode": "1234567" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/deleteLine/PATCH/ValidationResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/deleteLine/PATCH/ValidationResponse.json.example deleted file mode 100644 index d0a70e4c76..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/deleteLine/PATCH/ValidationResponse.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "ValidationResponse": { - "_media-type": "application\/vnd.ibexa.api.ValidationResponse+json", - "messages": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/headers/GET/BasketListResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/headers/GET/BasketListResponse.json.example deleted file mode 100644 index e7881d87ea..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basket/headers/GET/BasketListResponse.json.example +++ /dev/null @@ -1,45 +0,0 @@ -{ - "BasketListResponse": { - "_media-type": "application\/vnd.ibexa.api.BasketListResponse+json", - "basketList": [ - { - "_media-type": "application\/vnd.ibexa.api.stdClass+json", - "basketId": 5, - "state": "new", - "type": "storedBasket", - "sessionId": "mrt02u8u2rbh6aeeibm7rj0i1j", - "userId": 14, - "basketName": "test", - "dateCreated": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json" - }, - "dateLastModified": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json" - }, - "totals": [ - { - "_media-type": "application\/vnd.ibexa.api.BasketTotals+json" - }, - { - "_media-type": "application\/vnd.ibexa.api.BasketTotals+json" - } - ], - "totalsSum": { - "_media-type": "application\/vnd.ibexa.api.BasketTotals+json" - }, - "dateLastPriceCalculation": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json" - }, - "allProductsAvailable": true, - "dataMap": { - "dateLastCatalogUpdate": { - "_media-type": "application\/vnd.ibexa.api.DateTime+json", - "date": "2021-03-10 11:11:06.291444", - "timezone_type": 3, - "timezone": "UTC" - } - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basketline/_id_/_basketLineId_/DELETE/ValidationResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/basketline/_id_/_basketLineId_/DELETE/ValidationResponse.json.example deleted file mode 100644 index beb035f164..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/basketline/_id_/_basketLineId_/DELETE/ValidationResponse.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "ValidationResponse": { - "_media-type": "application\/vnd.ibexa.api.ValidationResponse+json", - "messages": { - "CustomerPrice": { - "_errors": [ - { - "_message": "msg.invalid_customer_price_request" - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/checkout/payment-methods/GET/PaymentMethodDataResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/checkout/payment-methods/GET/PaymentMethodDataResponse.json.example deleted file mode 100644 index 5a875ae7d2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/checkout/payment-methods/GET/PaymentMethodDataResponse.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "PaymentMethodDataResponse": { - "_media-type": "application\/vnd.ibexa.api.PaymentMethodDataResponse+json", - "paymentMethods": { - "paypal": "paypal", - "invoice": "invoice" - }, - "defaultMethod": "invoice" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/checkout/shipping-methods/GET/ShippingMethodDataResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/checkout/shipping-methods/GET/ShippingMethodDataResponse.json.example deleted file mode 100644 index 5df4900c73..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/checkout/shipping-methods/GET/ShippingMethodDataResponse.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ShippingMethodDataResponse": { - "_media-type": "application\/vnd.ibexa.api.ShippingMethodDataResponse+json", - "shippingMethods": { - "standard": "standard", - "expressDel": "express_delivery" - }, - "defaultMethod": "standard", - "shippingMethodsSorted": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/country-selection/GET/CountrySelectionResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/country-selection/GET/CountrySelectionResponse.json.example deleted file mode 100644 index c8b3caab58..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/country-selection/GET/CountrySelectionResponse.json.example +++ /dev/null @@ -1,63 +0,0 @@ -{ - "CountrySelectionResponse": { - "_media-type": "application\/vnd.ibexa.api.CountrySelectionResponse+json", - "countryOptions": { - "DZ": "Algeria", - "AU": "Australia", - "AT": "Austria", - "BE": "Belgium", - "BR": "Brazil", - "BG": "Bulgaria", - "CA": "Canada", - "CY": "Cyprus", - "CZ": "Czechia", - "DK": "Denmark", - "EE": "Estonia", - "SZ": "Eswatini", - "FI": "Finland", - "FR": "France", - "DE": "Germany", - "GR": "Greece", - "HU": "Hungary", - "IS": "Iceland", - "IN": "India", - "ID": "Indonesia", - "IE": "Ireland", - "IT": "Italy", - "KE": "Kenya", - "LV": "Latvia", - "LT": "Lithuania", - "MO": "Macao SAR China", - "MY": "Malaysia", - "MT": "Malta", - "MX": "Mexico", - "MZ": "Mozambique", - "NL": "Netherlands", - "NZ": "New Zealand", - "NG": "Nigeria", - "NO": "Norway", - "PH": "Philippines", - "PL": "Poland", - "PT": "Portugal", - "RO": "Romania", - "RU": "Russia", - "SG": "Singapore", - "SK": "Slovakia", - "SI": "Slovenia", - "ZA": "South Africa", - "ES": "Spain", - "SE": "Sweden", - "CH": "Switzerland", - "TZ": "Tanzania", - "TH": "Thailand", - "TN": "Tunisia", - "TR": "Turkey", - "UG": "Uganda", - "AE": "United Arab Emirates", - "GB": "United Kingdom", - "US": "United States" - }, - "defaultCountry": "DE", - "countryCodeStates": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/customer/addresses/shipping/GET/ShippingAddressesResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/customer/addresses/shipping/GET/ShippingAddressesResponse.json.example deleted file mode 100644 index be28b87443..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/customer/addresses/shipping/GET/ShippingAddressesResponse.json.example +++ /dev/null @@ -1,50 +0,0 @@ -{ - "ShippingAddressesResponse": { - "_media-type": "application\/vnd.ibexa.api.ShippingAddressesResponse+json", - "Parties": [ - { - "_media-type": "application\/vnd.ibexa.api.Party+json", - "PartyIdentification": [], - "PartyName": [], - "PostalAddress": { - "_media-type": "application\/vnd.ibexa.api.PartyPostalAddress+json", - "StreetName": null, - "AdditionalStreetName": null, - "BuildingNumber": null, - "CityName": null, - "PostalZone": null, - "CountrySubentity": null, - "CountrySubentityCode": null, - "AddressLine": [], - "Country": { - "_media-type": "application\/vnd.ibexa.api.PartyPostalAddressCountry+json", - "IdentificationCode": null, - "Name": null - }, - "Department": null, - "SesExtension": {} - }, - "Contact": { - "_media-type": "application\/vnd.ibexa.api.Contact+json", - "ID": null, - "Name": null, - "Telephone": null, - "Telefax": null, - "ElectronicMail": null, - "OtherCommunication": null, - "Note": null, - "SesExtension": {} - }, - "Person": { - "_media-type": "application\/vnd.ibexa.api.PartyPerson+json", - "FirstName": null, - "FamilyName": null, - "Title": null, - "MiddleName": null, - "SesExtension": {} - }, - "SesExtension": {} - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/customerprice/POST/CustomerPriceData.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/customerprice/POST/CustomerPriceData.json.example deleted file mode 100644 index 95b09690eb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/customerprice/POST/CustomerPriceData.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "PriceResponse": { - "_media-type": "application\/vnd.ibexa.api.PriceResponse+json", - "priceResponse": { - "_media-type": "application\/vnd.ibexa.api.priceResponse+json" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/commerce/customerprice/POST/PriceResponse.json.example b/docs/api/rest_api/rest_api_reference/input/examples/commerce/customerprice/POST/PriceResponse.json.example deleted file mode 100644 index 95b09690eb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/commerce/customerprice/POST/PriceResponse.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "PriceResponse": { - "_media-type": "application\/vnd.ibexa.api.PriceResponse+json", - "priceResponse": { - "_media-type": "application\/vnd.ibexa.api.priceResponse+json" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/assets/images/assetId/assetSource/GET/Asset.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/assets/images/assetId/assetSource/GET/Asset.xml.example deleted file mode 100644 index e3dfbbc473..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/assets/images/assetId/assetSource/GET/Asset.xml.example +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Asset media-type="application/vnd.ibexa.api.Asset+xml" href="/api/ibexa/v2/content/assets/images/UtrE5DcgEyg/unsplash"> - <uri>https://images.unsplash.com/photo-1544568100-847a948585b9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjE1MDk5MH0</uri> - <assetId>UtrE5DcgEyg</assetId> - <assetSource>unsplash</assetSource> - <assetMetadata> - <alternativeText>medium-coated brown dog during daytime</alternativeText> - <width>5184</width> - <height>3888</height> - <created_at>2018-12-11T17:46:12-05:00</created_at> - <updated_at>2020-10-23T23:08:44-04:00</updated_at> - <author>Jamie Street</author> - <author_link_html>https://unsplash.com/@jamie452?utm_source=Ibexa+Platform+DAM+Connector&utm_medium=referral&utm_campaign=api-credit</author_link_html> - </assetMetadata> -</Asset> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/binary/images/image_id/variations/variation_identifier/GET/ImageVariation.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/binary/images/image_id/variations/variation_identifier/GET/ImageVariation.xml.example deleted file mode 100644 index b9455ea030..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/binary/images/image_id/variations/variation_identifier/GET/ImageVariation.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentImageVariation media-type="application/vnd.ibexa.api.ContentImageVariation+xml" href="/api/ibexa/v2/content/binary/images/61-216-1/variations/large"> - <uri>http://127.0.0.1:8000/var/site/storage/images/_aliases/large/6/1/2/0/216-1-eng-GB/ez-logo-small.png</uri> - <contentType>image/png</contentType> - <width>20</width> - <height>20</height> - <fileSize>1709</fileSize> -</ContentImageVariation> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/GET/LocationList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/GET/LocationList.json.example deleted file mode 100644 index 387248e5b3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/GET/LocationList.json.example +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Location": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58", - "id": 58, - "priority": 0, - "hidden": false, - "invisible": false, - "explicitlyHidden": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2" - }, - "pathString": "/1/2/58/", - "depth": 2, - "childCount": 3, - "remoteId": "0cfe62f27753448d79aaa8acd8d01699", - "Children": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58/children" - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/57" - }, - "sortField": "PATH", - "sortOrder": "ASC", - "UrlAliases": { - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58/urlaliases" - }, - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/57", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/57", - "_remoteId": "782f5afa9d6587804daa911e88ff5bb9", - "_id": 57, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1" - }, - "Name": "All Tips", - "TranslatedName": "All Tips", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/57/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/57/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/57/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2021-06-28T11:22:52+00:00", - "publishedDate": "2021-06-28T11:22:52+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/57/objectstates" - } - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/GET/LocationList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/GET/LocationList.xml.example deleted file mode 100644 index d3401621c7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/GET/LocationList.xml.example +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/58"> - <id>58</id> - <priority>0</priority> - <hidden>false</hidden> - <invisible>false</invisible> - <explicitlyHidden>false</explicitlyHidden> - <ParentLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2"/> - <pathString>/1/2/58/</pathString> - <depth>2</depth> - <childCount>3</childCount> - <remoteId>0cfe62f27753448d79aaa8acd8d01699</remoteId> - <Children media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/locations/1/2/58/children"/> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/57"/> - <sortField>PATH</sortField> - <sortOrder>ASC</sortOrder> - <UrlAliases media-type="application/vnd.ibexa.api.UrlAliasRefList+xml" href="/api/ibexa/v2/content/locations/1/2/58/urlaliases"/> - <ContentInfo media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/57"> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/57" remoteId="782f5afa9d6587804daa911e88ff5bb9" id="57"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"/> - <Name>All Tips</Name> - <TranslatedName>All Tips</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/57/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/57/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/57/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2021-06-28T11:22:52+00:00</lastModificationDate> - <publishedDate>2021-06-28T11:22:52+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/57/objectstates"/> - </Content> - </ContentInfo> -</Location> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/Location.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/Location.json.example deleted file mode 100644 index e7bff475dc..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/Location.json.example +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Location": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59", - "id": 59, - "priority": 3, - "hidden": true, - "invisible": true, - "explicitlyHidden": true, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2" - }, - "pathString": "/1/2/59/", - "depth": 2, - "childCount": 5, - "remoteId": "remoteId-qwert999", - "Children": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59/children" - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/58" - }, - "sortField": "NAME", - "sortOrder": "DESC", - "UrlAliases": { - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59/urlaliases" - }, - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/58", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/58", - "_remoteId": "00b513aae54036a16e00fb3365c4b5f3", - "_id": 58, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1" - }, - "Name": "Dog Breed Catalog", - "TranslatedName": "Dog Breed Catalog", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/58/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/58/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/58/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2021-06-28T11:23:10+00:00", - "publishedDate": "2021-06-28T11:23:10+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/58/objectstates" - } - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/Location.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/Location.xml.example deleted file mode 100644 index d3401621c7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/Location.xml.example +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/58"> - <id>58</id> - <priority>0</priority> - <hidden>false</hidden> - <invisible>false</invisible> - <explicitlyHidden>false</explicitlyHidden> - <ParentLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2"/> - <pathString>/1/2/58/</pathString> - <depth>2</depth> - <childCount>3</childCount> - <remoteId>0cfe62f27753448d79aaa8acd8d01699</remoteId> - <Children media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/locations/1/2/58/children"/> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/57"/> - <sortField>PATH</sortField> - <sortOrder>ASC</sortOrder> - <UrlAliases media-type="application/vnd.ibexa.api.UrlAliasRefList+xml" href="/api/ibexa/v2/content/locations/1/2/58/urlaliases"/> - <ContentInfo media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/57"> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/57" remoteId="782f5afa9d6587804daa911e88ff5bb9" id="57"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"/> - <Name>All Tips</Name> - <TranslatedName>All Tips</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/57/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/57/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/57/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2021-06-28T11:22:52+00:00</lastModificationDate> - <publishedDate>2021-06-28T11:22:52+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/57/objectstates"/> - </Content> - </ContentInfo> -</Location> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/LocationUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/LocationUpdate.json.example deleted file mode 100644 index e7a29a87ae..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/LocationUpdate.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "LocationUpdate": { - "priority": "3", - "hidden": true, - "remoteId": "remoteId-qwert999", - "sortField": "NAME", - "sortOrder": "DESC" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/LocationUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/LocationUpdate.xml.example deleted file mode 100644 index c4ffb31f0f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/location_id/PATCH/LocationUpdate.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<LocationUpdate> - <priority>3</priority> - <hidden>true</hidden> - <remoteId>remoteId-qwert999</remoteId> - <sortField>CLASS</sortField> - <sortOrder>DESC</sortOrder> -</LocationUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/GET/Location.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/GET/Location.json.example deleted file mode 100644 index 387248e5b3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/GET/Location.json.example +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Location": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58", - "id": 58, - "priority": 0, - "hidden": false, - "invisible": false, - "explicitlyHidden": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2" - }, - "pathString": "/1/2/58/", - "depth": 2, - "childCount": 3, - "remoteId": "0cfe62f27753448d79aaa8acd8d01699", - "Children": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58/children" - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/57" - }, - "sortField": "PATH", - "sortOrder": "ASC", - "UrlAliases": { - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/58/urlaliases" - }, - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/57", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/57", - "_remoteId": "782f5afa9d6587804daa911e88ff5bb9", - "_id": 57, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1" - }, - "Name": "All Tips", - "TranslatedName": "All Tips", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/57/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/57/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/57/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2021-06-28T11:22:52+00:00", - "publishedDate": "2021-06-28T11:22:52+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/57/objectstates" - } - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/GET/Location.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/GET/Location.xml.example deleted file mode 100644 index f45e159a56..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/GET/Location.xml.example +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/61"> - <id>61</id> - <priority>0</priority> - <hidden>false</hidden> - <invisible>false</invisible> - <ParentLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2"/> - <pathString>/1/2/61/</pathString> - <depth>2</depth> - <childCount>0</childCount> - <remoteId>2cfa66027e3806b113d994c9c26d3a66</remoteId> - <Children media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/locations/1/2/61/children"/> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/60"/> - <sortField>NAME</sortField> - <sortOrder>ASC</sortOrder> - <UrlAliases media-type="application/vnd.ibexa.api.UrlAliasRefList+xml" href="/api/ibexa/v2/content/locations/1/2/61/urlaliases"/> - <ContentInfo media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/60"> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/60" remoteId="f9198276543bfe5e1dfc01a9a8d0c7ee" id="60"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"/> - <Name>666</Name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/60/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/60/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/60/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2018-11-09T14:49:52+01:00</lastModificationDate> - <publishedDate>2018-11-09T14:49:52+01:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>false</alwaysAvailable> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/60/objectstates"/> - </Content> - </ContentInfo> -</Location> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/children/GET/LocationList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/children/GET/LocationList.xml.example deleted file mode 100644 index 82e59109a1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/children/GET/LocationList.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<LocationList media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/locations/1/63/children"> - <Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/63/60"/> - <Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/63/61"/> - <Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/63/62"/> - <Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/63/67"/> -</LocationList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/urlaliases/GET/UrlAliasRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/urlaliases/GET/UrlAliasRefList.xml.example deleted file mode 100644 index 26a02c3600..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/locations/path/urlaliases/GET/UrlAliasRefList.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UrlAliasRefList media-type="application/vnd.ibexa.api.UrlAliasRefList+xml" href="/api/ibexa/v2/content/locations/1/2/59/urlaliases"> - <UrlAlias media-type="application/vnd.ibexa.api.UrlAlias+xml" href="/api/ibexa/v2/content/urlaliases/0-deca3dadca45c3dff7861274b8e67ed7"/> - <UrlAlias media-type="application/vnd.ibexa.api.UrlAlias+xml" href="/api/ibexa/v2/content/urlaliases/0-e1511fd04f57162341c2950fa1375867"/> -</UrlAliasRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/Content.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/Content.json.example deleted file mode 100644 index 5e8bd68f31..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/Content.json.example +++ /dev/null @@ -1,153 +0,0 @@ -{ - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/109", - "_remoteId": "8716f007ba15f6f35139acb55e39b811", - "_id": 109, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2" - }, - "Name": "draft article", - "TranslatedName": "draft article", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/109/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/109/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/109/versions/1", - "VersionInfo": { - "id": 587, - "versionNo": 1, - "status": "DRAFT", - "modificationDate": "2023-05-24T06:27:54+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2023-05-24T06:27:54+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "draft article" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/109" - } - }, - "Fields": { - "field": [ - { - "id": 488, - "fieldDefinitionIdentifier": "title", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "draft article" - }, - { - "id": 489, - "fieldDefinitionIdentifier": "short_title", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": null - }, - { - "id": 490, - "fieldDefinitionIdentifier": "author", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezauthor", - "fieldValue": [] - }, - { - "id": 491, - "fieldDefinitionIdentifier": "intro", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>draft draft</para></section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></section>\n" - } - }, - { - "id": 492, - "fieldDefinitionIdentifier": "body", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>draft draft draft</para></section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft draft</p></section>\n" - } - }, - { - "id": 493, - "fieldDefinitionIdentifier": "enable_comments", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezboolean", - "fieldValue": false - }, - { - "id": 494, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/109/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/109/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "DRAFT", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/109/objectstates" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/Content.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/Content.xml.example deleted file mode 100644 index 35f5cbb16e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/Content.xml.example +++ /dev/null @@ -1,113 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/108" remoteId="25c5c35ab9d18e88bd2ee77991b730e2" id="108"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"/> - <Name>draft article</Name> - <TranslatedName>draft article</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/108/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/108/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/108/versions/1"> - <VersionInfo> - <id>586</id> - <versionNo>1</versionNo> - <status>DRAFT</status> - <modificationDate>2023-05-24T06:24:46+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-05-24T06:24:46+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">draft article</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/108"/> - </VersionInfo> - <Fields> - <field> - <id>481</id> - <fieldDefinitionIdentifier>title</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>draft article</fieldValue> - </field> - <field> - <id>482</id> - <fieldDefinitionIdentifier>short_title</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>483</id> - <fieldDefinitionIdentifier>author</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezauthor</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>484</id> - <fieldDefinitionIdentifier>intro</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"><para>draft draft</para></section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"><p>draft draft</p></section> -</value> - </fieldValue> - </field> - <field> - <id>485</id> - <fieldDefinitionIdentifier>body</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"><para>draft draft draft</para></section> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"><p>draft draft draft</p></section> -</value> - </fieldValue> - </field> - <field> - <id>486</id> - <fieldDefinitionIdentifier>enable_comments</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezboolean</fieldTypeIdentifier> - <fieldValue>false</fieldValue> - </field> - <field> - <id>487</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId"/> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/108/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/108/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>DRAFT</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/108/objectstates"/> -</Content> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.json.example deleted file mode 100644 index 022999ad35..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.json.example +++ /dev/null @@ -1,48 +0,0 @@ -{ - "ContentCreate": { - "ContentType": { - "_href": "/api/ibexa/v2/content/types/2" - }, - "mainLanguageCode": "eng-GB", - "LocationCreate": { - "ParentLocation": { - "_href": "/api/ibexa/v2/content/locations/1/2" - }, - "priority": "0", - "hidden": "false", - "sortField": "PATH", - "sortOrder": "ASC" - }, - "Section": { - "_href": "/api/ibexa/v2/content/sections/1" - }, - "alwaysAvailable": "true", - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "title", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "draft article" - }, - { - "fieldDefinitionIdentifier": "intro", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": - { - "xml": "<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></section>" - } - }, - { - "fieldDefinitionIdentifier": "body", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft draft </p></section>" - } - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.xml.example deleted file mode 100644 index 08c966645e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.xml.example +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentCreate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <ContentType href="/api/ibexa/v2/content/types/2"/> - <mainLanguageCode>eng-GB</mainLanguageCode> - <LocationCreate> - <ParentLocation href="/api/ibexa/v2/content/locations/1/2"/> - <priority>0</priority> - <hidden>false</hidden> - <sortField>PATH</sortField> - <sortOrder>ASC</sortOrder> - </LocationCreate> - <Section href="/api/ibexa/v2/content/sections/1"/> - <alwaysAvailable>true</alwaysAvailable> - <remoteId></remoteId> - <fields> - <field> - <fieldDefinitionIdentifier>title</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldValue>draft article</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>intro</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldValue> - <value key="xml"><![CDATA[<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"><p>draft draft</p></section>]]></value> - </fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>body</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldValue> - <value key="xml"><![CDATA[<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"><p>draft draft draft</p></section>]]></value> - </fieldValue> - </field> - </fields> -</ContentCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentInfo.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentInfo.xml.example deleted file mode 100644 index 88ae84b8cb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentInfo.xml.example +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/110" remoteId="59258c7a8c545db8a641742138d11d82" id="110"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"/> - <Name>draft article</Name> - <TranslatedName>draft article</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/110/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/110/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/110/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>DRAFT</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/110/objectstates"/> -</Content> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/GET/Content.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/GET/Content.json.example deleted file mode 100644 index 0384cebbc7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/GET/Content.json.example +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/54", - "_remoteId": "9e863fbb0fb835ce050032b4f00de61d", - "_id": 54, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1" - }, - "Name": "Forms", - "TranslatedName": "Forms", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/54/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/54/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/54/versions/1", - "VersionInfo": { - "id": 514, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2018-09-17T06:48:13+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2018-09-17T06:48:13+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Forms" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/54" - } - }, - "Fields": { - "field": [ - { - "id": 249, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Forms" - }, - { - "id": 250, - "fieldDefinitionIdentifier": "short_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": null - }, - { - "id": 251, - "fieldDefinitionIdentifier": "short_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 252, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/54/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#folder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/6" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/55" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/54/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2018-09-17T06:48:13+00:00", - "publishedDate": "2018-09-17T06:48:13+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": false, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/54/objectstates" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/GET/Content.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/GET/Content.xml.example deleted file mode 100644 index bf3dcdccb3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/GET/Content.xml.example +++ /dev/null @@ -1,93 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/54" remoteId="9e863fbb0fb835ce050032b4f00de61d" id="54"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"/> - <Name>Forms</Name> - <TranslatedName>Forms</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/54/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/54/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/54/versions/1"> - <VersionInfo> - <id>514</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2018-09-17T06:48:13+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2018-09-17T06:48:13+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Forms</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/54"/> - </VersionInfo> - <Fields> - <field> - <id>249</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Forms</fieldValue> - </field> - <field> - <id>250</id> - <fieldDefinitionIdentifier>short_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>251</id> - <fieldDefinitionIdentifier>short_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - <field> - <id>252</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/54/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/bundles/ezplatformadminui/img/ez-icons.svg#folder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/6"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/55"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/54/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2018-09-17T06:48:13+00:00</lastModificationDate> - <publishedDate>2018-09-17T06:48:13+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>false</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/54/objectstates"/> -</Content> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/GET/ContentInfo.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/GET/ContentInfo.xml.example deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/PATCH/ContentInfo.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/PATCH/ContentInfo.xml.example deleted file mode 100644 index 202e2149d4..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/PATCH/ContentInfo.xml.example +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/80" remoteId="69848aeb86164c35e5c98202eebe9e05" id="80"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"/> - <Name>article1</Name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/80/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/80/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/63/66"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/80/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/11"/> - <lastModificationDate>2019-02-19T15:00:34+01:00</lastModificationDate> - <publishedDate>2019-02-19T15:00:34+01:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>false</alwaysAvailable> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/80/objectstates"/> -</Content> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/PATCH/ContentUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/PATCH/ContentUpdate.xml.example deleted file mode 100644 index 1388ba5ab6..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/PATCH/ContentUpdate.xml.example +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentUpdate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <Section href="/api/ibexa/v2/content/sections/1"/> - <MainLocation href="/api/ibexa/v2/content/locations/2/63/66"/> - <Owner href="/api/ibexa/v2/user/users/11"/> - <alwaysAvailable>false</alwaysAvailable> - <remoteId>69848aeb86164c35e5c98202eebe9e05</remoteId> -</ContentUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/COPY/Version.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/COPY/Version.json.example deleted file mode 100644 index 434f069a26..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/COPY/Version.json.example +++ /dev/null @@ -1,89 +0,0 @@ -{ - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/5", - "VersionInfo": { - "id": 581, - "versionNo": 5, - "status": "DRAFT", - "modificationDate": "2023-05-24T06:09:49+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2023-05-24T06:09:49+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Features" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/107" - } - }, - "Fields": { - "field": [ - { - "id": 477, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Features" - }, - { - "id": 478, - "fieldDefinitionIdentifier": "short_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": null - }, - { - "id": 479, - "fieldDefinitionIdentifier": "short_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 480, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/5/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/COPY/Version.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/COPY/Version.xml.example deleted file mode 100644 index d6cb4c4863..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/COPY/Version.xml.example +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/107/versions/4"> - <VersionInfo> - <id>580</id> - <versionNo>4</versionNo> - <status>DRAFT</status> - <modificationDate>2023-05-24T06:08:47+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-05-24T06:08:47+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Features</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/107"/> - </VersionInfo> - <Fields> - <field> - <id>477</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Features</fieldValue> - </field> - <field> - <id>478</id> - <fieldDefinitionIdentifier>short_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>479</id> - <fieldDefinitionIdentifier>short_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - <field> - <id>480</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/107/versions/4/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> -</Version> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/GET/Version.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/GET/Version.json.example deleted file mode 100644 index a37da599dc..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/GET/Version.json.example +++ /dev/null @@ -1,89 +0,0 @@ -{ - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/2", - "VersionInfo": { - "id": 578, - "versionNo": 2, - "status": "PUBLISHED", - "modificationDate": "2023-05-24T05:59:09+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2023-05-24T05:59:02+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Features" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/107" - } - }, - "Fields": { - "field": [ - { - "id": 477, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Features" - }, - { - "id": 478, - "fieldDefinitionIdentifier": "short_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": null - }, - { - "id": 479, - "fieldDefinitionIdentifier": "short_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 480, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/2/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/GET/Version.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/GET/Version.xml.example deleted file mode 100644 index 585f91f917..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/currentversion/GET/Version.xml.example +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/107/versions/2"> - <VersionInfo> - <id>578</id> - <versionNo>2</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-05-24T05:59:09+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-05-24T05:59:02+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Features</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/107"/> - </VersionInfo> - <Fields> - <field> - <id>477</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Features</fieldValue> - </field> - <field> - <id>478</id> - <fieldDefinitionIdentifier>short_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>479</id> - <fieldDefinitionIdentifier>short_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - <field> - <id>480</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/107/versions/2/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> -</Version> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/GET/LocationList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/GET/LocationList.json.example deleted file mode 100644 index 20280fba55..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/GET/LocationList.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "LocationList": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/63/locations", - "Location": [ - { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/57/65" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/GET/LocationList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/GET/LocationList.xml.example deleted file mode 100644 index 77e1c81c44..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/GET/LocationList.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<LocationList media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/63/locations"> - <Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/57/65"/> -</LocationList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/Location.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/Location.json.example deleted file mode 100644 index 06e2720aed..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/Location.json.example +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Location": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59/114", - "id": 114, - "priority": 0, - "hidden": false, - "invisible": false, - "explicitlyHidden": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59" - }, - "pathString": "/1/2/59/114/", - "depth": 3, - "childCount": 0, - "remoteId": "47a1e4ee082fb64e93a822dcfe3a5614", - "Children": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59/114/children" - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/59" - }, - "sortField": "PATH", - "sortOrder": "ASC", - "UrlAliases": { - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json", - "_href": "/api/ibexa/v2/content/locations/1/2/59/114/urlaliases" - }, - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/59", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/59", - "_remoteId": "0fe1b1543f886b0becd4d9b2c7c517d0", - "_id": 59, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2" - }, - "Name": "Art1", - "TranslatedName": "Art1", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/59/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/59/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/59/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2021-06-28T11:33:01+00:00", - "publishedDate": "2021-06-28T11:33:01+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": false, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/59/objectstates" - } - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/Location.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/Location.xml.example deleted file mode 100644 index 99fa701288..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/Location.xml.example +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/42/96"> - <id>96</id> - <priority>0</priority> - <hidden>false</hidden> - <invisible>true</invisible> - <explicitlyHidden>false</explicitlyHidden> - <ParentLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/42"/> - <pathString>/1/2/42/96/</pathString> - <depth>3</depth> - <childCount>0</childCount> - <remoteId>58133c8c75230e5debe362a28b92d27a</remoteId> - <Children media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/locations/1/2/42/96/children"/> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/63"/> - <sortField>PATH</sortField> - <sortOrder>ASC</sortOrder> - <UrlAliases media-type="application/vnd.ibexa.api.UrlAliasRefList+xml" href="/api/ibexa/v2/content/locations/1/2/42/96/urlaliases"/> - <ContentInfo media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/63"> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/63" remoteId="211e99934c8fef5900e4813b96ec5c87" id="63"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"/> - <Name>Art3</Name> - <TranslatedName>Art3</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/63/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/63/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/63/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2021-06-28T11:34:17+00:00</lastModificationDate> - <publishedDate>2021-06-28T11:34:17+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>false</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/63/objectstates"/> - </Content> - </ContentInfo> -</Location> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/LocationCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/LocationCreate.json.example deleted file mode 100644 index 9169dacd42..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/LocationCreate.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "LocationCreate": { - "ParentLocation": { - "_href": "/api/ibexa/v2/content/locations/1/59" - }, - "priority": "0", - "hidden": false, - "sortField": "PATH", - "sortOrder": "ASC" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/LocationCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/LocationCreate.xml.example deleted file mode 100644 index 9686bfc0d8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/LocationCreate.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<LocationCreate> - <ParentLocation href="/api/ibexa/v2/content/locations/1/42" /> - <priority>0</priority> - <hidden>false</hidden> - <sortField>PATH</sortField> - <sortOrder>ASC</sortOrder> -</LocationCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/GET/ContentObjectStates.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/GET/ContentObjectStates.json.example deleted file mode 100644 index 4e8035e604..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/GET/ContentObjectStates.json.example +++ /dev/null @@ -1,23 +0,0 @@ -{ - "ContentObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "ObjectState": [ - { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/1" - }, - { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/3/objectstates/3" - }, - { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates/7" - }, - { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/8/objectstates/8" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/GET/ContentObjectStates.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/GET/ContentObjectStates.xml.example deleted file mode 100644 index f6533987f3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/GET/ContentObjectStates.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml"> - <ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates/1"/> - <ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/3/objectstates/3"/> - <ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/7/objectstates/7"/> - <ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/8/objectstates/8"/> -</ContentObjectStates> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.request.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.request.json.example deleted file mode 100644 index 6c847b4d95..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.request.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ContentObjectStates": { - "ObjectState": [ - { - "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/2" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.request.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.request.xml.example deleted file mode 100644 index 086a32de74..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.request.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentObjectStates> - <ObjectState href="/api/ibexa/v2/content/objectstategroups/2/objectstates/2" /> -</ContentObjectStates> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.response.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.response.json.example deleted file mode 100644 index 87c9b17093..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.response.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ContentObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "ObjectState": [ - { - "_media-type": "application\/vnd.ibexa.api.ObjectState+json", - "_href": "\/api\/ibexa\/v2\/content\/objectstategroups\/2\/objectstates\/2" - } - ] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.response.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.response.xml.example deleted file mode 100644 index 2cdc2305a3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.response.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml"> - <ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates/2"/> -</ContentObjectStates> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/GET/VersionList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/GET/VersionList.json.example deleted file mode 100644 index 3c042e9542..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/GET/VersionList.json.example +++ /dev/null @@ -1,125 +0,0 @@ -{ - "VersionList": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/61/versions", - "VersionItem": [ - { - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/61/versions/1" - }, - "VersionInfo": { - "id": 521, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2021-06-28T11:33:49+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2021-06-28T11:33:31+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Art1" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/61" - } - } - }, - { - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/61/versions/2" - }, - "VersionInfo": { - "id": 580, - "versionNo": 2, - "status": "DRAFT", - "modificationDate": "2021-07-26T08:10:02+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2021-07-26T08:10:02+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Art1" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/61" - } - } - }, - { - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/61/versions/3" - }, - "VersionInfo": { - "id": 581, - "versionNo": 3, - "status": "DRAFT", - "modificationDate": "2021-07-26T08:16:50+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2021-07-26T08:16:50+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Art1" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/61" - } - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/GET/VersionList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/GET/VersionList.xml.example deleted file mode 100644 index ca94eaf9ed..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/GET/VersionList.xml.example +++ /dev/null @@ -1,69 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<VersionList media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/61/versions"> - <VersionItem> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/61/versions/1"/> - <VersionInfo> - <id>521</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2021-06-28T11:33:49+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2021-06-28T11:33:31+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Art1</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/61"/> - </VersionInfo> - </VersionItem> - <VersionItem> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/61/versions/2"/> - <VersionInfo> - <id>580</id> - <versionNo>2</versionNo> - <status>DRAFT</status> - <modificationDate>2021-07-26T08:10:02+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2021-07-26T08:10:02+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Art1</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/61"/> - </VersionInfo> - </VersionItem> - <VersionItem> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/61/versions/3"/> - <VersionInfo> - <id>581</id> - <versionNo>3</versionNo> - <status>DRAFT</status> - <modificationDate>2021-07-26T08:16:50+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2021-07-26T08:16:50+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Art1</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/61"/> - </VersionInfo> - </VersionItem> -</VersionList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/COPY/Version.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/COPY/Version.json.example deleted file mode 100644 index 580dc23152..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/COPY/Version.json.example +++ /dev/null @@ -1,89 +0,0 @@ -{ - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/8", - "VersionInfo": { - "id": 584, - "versionNo": 8, - "status": "DRAFT", - "modificationDate": "2023-05-24T06:14:07+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2023-05-24T06:14:07+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Features" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/107" - } - }, - "Fields": { - "field": [ - { - "id": 477, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Features" - }, - { - "id": 478, - "fieldDefinitionIdentifier": "short_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": null - }, - { - "id": 479, - "fieldDefinitionIdentifier": "short_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 480, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/8/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/COPY/Version.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/COPY/Version.xml.example deleted file mode 100644 index b04721156c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/COPY/Version.xml.example +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/107/versions/7"> - <VersionInfo> - <id>583</id> - <versionNo>7</versionNo> - <status>DRAFT</status> - <modificationDate>2023-05-24T06:13:50+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-05-24T06:13:50+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Features</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/107"/> - </VersionInfo> - <Fields> - <field> - <id>477</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Features</fieldValue> - </field> - <field> - <id>478</id> - <fieldDefinitionIdentifier>short_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>479</id> - <fieldDefinitionIdentifier>short_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - <field> - <id>480</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/107/versions/7/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> -</Version> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/GET/Version.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/GET/Version.json.example deleted file mode 100644 index c6510ea958..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/GET/Version.json.example +++ /dev/null @@ -1,89 +0,0 @@ -{ - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/5", - "VersionInfo": { - "id": 581, - "versionNo": 5, - "status": "ARCHIVED", - "modificationDate": "2023-05-24T06:11:50+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2023-05-24T06:09:49+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Features" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/107" - } - }, - "Fields": { - "field": [ - { - "id": 477, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Features" - }, - { - "id": 478, - "fieldDefinitionIdentifier": "short_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": null - }, - { - "id": 479, - "fieldDefinitionIdentifier": "short_description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 480, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/5/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/GET/Version.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/GET/Version.xml.example deleted file mode 100644 index 9286adb0cb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/GET/Version.xml.example +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/107/versions/5"> - <VersionInfo> - <id>581</id> - <versionNo>5</versionNo> - <status>ARCHIVED</status> - <modificationDate>2023-05-24T06:11:50+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-05-24T06:09:49+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Features</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/107"/> - </VersionInfo> - <Fields> - <field> - <id>477</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Features</fieldValue> - </field> - <field> - <id>478</id> - <fieldDefinitionIdentifier>short_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>479</id> - <fieldDefinitionIdentifier>short_description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - <field> - <id>480</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier> - <fieldValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/107/versions/5/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> -</Version> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/PATCH/Version.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/PATCH/Version.xml.example deleted file mode 100644 index 3bb4e3b185..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/PATCH/Version.xml.example +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Version href="/content/objects/23/versions/4" media-type="application/vnd.ibexa.api.Version+xml"> - <VersionInfo> - <id>45</id> - <versionNo>4</versionNo> - <status>DRAFT</status> - <modificationDate>2012-02-20T12:00:00</modificationDate> - <Creator href="/user/users/44" media-type="application/vnd.ibexa.api.User+xml" /> - <creationDate>22012-02-20T12:00:00</creationDate> - <initialLanguageCode>ger-DE</initialLanguageCode> - <names> - <value languageCode="ger-DE">Neuer Titel</value> - </names> - <Content href="/content/objects/23" media-type="application/vnd.ibexa.api.ContentInfo+xml" /> - </VersionInfo> - <Fields> - <field> - <id>1234</id> - <fieldDefinitionIdentifier>title</fieldDefinitionIdentifier> - <languageCode>ger-DE</languageCode> - <fieldValue>Neuer Titel</fieldValue> - </field> - <field> - <id>1235</id> - <fieldDefinitionIdentifier>summary</fieldDefinitionIdentifier> - <languageCode>ger-DE</languageCode> - <fieldValue>Dies ist eine neuse Zusammenfassungy</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>authors</fieldDefinitionIdentifier> - <languageCode>ger-DE</languageCode> - <fieldValue> - <authors> - <author name="Klaus Mustermann" email="klaus.mustermann@example.net" /> - </authors> - </fieldValue> - </field> - </Fields> - <Relations> - <Relation href="/content/object/32/versions/2/relations/43" media-type="application/vnd.ibexa.api.Relation+xml"> - <SourceContent href="/content/objects/23" - media-type="application/vnd.ibexa.api.ContentInfo+xml" /> - <DestinationContent href="/content/objects/45" - media-type="application/vnd.ibexa.api.ContentInfo+xml" /> - <RelationType>COMMON</RelationType> - </Relation> - </Relations> -</Version> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/PATCH/VersionUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/PATCH/VersionUpdate.xml.example deleted file mode 100644 index 2fbff5a678..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/PATCH/VersionUpdate.xml.example +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<VersionUpdate xmlns:p="http://ibexa.co/API/Values" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://ibexa.co/API/Values ../VersionUpdate.xsd "> - <modificationDate>2012-02-20T12:00:00</modificationDate> - <initialLanguageCode>ger-DE</initialLanguageCode> - <fields> - <field> - <id>1234</id> - <fieldDefinitionIdentifier>title</fieldDefinitionIdentifier> - <languageCode>ger-DE</languageCode> - <fieldValue>Neuer Titel</fieldValue> - </field> - <field> - <id>1235</id> - <fieldDefinitionIdentifier>summary</fieldDefinitionIdentifier> - <languageCode>ger-DE</languageCode> - <fieldValue>Dies ist eine neuse Zusammenfassungy</fieldValue> - </field> - </fields> -</VersionUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/GET/RelationList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/GET/RelationList.json.example deleted file mode 100644 index 7ccd947769..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/GET/RelationList.json.example +++ /dev/null @@ -1,21 +0,0 @@ -{ - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/9/relations", - "Relation": [ - { - "_media-type": "application/vnd.ibexa.api.Relation+json", - "_href": "/api/ibexa/v2/content/objects/107/versions/9/relations/7", - "SourceContent": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/107" - }, - "DestinationContent": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/52" - }, - "RelationType": "LINK" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/GET/RelationList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/GET/RelationList.xml.example deleted file mode 100644 index 07934ebd38..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/GET/RelationList.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/107/versions/9/relations"> - <Relation media-type="application/vnd.ibexa.api.Relation+xml" href="/api/ibexa/v2/content/objects/107/versions/9/relations/7"> - <SourceContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/107"/> - <DestinationContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/52"/> - <RelationType>LINK</RelationType> - </Relation> -</Relations> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/Relation.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/Relation.json.example deleted file mode 100644 index dd5981dc10..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/Relation.json.example +++ /dev/null @@ -1,15 +0,0 @@ -{ - "Relation": { - "_media-type": "application/vnd.ibexa.api.Relation+json", - "_href": "/api/ibexa/v2/content/objects/59/versions/2/relations/38", - "SourceContent": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/59" - }, - "DestinationContent": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/59" - }, - "RelationType": "COMMON" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/Relation.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/Relation.xml.example deleted file mode 100644 index da36f0d4ae..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/Relation.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Relation media-type="application/vnd.ibexa.api.Relation+xml" href="/api/ibexa/v2/content/objects/59/versions/2/relations/40"> - <SourceContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/59"/> - <DestinationContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/59"/> - <RelationType>COMMON</RelationType> -</Relation> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/RelationCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/RelationCreate.json.example deleted file mode 100644 index 84e14562a3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/RelationCreate.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "RelationCreate": { - "Destination": { - "_href": "/api/ibexa/v2/content/objects/59" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/RelationCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/RelationCreate.xml.example deleted file mode 100644 index 0eed6ae84a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/POST/RelationCreate.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RelationCreate> - <Destination href="/api/ibexa/v2/content/objects/59"/> -</RelationCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/relation_id/GET/Relation.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/relation_id/GET/Relation.xml.example deleted file mode 100644 index 4f7e851d1d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/versions/version_no/relations/relation_id/GET/Relation.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Relation media-type="application/vnd.ibexa.api.Relation+xml" href="/api/ibexa/v2/content/objects/86/versions/1/relations/1"> - <SourceContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/86"/> - <DestinationContent media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/86"/> - <RelationType>COMMON</RelationType> -</Relation> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/GET/ObjectStateGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/GET/ObjectStateGroupList.json.example deleted file mode 100644 index a180f21cce..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/GET/ObjectStateGroupList.json.example +++ /dev/null @@ -1,92 +0,0 @@ -{ - "ObjectStateGroupList": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroupList+json", - "_href": "/api/ibexa/v2/content/objectstategroups", - "ObjectStateGroup": [ - { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2", - "id": 2, - "identifier": "ez_lock", - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ObjectStateList+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates" - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Lock" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/3", - "id": 3, - "identifier": "accessibility", - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ObjectStateList+json", - "_href": "/api/ibexa/v2/content/objectstategroups/3/objectstates" - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Accessibility" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/6", - "id": 6, - "identifier": "custom-states", - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ObjectStateList+json", - "_href": "/api/ibexa/v2/content/objectstategroups/6/objectstates" - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom State" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom Object state" - } - ] - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/GET/ObjectStateGroupList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/GET/ObjectStateGroupList.xml.example deleted file mode 100644 index 6d30c9c746..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/GET/ObjectStateGroupList.xml.example +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateGroupList media-type="application/vnd.ibexa.api.ObjectStateGroupList+xml" href="/api/ibexa/v2/content/objectstategroups"> - <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"> - <id>2</id> - <identifier>ez_lock</identifier> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates"/> - <names> - <value languageCode="eng-GB">Lock</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - </ObjectStateGroup> - <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/3"> - <id>3</id> - <identifier>accessibility</identifier> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/3/objectstates"/> - <names> - <value languageCode="eng-GB">Accessibility</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - </ObjectStateGroup> - <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/6"> - <id>6</id> - <identifier>custom-states</identifier> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/6/objectstates"/> - <names> - <value languageCode="eng-GB">Custom State</value> - </names> - <descriptions> - <value languageCode="eng-GB">Custom Object state</value> - </descriptions> - </ObjectStateGroup> -</ObjectStateGroupList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroup.json.example deleted file mode 100644 index f18e097084..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroup.json.example +++ /dev/null @@ -1,30 +0,0 @@ -{ - "ObjectStateGroup": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7", - "id": 7, - "identifier": "custom-states", - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ObjectStateList+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates" - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom State" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom Object state" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroup.xml.example deleted file mode 100644 index a03639afc0..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroup.xml.example +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/5"> - <id>5</id> - <identifier>custom-states</identifier> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/5/objectstates"/> - <names> - <value languageCode="eng-GB">Custom State</value> - </names> - <descriptions> - <value languageCode="eng-GB">Custom Object state</value> - </descriptions> -</ObjectStateGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroupCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroupCreate.json.example deleted file mode 100644 index 3e3051b20d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroupCreate.json.example +++ /dev/null @@ -1,22 +0,0 @@ -{ - "ObjectStateGroupCreate": { - "identifier": "custom-states", - "defaultLanguageCode": "eng-GB", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom State" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom Object state" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroupCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroupCreate.xml.example deleted file mode 100644 index e508acf72f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/POST/ObjectStateGroupCreate.xml.example +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateGroupCreate> - <identifier>custom</identifier> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <names> - <value languageCode="eng-GB">Custom State</value> - </names> - <descriptions> - <value languageCode="eng-GB">Custom Object state</value> - </descriptions> -</ObjectStateGroupCreate> \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/GET/ObjectStateGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/GET/ObjectStateGroup.json.example deleted file mode 100644 index f18e097084..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/GET/ObjectStateGroup.json.example +++ /dev/null @@ -1,30 +0,0 @@ -{ - "ObjectStateGroup": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7", - "id": 7, - "identifier": "custom-states", - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ObjectStateList+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates" - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom State" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom Object state" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/GET/ObjectStateGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/GET/ObjectStateGroup.xml.example deleted file mode 100644 index c139dad0d7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/GET/ObjectStateGroup.xml.example +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/7"> - <id>7</id> - <identifier>custom-states</identifier> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/7/objectstates"/> - <names> - <value languageCode="eng-GB">Custom State</value> - </names> - <descriptions> - <value languageCode="eng-GB">Custom Object state</value> - </descriptions> -</ObjectStateGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroup.json.example deleted file mode 100644 index 3c57a70189..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroup.json.example +++ /dev/null @@ -1,30 +0,0 @@ -{ - "ObjectStateGroup": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7", - "id": 7, - "identifier": "custom-states", - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ObjectStateList+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates" - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New Custom State name" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Custom Object state" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroup.xml.example deleted file mode 100644 index 9d0860d033..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroup.xml.example +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/7"> - <id>7</id> - <identifier>custom-states</identifier> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <ObjectStates media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/7/objectstates"/> - <names> - <value languageCode="eng-GB">New Custom State name</value> - </names> - <descriptions> - <value languageCode="eng-GB">Custom Object state</value> - </descriptions> -</ObjectStateGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroupUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroupUpdate.json.example deleted file mode 100644 index 8510b26848..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroupUpdate.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ObjectStateGroupUpdate": { - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New Custom State name" - } - ] - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroupUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroupUpdate.xml.example deleted file mode 100644 index c0d7b5c7e5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroupUpdate.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateGroupUpdate> - <names> - <value languageCode="eng-GB">New Custom State name</value> - </names> -</ObjectStateGroupUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.json.example deleted file mode 100644 index f2dc764ec9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.json.example +++ /dev/null @@ -1,66 +0,0 @@ -{ - "ObjectStateList": { - "_media-type": "application/vnd.ibexa.api.ObjectStateList+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates", - "ObjectState": [ - { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/1", - "id": 1, - "identifier": "not_locked", - "priority": 0, - "ObjectStateGroup": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2" - }, - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Not locked" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/2", - "id": 2, - "identifier": "locked", - "priority": 1, - "ObjectStateGroup": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2" - }, - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Locked" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.xml.example deleted file mode 100644 index 0f13a16a05..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.xml.example +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateList media-type="application/vnd.ibexa.api.ObjectStateList+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates"> - <ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates/1"> - <id>1</id> - <identifier>not_locked</identifier> - <priority>0</priority> - <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"/> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <names> - <value languageCode="eng-GB">Not locked</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - </ObjectState> - <ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates/2"> - <id>2</id> - <identifier>locked</identifier> - <priority>1</priority> - <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"/> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <names> - <value languageCode="eng-GB">Locked</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - </ObjectState> -</ObjectStateList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.json.example deleted file mode 100644 index 723b8c07a8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.json.example +++ /dev/null @@ -1,31 +0,0 @@ -{ - "ObjectState": { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7/objectstates/7", - "id": 7, - "identifier": "new-state", - "priority": 0, - "ObjectStateGroup": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/7" - }, - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New State" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New Object State" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.xml.example deleted file mode 100644 index 5fc3fb7de3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.xml.example +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/7/objectstates/5"> - <id>5</id> - <identifier>new-state</identifier> - <priority>0</priority> - <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/7"/> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <names> - <value languageCode="eng-GB">New State</value> - </names> - <descriptions> - <value languageCode="eng-GB">New Object State</value> - </descriptions> -</ObjectState> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.json.example deleted file mode 100644 index 8405172599..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.json.example +++ /dev/null @@ -1,24 +0,0 @@ -{ - "ObjectStateCreate": { - "identifier": "new-state", - "priority": "1", - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New State" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New Object State" - } - ] - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.xml.example deleted file mode 100644 index b021c96d1c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.xml.example +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateCreate> - <identifier>new-state</identifier> - <priority>1</priority> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <names> - <value languageCode="eng-GB">New State</value> - </names> - <descriptions> - <value languageCode="eng-GB">New Object State</value> - </descriptions> -</ObjectStateCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.json.example deleted file mode 100644 index 992d436399..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.json.example +++ /dev/null @@ -1,31 +0,0 @@ -{ - "ObjectState": { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2/objectstates/2", - "id": 2, - "identifier": "locked", - "priority": 1, - "ObjectStateGroup": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/2" - }, - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Locked" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.xml.example deleted file mode 100644 index 63924f793b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.xml.example +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/6/objectstates/2"> -<id>2</id> -<identifier>locked</identifier> -<priority>1</priority> -<ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"/> -<defaultLanguageCode>eng-GB</defaultLanguageCode> -<languageCodes>eng-GB</languageCodes> -<names> - <value languageCode="eng-GB">Locked</value> -</names> -<descriptions> - <value languageCode="eng-GB"></value> -</descriptions> -</ObjectState> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.json.example deleted file mode 100644 index f7e10a1399..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.json.example +++ /dev/null @@ -1,31 +0,0 @@ -{ - "ObjectState": { - "_media-type": "application/vnd.ibexa.api.ObjectState+json", - "_href": "/api/ibexa/v2/content/objectstategroups/6/objectstates/9", - "id": 9, - "identifier": "closed", - "priority": 1, - "ObjectStateGroup": { - "_media-type": "application/vnd.ibexa.api.ObjectStateGroup+json", - "_href": "/api/ibexa/v2/content/objectstategroups/6" - }, - "defaultLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New Object State name" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.xml.example deleted file mode 100644 index 20f9c542e7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.xml.example +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectState media-type="application/vnd.ibexa.api.ObjectState+xml" href="/api/ibexa/v2/content/objectstategroups/2/objectstates/2"> - <id>2</id> - <identifier>locked</identifier> - <priority>1</priority> - <ObjectStateGroup media-type="application/vnd.ibexa.api.ObjectStateGroup+xml" href="/api/ibexa/v2/content/objectstategroups/2"/> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <languageCodes>eng-GB</languageCodes> - <names> - <value languageCode="eng-GB">New Object State name</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> -</ObjectState> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.json.example deleted file mode 100644 index 519d608f2f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ObjectStateUpdate": { - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New Object State name" - } - ] - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.xml.example deleted file mode 100644 index 8b7271316c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ObjectStateUpdate> - <priority>3</priority> - <defaultLanguageCode>eng-GB</defaultLanguageCode> - <names> - <value languageCode="eng-GB">New Object State name</value> - </names> -</ObjectStateUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/GET/SectionList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/GET/SectionList.json.example deleted file mode 100644 index 4747a2a9c8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/GET/SectionList.json.example +++ /dev/null @@ -1,50 +0,0 @@ -{ - "SectionList": { - "_media-type": "application/vnd.ibexa.api.SectionList+json", - "_href": "/api/ibexa/v2/content/sections", - "Section": [ - { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1", - "sectionId": 1, - "identifier": "standard", - "name": "Standard" - }, - { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2", - "sectionId": 2, - "identifier": "users", - "name": "Users" - }, - { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/3", - "sectionId": 3, - "identifier": "media", - "name": "Media" - }, - { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/6", - "sectionId": 6, - "identifier": "form", - "name": "Form" - }, - { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/7", - "sectionId": 7, - "identifier": "template", - "name": "Template" - }, - { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/8", - "sectionId": 8, - "identifier": "restricted", - "name": "Restricted" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/GET/SectionList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/GET/SectionList.xml.example deleted file mode 100644 index 13de53b1de..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/GET/SectionList.xml.example +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SectionList media-type="application/vnd.ibexa.api.SectionList+xml" href="/api/ibexa/v2/content/sections"> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"> - <sectionId>1</sectionId> - <identifier>standard</identifier> - <name>Standard</name> - </Section> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"> - <sectionId>2</sectionId> - <identifier>users</identifier> - <name>Users</name> - </Section> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/3"> - <sectionId>3</sectionId> - <identifier>media</identifier> - <name>Media</name> - </Section> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/6"> - <sectionId>6</sectionId> - <identifier>form</identifier> - <name>Form</name> - </Section> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/7"> - <sectionId>7</sectionId> - <identifier>template</identifier> - <name>Template</name> - </Section> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/8"> - <sectionId>8</sectionId> - <identifier>restricted</identifier> - <name>Restricted</name> - </Section> -</SectionList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/Section.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/Section.json.example deleted file mode 100644 index 46ac7c0496..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/Section.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/13", - "sectionId": 13, - "identifier": "restricted", - "name": "Restricted" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/Section.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/Section.xml.example deleted file mode 100644 index 5dd9f2635d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/Section.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/7"> - <sectionId>7</sectionId> - <identifier>restricted</identifier> - <name>Restricted</name> -</Section> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/SectionInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/SectionInput.json.example deleted file mode 100644 index f4b5bcfa16..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/SectionInput.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "SectionInput": { - "identifier": "restricted", - "name": "Restricted" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/SectionInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/SectionInput.xml.example deleted file mode 100644 index d09d790154..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/POST/SectionInput.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SectionInput> - <identifier>restricted</identifier> - <name>Restricted</name> -</SectionInput> \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/GET/Section.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/GET/Section.json.example deleted file mode 100644 index 4a14d9f7c0..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/GET/Section.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/10", - "sectionId": 10, - "identifier": "design", - "name": "Design" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/GET/Section.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/GET/Section.xml.example deleted file mode 100644 index 2f7d484dee..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/GET/Section.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/5"> - <sectionId>10</sectionId> - <identifier>design</identifier> - <name>Design</name> -</Section> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/Section.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/Section.json.example deleted file mode 100644 index 84a4485147..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/Section.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/7", - "sectionId": 7, - "identifier": "template", - "name": "Template" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/Section.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/Section.xml.example deleted file mode 100644 index 89ba20fd73..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/Section.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/7"> - <sectionId>7</sectionId> - <identifier>template</identifier> - <name>Template</name> -</Section> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/SectionInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/SectionInput.json.example deleted file mode 100644 index 6e93f42018..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/SectionInput.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "SectionInput": { - "identifier": "template", - "name": "Template" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/SectionInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/SectionInput.xml.example deleted file mode 100644 index 1160bc4167..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/sections/section_id/PATCH/SectionInput.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SectionInput> - <identifier>template</identifier> - <name>Template</name> -</SectionInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/trash/GET/Trash.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/trash/GET/Trash.json.example deleted file mode 100644 index 5dd83e3ce2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/trash/GET/Trash.json.example +++ /dev/null @@ -1,146 +0,0 @@ -{ - "Trash": { - "_media-type": "application/vnd.ibexa.api.Trash+json", - "_href": "/api/ibexa/v2/content/trash", - "TrashItem": [ - { - "_media-type": "application/vnd.ibexa.api.TrashItem+json", - "_href": "/api/ibexa/v2/content/trash/87", - "id": 87, - "priority": 0, - "hidden": false, - "invisible": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/57" - }, - "pathString": "/1/2/57/87/", - "depth": 3, - "childCount": 0, - "remoteId": "7cc6565354858f39a794bf64aa2c2761", - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/91" - }, - "sortField": "PATH", - "sortOrder": "ASC", - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/91", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/91", - "_remoteId": "de906bef76f08700662bfaf1579871f0", - "_id": 91, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2" - }, - "Name": "test_article", - "TranslatedName": "test_article", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/91/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/91/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/91/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/11" - }, - "lastModificationDate": "2021-07-19T08:31:01+00:00", - "publishedDate": "2021-07-19T08:31:01+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": false, - "isHidden": false, - "status": "TRASHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/91/objectstates" - } - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.TrashItem+json", - "_href": "/api/ibexa/v2/content/trash/89", - "id": 89, - "priority": 0, - "hidden": false, - "invisible": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2" - }, - "pathString": "/1/2/89/", - "depth": 2, - "childCount": 0, - "remoteId": "256c2e7d71e927bab32a901878827312", - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/96" - }, - "sortField": "PATH", - "sortOrder": "ASC", - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/96", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/96", - "_remoteId": "d5bad9eb55cfe8572adf04452a2b206e", - "_id": 96, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1" - }, - "Name": "All Articles test", - "TranslatedName": "All Articles test", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/96/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/96/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/96/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2021-07-19T12:43:02+00:00", - "publishedDate": "2021-07-19T12:42:47+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 2, - "alwaysAvailable": true, - "isHidden": false, - "status": "TRASHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/96/objectstates" - } - } - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/trash/GET/Trash.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/trash/GET/Trash.xml.example deleted file mode 100644 index feab5489e7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/trash/GET/Trash.xml.example +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Trash media-type="application/vnd.ibexa.api.Trash+xml" href="/api/ibexa/v2/content/trash"> - <TrashItem media-type="application/vnd.ibexa.api.TrashItem+xml" href="/api/ibexa/v2/content/trash/58"> - <id>58</id> - <priority>0</priority> - <hidden>false</hidden> - <invisible>false</invisible> - <ParentLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/56"/> - <pathString>/1/2/56/58/</pathString> - <depth>3</depth> - <childCount>0</childCount> - <remoteId>59800915ad2eb8514de0bebe84f6ccba</remoteId> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/52"/> - <sortField>PATH</sortField> - <sortOrder>ASC</sortOrder> - <ContentInfo media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/52"> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/52" remoteId="881da87102313b0354dc2aa8f0e4b63b" id="52"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"/> - <Name>Folder 1</Name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/52/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/52/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/52/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2019-02-06T09:03:09+01:00</lastModificationDate> - <publishedDate>2019-02-06T09:03:09+01:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/52/objectstates"/> - </Content> - </ContentInfo> - </TrashItem> -</Trash> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/trash/trash_itemid/GET/TrashItem.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/trash/trash_itemid/GET/TrashItem.json.example deleted file mode 100644 index 86fd0f2eba..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/trash/trash_itemid/GET/TrashItem.json.example +++ /dev/null @@ -1,71 +0,0 @@ -{ - "TrashItem": { - "_media-type": "application/vnd.ibexa.api.TrashItem+json", - "_href": "/api/ibexa/v2/content/trash/87", - "id": 87, - "priority": 0, - "hidden": false, - "invisible": false, - "ParentLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/2/57" - }, - "pathString": "/1/2/57/87/", - "depth": 3, - "childCount": 0, - "remoteId": "7cc6565354858f39a794bf64aa2c2761", - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/91" - }, - "sortField": "PATH", - "sortOrder": "ASC", - "ContentInfo": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/91", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/91", - "_remoteId": "de906bef76f08700662bfaf1579871f0", - "_id": 91, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2" - }, - "Name": "test_article", - "TranslatedName": "test_article", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/91/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/91/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/91/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/11" - }, - "lastModificationDate": "2021-07-19T08:31:01+00:00", - "publishedDate": "2021-07-19T08:31:01+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": false, - "isHidden": false, - "status": "TRASHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/91/objectstates" - } - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/trash/trash_itemid/GET/TrashItem.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/trash/trash_itemid/GET/TrashItem.xml.example deleted file mode 100644 index 1c886e1408..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/trash/trash_itemid/GET/TrashItem.xml.example +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<TrashItem media-type="application/vnd.ibexa.api.TrashItem+xml" href="/api/ibexa/v2/content/trash/81"> - <id>81</id> - <priority>0</priority> - <hidden>false</hidden> - <invisible>false</invisible> - <ParentLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2/42"/> - <pathString>/1/2/42/81/</pathString> - <depth>3</depth> - <childCount>0</childCount> - <remoteId>135e8a84b61848a67be36e9552d2724d</remoteId> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/99"/> - <sortField>PATH</sortField> - <sortOrder>ASC</sortOrder> - <ContentInfo media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/99"> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/99" remoteId="ae2b4568c0d2e7a4a9bca9495e73591a" id="99"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"/> - <Name>Folder 1</Name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/99/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/99/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/99/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2019-04-25T12:45:58+02:00</lastModificationDate> - <publishedDate>2019-04-25T12:45:58+02:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <status>TRASHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/99/objectstates"/> - </Content> - </ContentInfo> -</TrashItem> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/GET/ContentTypeGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/GET/ContentTypeGroupList.json.example deleted file mode 100644 index 45838cbc75..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/GET/ContentTypeGroupList.json.example +++ /dev/null @@ -1,68 +0,0 @@ -{ - "ContentTypeGroupList": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupList+json", - "_href": "/api/ibexa/v2/content/typegroups", - "ContentTypeGroup": [ - { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json", - "_href": "/api/ibexa/v2/content/typegroups/1", - "id": 1, - "identifier": "Content", - "created": "2002-09-05T09:08:48+00:00", - "modified": "2002-10-06T16:35:06+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "ContentTypes": { - "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json", - "_href": "/api/ibexa/v2/content/typegroups/1/types" - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json", - "_href": "/api/ibexa/v2/content/typegroups/2", - "id": 2, - "identifier": "Users", - "created": "2002-09-05T09:09:01+00:00", - "modified": "2002-10-06T16:35:13+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "ContentTypes": { - "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json", - "_href": "/api/ibexa/v2/content/typegroups/2/types" - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json", - "_href": "/api/ibexa/v2/content/typegroups/3", - "id": 3, - "identifier": "Media", - "created": "2002-09-14T13:22:23+00:00", - "modified": "2002-10-06T16:35:20+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "ContentTypes": { - "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json", - "_href": "/api/ibexa/v2/content/typegroups/3/types" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/GET/ContentTypeGroupList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/GET/ContentTypeGroupList.xml.example deleted file mode 100644 index 7794b023a1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/GET/ContentTypeGroupList.xml.example +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeGroupList media-type="application/vnd.ibexa.api.ContentTypeGroupList+xml" href="/api/ibexa/v2/content/typegroups"> - <ContentTypeGroup media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/1"> - <id>1</id> - <identifier>Content</identifier> - <created>2002-09-05T11:08:48+02:00</created> - <modified>2002-10-06T18:35:06+02:00</modified> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <ContentTypes media-type="application/vnd.ibexa.api.ContentTypeInfoList+xml" href="/api/ibexa/v2/content/typegroups/1/types"/> - </ContentTypeGroup> - <ContentTypeGroup media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/2"> - <id>2</id> - <identifier>Users</identifier> - <created>2002-09-05T11:09:01+02:00</created> - <modified>2002-10-06T18:35:13+02:00</modified> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <ContentTypes media-type="application/vnd.ibexa.api.ContentTypeInfoList+xml" href="/api/ibexa/v2/content/typegroups/2/types"/> - </ContentTypeGroup> - <ContentTypeGroup media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/3"> - <id>3</id> - <identifier>Media</identifier> - <created>2002-09-14T15:22:23+02:00</created> - <modified>2002-10-06T18:35:20+02:00</modified> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <ContentTypes media-type="application/vnd.ibexa.api.ContentTypeInfoList+xml" href="/api/ibexa/v2/content/typegroups/3/types"/> - </ContentTypeGroup> -</ContentTypeGroupList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroup.json.example deleted file mode 100644 index 5cd4cdbcc4..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroup.json.example +++ /dev/null @@ -1,22 +0,0 @@ -{ - "ContentTypeGroup": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json", - "_href": "/api/ibexa/v2/content/typegroups/6", - "id": 6, - "identifier": "newContentTypeGroup", - "created": "2021-08-11T09:44:18+00:00", - "modified": "2021-08-11T09:44:18+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "ContentTypes": { - "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json", - "_href": "/api/ibexa/v2/content/typegroups/6/types" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroup.xml.example deleted file mode 100644 index 8c63d3a727..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroup.xml.example +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeGroup href="/content/typesgroups/7" media-type="application/vnd.ibexa.api.ContentTypeGroup+xml"> - <id>7</id> - <identifier>newContentTypeGroup</identifier> - <created>2012-02-31T12:45:00</created> - <modified>2012-02-31T12:45:00</modified> - <Creator href="/user/users/13" media-type="application/vnd.ibexa.api.User+xml"/> - <Modifier href="/user/users/13" media-type="application/vnd.ibexa.api.User+xml"/> - <ContentTypes href="/content/typegroups/7/types" media-type="application/vnd.ibexa.api.ContentTypeList+xml"/> -</ContentTypeGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroupInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroupInput.json.example deleted file mode 100644 index 164105095b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroupInput.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ContentTypeGroupInput": { - "identifier": "newContentTypeGroup" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroupInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroupInput.xml.example deleted file mode 100644 index f88b35a97b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/POST/ContentTypeGroupInput.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeGroupInput> - <identifier>newContentTypeGroup</identifier> -</ContentTypeGroupInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/GET/ContentTypeGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/GET/ContentTypeGroup.json.example deleted file mode 100644 index cfcff3bb46..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/GET/ContentTypeGroup.json.example +++ /dev/null @@ -1,1595 +0,0 @@ -{ - "ContentTypeList": { - "_media-type": "application/vnd.ibexa.api.ContentTypeList+json", - "_href": "/api/ibexa/v2/content/typegroups/1/types", - "ContentType": [ - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2", - "id": 2, - "status": "DEFINED", - "identifier": "article", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Article" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2021-06-28T11:31:22+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/2/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2/draft" - }, - "remoteId": "c15b600eb9198b1924063b5a68758232", - "urlAliasSchema": "", - "nameSchema": "<short_title|title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": false, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1", - "id": 1, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New article", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152", - "id": 152, - "identifier": "short_title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153", - "id": 153, - "identifier": "author", - "fieldType": "ezauthor", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": [], - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Author" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": { - "defaultAuthor": 1 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120", - "id": 120, - "identifier": "intro", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Intro" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121", - "id": 121, - "identifier": "body", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 5, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Body" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123", - "id": 123, - "identifier": "enable_comments", - "fieldType": "ezboolean", - "fieldGroup": "", - "position": 6, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": false, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Enable comments" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195", - "id": 195, - "identifier": "image", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 7, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/50", - "id": 50, - "status": "DEFINED", - "identifier": "copy_of_article_50", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Article" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2021-07-14T10:30:00+00:00", - "modificationDate": "2021-07-14T10:30:00+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/50/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/50/draft" - }, - "remoteId": "fc9434492469d136ffe13377bfdcbb28", - "urlAliasSchema": "", - "nameSchema": "<short_title|title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": false, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/197", - "id": 197, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New article", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/198", - "id": 198, - "identifier": "short_title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/199", - "id": 199, - "identifier": "author", - "fieldType": "ezauthor", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": [], - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Author" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": { - "defaultAuthor": 1 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/200", - "id": 200, - "identifier": "intro", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Intro" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/201", - "id": 201, - "identifier": "body", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 5, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Body" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/202", - "id": 202, - "identifier": "enable_comments", - "fieldType": "ezboolean", - "fieldGroup": "", - "position": 6, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": false, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Enable comments" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/203", - "id": 203, - "identifier": "image", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 7, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/44", - "id": 44, - "status": "DEFINED", - "identifier": "dog_breed", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Dog Breed" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2021-06-28T11:28:00+00:00", - "modificationDate": "2021-06-28T11:29:02+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/44/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/44/draft" - }, - "remoteId": "b348c95f7c573d4d502d6b59f80e618a", - "urlAliasSchema": "", - "nameSchema": "<name>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/190", - "id": 190, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 1, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/191", - "id": 191, - "identifier": "photo", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Photo" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/192", - "id": 192, - "identifier": "description", - "fieldType": "ezrichtext", - "fieldGroup": "content", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Full Description" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1", - "id": 1, - "status": "DEFINED", - "identifier": "folder", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Folder" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2015-11-29T21:14:32+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/1/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1/draft" - }, - "remoteId": "a3d405b81be900468eb153d774f4f0d2", - "urlAliasSchema": null, - "nameSchema": "<short_name|name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/4", - "id": 4, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "Folder", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/155", - "id": 155, - "identifier": "short_name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 100, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/119", - "id": 119, - "identifier": "short_description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short description" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/156", - "id": 156, - "identifier": "description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/55", - "id": 55, - "status": "DEFINED", - "identifier": "folder_55", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Folder" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2021-07-28T07:57:22+00:00", - "modificationDate": "2021-07-28T07:57:34+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/55/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/55/draft" - }, - "remoteId": "4eb7bc76f6d0bd1d5ded2d8936cc6afb", - "urlAliasSchema": "", - "nameSchema": "<short_name|name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions/210", - "id": 210, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "Folder", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions/211", - "id": 211, - "identifier": "short_name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short name" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 100, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions/212", - "id": 212, - "identifier": "short_description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short description" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/55/fieldDefinitions/213", - "id": 213, - "identifier": "description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/43", - "id": 43, - "status": "DEFINED", - "identifier": "form", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Form" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2018-09-17T06:46:13+00:00", - "modificationDate": "2018-09-17T06:47:14+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/43/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/43/draft" - }, - "remoteId": "6f7f21df775a33c1e4bbc76b48c38476", - "urlAliasSchema": "", - "nameSchema": "<title>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/188", - "id": 188, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/189", - "id": 189, - "identifier": "form", - "fieldType": "ezform", - "fieldGroup": "content", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "fields": [], - "content_id": null, - "content_field_id": null, - "language_code": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Form" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/45", - "id": 45, - "status": "DEFINED", - "identifier": "tip", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Tip" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2021-06-28T11:29:19+00:00", - "modificationDate": "2021-07-26T09:33:06+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/45/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/45/draft" - }, - "remoteId": "e6490e8a785edacd48629f2022be3125", - "urlAliasSchema": "", - "nameSchema": "<title>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/193", - "id": 193, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 1, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/194", - "id": 194, - "identifier": "body", - "fieldType": "eztext", - "fieldGroup": "content", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Body" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": { - "textRows": 10 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/204", - "id": 204, - "identifier": "richtext", - "fieldType": "ezrichtext", - "fieldGroup": "content", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "richtext" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/42", - "id": 42, - "status": "DEFINED", - "identifier": "landing_page", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - }, - "creationDate": "2015-07-03T12:00:26+00:00", - "modificationDate": "2015-07-03T12:00:26+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/42/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/42/draft" - }, - "remoteId": "60c03e9758465eb69d56b3afb6adf18e", - "urlAliasSchema": "", - "nameSchema": "<name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/185", - "id": 185, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 10, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/186", - "id": 186, - "identifier": "description", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 20, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page description" - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/187", - "id": 187, - "identifier": "page", - "fieldType": "ezlandingpage", - "fieldGroup": "content", - "position": 30, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "layout": "default", - "zones": [ - { - "id": "default_id", - "name": "default", - "blocks": [] - } - ] - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "fieldSettings": { - "availableBlocks": null, - "availableLayouts": null, - "editorMode": "page_view_mode" - }, - "validatorConfiguration": [] - } - ] - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/GET/ContentTypeGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/GET/ContentTypeGroup.xml.example deleted file mode 100644 index e8def25754..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/GET/ContentTypeGroup.xml.example +++ /dev/null @@ -1,1034 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeList media-type="application/vnd.ibexa.api.ContentTypeList+xml" href="/api/ibexa/v2/content/typegroups/1/types"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"> - <id>2</id> - <status>DEFINED</status> - <identifier>article</identifier> - <names> - <value languageCode="eng-GB">Article</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <creationDate>2002-06-18T09:21:38+00:00</creationDate> - <modificationDate>2021-06-28T11:31:22+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/2/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2/draft"/> - <remoteId>c15b600eb9198b1924063b5a68758232</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_title|title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>false</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/1"> - <id>1</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>New article</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/152"> - <id>152</id> - <identifier>short_title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short title</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/153"> - <id>153</id> - <identifier>author</identifier> - <fieldType>ezauthor</fieldType> - <fieldGroup></fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Author</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings> - <value key="defaultAuthor">1</value> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/120"> - <id>120</id> - <identifier>intro</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>4</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Intro</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/121"> - <id>121</id> - <identifier>body</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>5</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Body</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/123"> - <id>123</id> - <identifier>enable_comments</identifier> - <fieldType>ezboolean</fieldType> - <fieldGroup></fieldGroup> - <position>6</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>false</defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Enable comments</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/195"> - <id>195</id> - <identifier>image</identifier> - <fieldType>ezimageasset</fieldType> - <fieldGroup>content</fieldGroup> - <position>7</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="destinationContentId"/> - <value key="alternativeText"/> - <value key="source"/> - </defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Image</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/50"> - <id>50</id> - <status>DEFINED</status> - <identifier>copy_of_article_50</identifier> - <names> - <value languageCode="eng-GB">Article</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <creationDate>2021-07-14T10:30:00+00:00</creationDate> - <modificationDate>2021-07-14T10:30:00+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/50/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/50/draft"/> - <remoteId>fc9434492469d136ffe13377bfdcbb28</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_title|title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>false</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/50/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/50/fieldDefinitions/197"> - <id>197</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>New article</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/50/fieldDefinitions/198"> - <id>198</id> - <identifier>short_title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short title</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/50/fieldDefinitions/199"> - <id>199</id> - <identifier>author</identifier> - <fieldType>ezauthor</fieldType> - <fieldGroup></fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Author</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings> - <value key="defaultAuthor">1</value> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/50/fieldDefinitions/200"> - <id>200</id> - <identifier>intro</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>4</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Intro</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/50/fieldDefinitions/201"> - <id>201</id> - <identifier>body</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>5</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Body</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/50/fieldDefinitions/202"> - <id>202</id> - <identifier>enable_comments</identifier> - <fieldType>ezboolean</fieldType> - <fieldGroup></fieldGroup> - <position>6</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>false</defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Enable comments</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/50/fieldDefinitions/203"> - <id>203</id> - <identifier>image</identifier> - <fieldType>ezimageasset</fieldType> - <fieldGroup>content</fieldGroup> - <position>7</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="destinationContentId"/> - <value key="alternativeText"/> - <value key="source"/> - </defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Image</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/44"> - <id>44</id> - <status>DEFINED</status> - <identifier>dog_breed</identifier> - <names> - <value languageCode="eng-GB">Dog Breed</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <creationDate>2021-06-28T11:28:00+00:00</creationDate> - <modificationDate>2021-06-28T11:29:02+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/44/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/44/draft"/> - <remoteId>b348c95f7c573d4d502d6b59f80e618a</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><name></nameSchema> - <isContainer>false</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PUBLISHED</defaultSortField> - <defaultSortOrder>DESC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/44/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/44/fieldDefinitions/190"> - <id>190</id> - <identifier>name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Name</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength"/> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/44/fieldDefinitions/191"> - <id>191</id> - <identifier>photo</identifier> - <fieldType>ezimageasset</fieldType> - <fieldGroup>content</fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="destinationContentId"/> - <value key="alternativeText"/> - <value key="source"/> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Photo</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/44/fieldDefinitions/192"> - <id>192</id> - <identifier>description</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup>content</fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Full Description</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"> - <id>1</id> - <status>DEFINED</status> - <identifier>folder</identifier> - <names> - <value languageCode="eng-GB">Folder</value> - </names> - <descriptions/> - <creationDate>2002-06-18T09:21:38+00:00</creationDate> - <modificationDate>2015-11-29T21:14:32+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/1/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1/draft"/> - <remoteId>a3d405b81be900468eb153d774f4f0d2</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_name|name></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions/4"> - <id>4</id> - <identifier>name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>Folder</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Name</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions/155"> - <id>155</id> - <identifier>short_name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short name</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">100</value> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions/119"> - <id>119</id> - <identifier>short_description</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short description</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions/156"> - <id>156</id> - <identifier>description</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>4</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Description</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/55"> - <id>55</id> - <status>DEFINED</status> - <identifier>folder_55</identifier> - <names> - <value languageCode="eng-GB">Folder</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <creationDate>2021-07-28T07:57:22+00:00</creationDate> - <modificationDate>2021-07-28T07:57:34+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/55/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/55/draft"/> - <remoteId>4eb7bc76f6d0bd1d5ded2d8936cc6afb</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_name|name></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/55/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/55/fieldDefinitions/210"> - <id>210</id> - <identifier>name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>Folder</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Name</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/55/fieldDefinitions/211"> - <id>211</id> - <identifier>short_name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short name</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">100</value> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/55/fieldDefinitions/212"> - <id>212</id> - <identifier>short_description</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short description</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/55/fieldDefinitions/213"> - <id>213</id> - <identifier>description</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>4</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Description</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/43"> - <id>43</id> - <status>DEFINED</status> - <identifier>form</identifier> - <names> - <value languageCode="eng-GB">Form</value> - </names> - <descriptions/> - <creationDate>2018-09-17T06:46:13+00:00</creationDate> - <modificationDate>2018-09-17T06:47:14+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/43/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/43/draft"/> - <remoteId>6f7f21df775a33c1e4bbc76b48c38476</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><title></nameSchema> - <isContainer>false</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PUBLISHED</defaultSortField> - <defaultSortOrder>DESC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/43/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/43/fieldDefinitions/188"> - <id>188</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength"/> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/43/fieldDefinitions/189"> - <id>189</id> - <identifier>form</identifier> - <fieldType>ezform</fieldType> - <fieldGroup>content</fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="fields"/> - <value key="content_id"/> - <value key="content_field_id"/> - <value key="language_code"/> - </defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Form</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/45"> - <id>45</id> - <status>DEFINED</status> - <identifier>tip</identifier> - <names> - <value languageCode="eng-GB">Tip</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <creationDate>2021-06-28T11:29:19+00:00</creationDate> - <modificationDate>2021-07-26T09:33:06+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/45/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/45/draft"/> - <remoteId>e6490e8a785edacd48629f2022be3125</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><title></nameSchema> - <isContainer>false</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PUBLISHED</defaultSortField> - <defaultSortOrder>DESC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/45/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/45/fieldDefinitions/193"> - <id>193</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength"/> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/45/fieldDefinitions/194"> - <id>194</id> - <identifier>body</identifier> - <fieldType>eztext</fieldType> - <fieldGroup>content</fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Body</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings> - <value key="textRows">10</value> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/45/fieldDefinitions/204"> - <id>204</id> - <identifier>richtext</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup>content</fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">richtext</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/42"> - <id>42</id> - <status>DEFINED</status> - <identifier>landing_page</identifier> - <names> - <value languageCode="eng-GB">Landing page</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <creationDate>2015-07-03T12:00:26+00:00</creationDate> - <modificationDate>2015-07-03T12:00:26+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/42/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/42/draft"/> - <remoteId>60c03e9758465eb69d56b3afb6adf18e</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><name></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PUBLISHED</defaultSortField> - <defaultSortOrder>DESC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/42/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/42/fieldDefinitions/185"> - <id>185</id> - <identifier>name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>10</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions> - <value languageCode="eng-GB">Title</value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength"/> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/42/fieldDefinitions/186"> - <id>186</id> - <identifier>description</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>20</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Description</value> - </names> - <descriptions> - <value languageCode="eng-GB">Landing page description</value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength"/> - <value key="minStringLength"/> - </value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/42/fieldDefinitions/187"> - <id>187</id> - <identifier>page</identifier> - <fieldType>ezlandingpage</fieldType> - <fieldGroup>content</fieldGroup> - <position>30</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="layout">default</value> - <value key="zones"> - <value> - <value key="id">default_id</value> - <value key="name">default</value> - <value key="blocks"/> - </value> - </value> - </defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Landing page</value> - </names> - <descriptions> - <value languageCode="eng-GB">Landing page</value> - </descriptions> - <fieldSettings> - <value key="availableBlocks"/> - <value key="availableLayouts"/> - <value key="editorMode">page_view_mode</value> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> -</ContentTypeList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroup.json.example deleted file mode 100644 index 5235bc58c3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroup.json.example +++ /dev/null @@ -1,22 +0,0 @@ -{ - "ContentTypeGroup": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json", - "_href": "/api/ibexa/v2/content/typegroups/4", - "id": 4, - "identifier": "updatedIdentifer", - "created": "2021-08-11T09:44:18+00:00", - "modified": "2021-08-11T10:10:04+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "ContentTypes": { - "_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json", - "_href": "/api/ibexa/v2/content/typegroups/6/types" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroup.xml.example deleted file mode 100644 index 2357f92577..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroup.xml.example +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeGroup media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/1"> - <id>4</id> - <identifier>updatedIdentifer</identifier> - <created>2002-09-05T11:08:48+02:00</created> - <modified>2019-02-22T14:42:55+01:00</modified> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <ContentTypes media-type="application/vnd.ibexa.api.ContentTypeInfoList+xml" href="/api/ibexa/v2/content/typegroups/1/types"/> -</ContentTypeGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroupInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroupInput.json.example deleted file mode 100644 index bf3fa9ebc7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroupInput.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ContentTypeGroupInput": { - "identifier": "updatedIdentifer" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroupInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroupInput.xml.example deleted file mode 100644 index 2a79ff0f65..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroupInput.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeGroupInput> - <identifier>updatedIdentifer</identifier> -</ContentTypeGroupInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeInfoList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeInfoList.json.example deleted file mode 100644 index c7c2076fbb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeInfoList.json.example +++ /dev/null @@ -1,2011 +0,0 @@ -{ - "ContentTypeList": { - "_media-type": "application/vnd.ibexa.api.ContentTypeList+json", - "_href": "/api/ibexa/v2/content/types", - "ContentType": [ - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2", - "id": 2, - "status": "DEFINED", - "identifier": "article", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Article" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2021-06-28T11:31:22+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/2/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2/draft" - }, - "remoteId": "c15b600eb9198b1924063b5a68758232", - "urlAliasSchema": "", - "nameSchema": "<short_title|title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": false, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1", - "id": 1, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New article", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152", - "id": 152, - "identifier": "short_title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153", - "id": 153, - "identifier": "author", - "fieldType": "ezauthor", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": [], - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Author" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": { - "defaultAuthor": 1 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120", - "id": 120, - "identifier": "intro", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Intro" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121", - "id": 121, - "identifier": "body", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 5, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Body" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123", - "id": 123, - "identifier": "enable_comments", - "fieldType": "ezboolean", - "fieldGroup": "", - "position": 6, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": false, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Enable comments" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195", - "id": 195, - "identifier": "image", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 7, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/50", - "id": 50, - "status": "DEFINED", - "identifier": "copy_of_article_50", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Article" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2021-07-14T10:30:00+00:00", - "modificationDate": "2021-07-14T10:30:00+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/50/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/50/draft" - }, - "remoteId": "fc9434492469d136ffe13377bfdcbb28", - "urlAliasSchema": "", - "nameSchema": "<short_title|title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": false, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/197", - "id": 197, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New article", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/198", - "id": 198, - "identifier": "short_title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/199", - "id": 199, - "identifier": "author", - "fieldType": "ezauthor", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": [], - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Author" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": { - "defaultAuthor": 1 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/200", - "id": 200, - "identifier": "intro", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Intro" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/201", - "id": 201, - "identifier": "body", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 5, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Body" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/202", - "id": 202, - "identifier": "enable_comments", - "fieldType": "ezboolean", - "fieldGroup": "", - "position": 6, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": false, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Enable comments" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/50/fieldDefinitions/203", - "id": 203, - "identifier": "image", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 7, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/44", - "id": 44, - "status": "DEFINED", - "identifier": "dog_breed", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Dog Breed" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2021-06-28T11:28:00+00:00", - "modificationDate": "2021-06-28T11:29:02+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/44/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/44/draft" - }, - "remoteId": "b348c95f7c573d4d502d6b59f80e618a", - "urlAliasSchema": "", - "nameSchema": "<name>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/190", - "id": 190, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 1, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/191", - "id": 191, - "identifier": "photo", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Photo" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/44/fieldDefinitions/192", - "id": 192, - "identifier": "description", - "fieldType": "ezrichtext", - "fieldGroup": "content", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Full Description" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1", - "id": 1, - "status": "DEFINED", - "identifier": "folder", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Folder" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2015-11-29T21:14:32+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/1/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1/draft" - }, - "remoteId": "a3d405b81be900468eb153d774f4f0d2", - "urlAliasSchema": null, - "nameSchema": "<short_name|name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/4", - "id": 4, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "Folder", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/155", - "id": 155, - "identifier": "short_name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 100, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/119", - "id": 119, - "identifier": "short_description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short description" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/156", - "id": 156, - "identifier": "description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/43", - "id": 43, - "status": "DEFINED", - "identifier": "form", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Form" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2018-09-17T06:46:13+00:00", - "modificationDate": "2018-09-17T06:47:14+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/43/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/43/draft" - }, - "remoteId": "6f7f21df775a33c1e4bbc76b48c38476", - "urlAliasSchema": "", - "nameSchema": "<title>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/188", - "id": 188, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/189", - "id": 189, - "identifier": "form", - "fieldType": "ezform", - "fieldGroup": "content", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "fields": [], - "content_id": null, - "content_field_id": null, - "language_code": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Form" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/45", - "id": 45, - "status": "DEFINED", - "identifier": "tip", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Tip" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2021-06-28T11:29:19+00:00", - "modificationDate": "2021-07-26T09:33:06+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/45/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/45/draft" - }, - "remoteId": "e6490e8a785edacd48629f2022be3125", - "urlAliasSchema": "", - "nameSchema": "<title>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/193", - "id": 193, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 1, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/194", - "id": 194, - "identifier": "body", - "fieldType": "eztext", - "fieldGroup": "content", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Body" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": { - "textRows": 10 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/45/fieldDefinitions/204", - "id": 204, - "identifier": "richtext", - "fieldType": "ezrichtext", - "fieldGroup": "content", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "richtext" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/42", - "id": 42, - "status": "DEFINED", - "identifier": "landing_page", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - }, - "creationDate": "2015-07-03T12:00:26+00:00", - "modificationDate": "2015-07-03T12:00:26+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/42/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/42/draft" - }, - "remoteId": "60c03e9758465eb69d56b3afb6adf18e", - "urlAliasSchema": "", - "nameSchema": "<name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/185", - "id": 185, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 10, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/186", - "id": 186, - "identifier": "description", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 20, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page description" - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/187", - "id": 187, - "identifier": "page", - "fieldType": "ezlandingpage", - "fieldGroup": "content", - "position": 30, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "layout": "default", - "zones": [ - { - "id": "default_id", - "name": "default", - "blocks": [] - } - ] - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "fieldSettings": { - "availableBlocks": null, - "availableLayouts": null, - "editorMode": "page_view_mode" - }, - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/4", - "id": 4, - "status": "DEFINED", - "identifier": "user", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "User" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2004-04-15T08:39:24+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/4/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/4/draft" - }, - "remoteId": "40faa822edc579b02c25f6bb7beec3ad", - "urlAliasSchema": null, - "nameSchema": "<first_name> <last_name>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/8", - "id": 8, - "identifier": "first_name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "First name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/9", - "id": 9, - "identifier": "last_name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Last name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/12", - "id": 12, - "identifier": "user_account", - "fieldType": "ezuser", - "fieldGroup": "", - "position": 3, - "isTranslatable": false, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "User account" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": { - "PasswordTTL": 0, - "PasswordTTLWarning": 0, - "RequireUniqueEmail": false, - "UsernamePattern": "^[^@]+$" - }, - "validatorConfiguration": { - "PasswordValueValidator": { - "requireAtLeastOneUpperCaseCharacter": true, - "requireAtLeastOneLowerCaseCharacter": true, - "requireAtLeastOneNumericCharacter": true, - "requireAtLeastOneNonAlphanumericCharacter": false, - "requireNewPassword": false, - "minLength": 10 - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/179", - "id": 179, - "identifier": "signature", - "fieldType": "eztext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Signature" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": { - "textRows": 10 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/4/fieldDefinitions/180", - "id": 180, - "identifier": "image", - "fieldType": "ezimage", - "fieldGroup": "", - "position": 5, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "FileSizeValidator": { - "maxFileSize": 10 - } - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/3", - "id": 3, - "status": "DEFINED", - "identifier": "user_group", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "User group" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2003-03-24T08:32:23+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/3/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/3/draft" - }, - "remoteId": "25b4268cdcd01921b808a0d854b877ef", - "urlAliasSchema": null, - "nameSchema": "<name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/3/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/3/fieldDefinitions/6", - "id": 6, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/3/fieldDefinitions/7", - "id": 7, - "identifier": "description", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/12", - "id": 12, - "status": "DEFINED", - "identifier": "file", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "File" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2003-05-08T09:17:52+00:00", - "modificationDate": "2003-05-08T09:21:09+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/12/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/12/draft" - }, - "remoteId": "637d58bfddf164627bdfd265733280a0", - "urlAliasSchema": null, - "nameSchema": "<name>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/12/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/12/fieldDefinitions/146", - "id": 146, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New file", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/12/fieldDefinitions/147", - "id": 147, - "identifier": "description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/12/fieldDefinitions/148", - "id": 148, - "identifier": "file", - "fieldType": "ezbinaryfile", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "File" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "FileSizeValidator": { - "maxFileSize": null - } - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/5", - "id": 5, - "status": "DEFINED", - "identifier": "image", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2002-09-08T11:36:32+00:00", - "modificationDate": "2003-03-24T08:33:04+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/5/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/5/draft" - }, - "remoteId": "f6df12aa74e36230eb675f364fccd25a", - "urlAliasSchema": null, - "nameSchema": "<name>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/5/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/5/fieldDefinitions/116", - "id": 116, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 150, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/5/fieldDefinitions/117", - "id": 117, - "identifier": "caption", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Caption" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/5/fieldDefinitions/118", - "id": 118, - "identifier": "image", - "fieldType": "ezimage", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "FileSizeValidator": { - "maxFileSize": 10 - } - } - } - ] - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeInfoList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeInfoList.xml.example deleted file mode 100644 index 097f475b13..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeInfoList.xml.example +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeInfoList media-type="application/vnd.ibexa.api.ContentTypeInfoList+xml" href="/api/ibexa/v2/content/typegroups/1/types"> - <ContentTypeInfo media-type="application/vnd.ibexa.api.ContentTypeInfo+xml" href="/api/ibexa/v2/content/types/2"> - <id>2</id> - <status>DEFINED</status> - <identifier>article</identifier> - <names> - <value languageCode="eng-GB">Article</value> - </names> - <descriptions/> - <creationDate>2002-06-18T11:21:38+02:00</creationDate> - <modificationDate>2004-04-20T11:56:29+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/2/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2/draft"/> - <remoteId>c15b600eb9198b1924063b5a68758232</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_title|title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>false</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - </ContentTypeInfo> - <ContentTypeInfo media-type="application/vnd.ibexa.api.ContentTypeInfo+xml" href="/api/ibexa/v2/content/types/1"> - <id>1</id> - <status>DEFINED</status> - <identifier>folder</identifier> - <names> - <value languageCode="eng-GB">Folder</value> - </names> - <descriptions/> - <creationDate>2002-06-18T11:21:38+02:00</creationDate> - <modificationDate>2015-11-29T22:14:32+01:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/1/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1/draft"/> - <remoteId>a3d405b81be900468eb153d774f4f0d2</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_name|name></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - </ContentTypeInfo> -</ContentTypeInfoList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeList.xml.example deleted file mode 100644 index b33671c669..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/GET/ContentTypeList.xml.example +++ /dev/null @@ -1,184 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeList media-type="application/vnd.ibexa.api.ContentTypeList+xml" href="/api/ibexa/v2/content/typegroups/1/types"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"> - <id>2</id> - <status>DEFINED</status> - <identifier>article</identifier> - <names> - <value languageCode="eng-GB">Article</value> - </names> - <descriptions/> - <creationDate>2002-06-18T11:21:38+02:00</creationDate> - <modificationDate>2004-04-20T11:56:29+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/2/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2/draft"/> - <remoteId>c15b600eb9198b1924063b5a68758232</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_title|title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>false</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/1"> - <id>1</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>New article</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/152"> - <id>152</id> - <identifier>short_title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/153"> - <id>153</id> - <identifier>author</identifier> - <fieldType>ezauthor</fieldType> - <fieldGroup></fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Author</value> - </names> - <descriptions/> - <fieldSettings> - <value key="defaultAuthor">1</value> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/120"> - <id>120</id> - <identifier>intro</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>4</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Intro</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/121"> - <id>121</id> - <identifier>body</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>5</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Body</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/123"> - <id>123</id> - <identifier>enable_comments</identifier> - <fieldType>ezboolean</fieldType> - <fieldGroup></fieldGroup> - <position>6</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>false</defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Enable comments</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/154"> - <id>154</id> - <identifier>image</identifier> - <fieldType>ezobjectrelation</fieldType> - <fieldGroup></fieldGroup> - <position>7</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="destinationContentId"/> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Image</value> - </names> - <descriptions/> - <fieldSettings> - <value key="selectionMethod">SELECTION_BROWSE</value> - <value key="selectionRoot"></value> - <value key="selectionContentTypes"/> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> -</ContentTypeList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentType.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentType.xml.example deleted file mode 100644 index beac49c714..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentType.xml.example +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/20/draft"> - <id>20</id> - <status>DRAFT</status> - <identifier>newContentType</identifier> - <names> - <value languageCode="eng-GB">New content type</value> - </names> - <descriptions> - <value languageCode="eng-GB">This is a description</value> - </descriptions> - <creationDate>2019-02-26T09:39:58+01:00</creationDate> - <modificationDate>2019-02-26T09:39:58+01:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/20/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/20/draft"/> - <remoteId>remoteId-qwert548</remoteId> - <urlAliasSchema><title></urlAliasSchema> - <nameSchema><title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/20/draft/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/20/draft/fieldDefinitions/223"> - <id>223</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>New Title</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions> - <value languageCode="eng-GB">This is the title</value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="minStringLength">0</value> - <value key="maxStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - </FieldDefinitions> -</ContentType> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentTypeCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentTypeCreate.json.example deleted file mode 100644 index 175bf7100a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentTypeCreate.json.example +++ /dev/null @@ -1,86 +0,0 @@ -{ - "ContentTypeCreate": { - "identifier": "new_content_type", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "New content type" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "This is a description" - } - ] - }, - "remoteId": "remoteId-qwerty548", - "urlAliasSchema": "<title>", - "nameSchema": "<title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "FieldDefinition": [ - { - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New Title", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "This is the title" - } - ] - } - }, - { - "identifier": "summary", - "fieldType": "ezrichtext", - "fieldGroup": "content", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Summary" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "This is the summary" - } - ] - } - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentTypeCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentTypeCreate.xml.example deleted file mode 100644 index 261e7a475b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/typegroups/content_type_group_id/types/POST/ContentTypeCreate.xml.example +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeCreate> - <identifier>newContentType</identifier> - <names> - <value languageCode="eng-US">New content type</value> - </names> - <descriptions> - <value languageCode="eng-US">This is a description</value> - </descriptions> - <remoteId>remoteId-qwert548</remoteId> - <urlAliasSchema><title></urlAliasSchema> - <nameSchema><title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-US</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions> - <FieldDefinition> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>New Title</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-US">Title</value> - </names> - <descriptions> - <value languageCode="eng-US">This is the title</value> - </descriptions> - </FieldDefinition> - <FieldDefinition> - <identifier>summary</identifier> - <fieldType>ezxmltext</fieldType> - <fieldGroup>content</fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="utf-8"?><section/></value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-US">Summary</value> - </names> - <descriptions> - <value languageCode="eng-US">This is the summary</value> - </descriptions> - </FieldDefinition> - </FieldDefinitions> -</ContentTypeCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/GET/ContentTypeInfoList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/GET/ContentTypeInfoList.json.example deleted file mode 100644 index 31c1f62d13..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/GET/ContentTypeInfoList.json.example +++ /dev/null @@ -1,733 +0,0 @@ -{ - "ContentTypeList": { - "_media-type": "application/vnd.ibexa.api.ContentTypeList+json", - "_href": "/api/ibexa/v2/content/typegroups/1/types", - "ContentType": [ - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2", - "id": 2, - "status": "DEFINED", - "identifier": "article", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Article" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2004-04-20T09:56:29+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/2/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2/draft" - }, - "remoteId": "c15b600eb9198b1924063b5a68758232", - "urlAliasSchema": null, - "nameSchema": "<short_title|title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": false, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1", - "id": 1, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New article", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152", - "id": 152, - "identifier": "short_title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short title" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153", - "id": 153, - "identifier": "author", - "fieldType": "ezauthor", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": [], - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Author" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": { - "defaultAuthor": 1 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120", - "id": 120, - "identifier": "intro", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Intro" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121", - "id": 121, - "identifier": "body", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 5, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Body" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123", - "id": 123, - "identifier": "enable_comments", - "fieldType": "ezboolean", - "fieldGroup": "", - "position": 6, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": false, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Enable comments" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/154", - "id": 154, - "identifier": "image", - "fieldType": "ezobjectrelation", - "fieldGroup": "", - "position": 7, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": { - "selectionMethod": "SELECTION_BROWSE", - "selectionRoot": "", - "selectionContentTypes": [] - }, - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1", - "id": 1, - "status": "DEFINED", - "identifier": "folder", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Folder" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2015-11-29T21:14:32+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/1/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1/draft" - }, - "remoteId": "a3d405b81be900468eb153d774f4f0d2", - "urlAliasSchema": null, - "nameSchema": "<short_name|name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/4", - "id": 4, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "Folder", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/155", - "id": 155, - "identifier": "short_name", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short name" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 100, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/119", - "id": 119, - "identifier": "short_description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short description" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/1/fieldDefinitions/156", - "id": 156, - "identifier": "description", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/43", - "id": 43, - "status": "DEFINED", - "identifier": "form", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Form" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2018-09-17T06:46:13+00:00", - "modificationDate": "2018-09-17T06:47:14+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/43/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/43/draft" - }, - "remoteId": "6f7f21df775a33c1e4bbc76b48c38476", - "urlAliasSchema": "", - "nameSchema": "<title>", - "isContainer": false, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/188", - "id": 188, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/43/fieldDefinitions/189", - "id": 189, - "identifier": "form", - "fieldType": "ezform", - "fieldGroup": "content", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "fields": [], - "content_id": null, - "content_field_id": null, - "language_code": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Form" - } - ] - }, - "descriptions": { - "value": [] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/42", - "id": 42, - "status": "DEFINED", - "identifier": "landing_page", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "" - } - ] - }, - "creationDate": "2015-07-03T12:00:26+00:00", - "modificationDate": "2015-07-03T12:00:26+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/42/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/42/draft" - }, - "remoteId": "60c03e9758465eb69d56b3afb6adf18e", - "urlAliasSchema": "", - "nameSchema": "<name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PUBLISHED", - "defaultSortOrder": "DESC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/185", - "id": 185, - "identifier": "name", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 10, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/186", - "id": 186, - "identifier": "description", - "fieldType": "ezstring", - "fieldGroup": "content", - "position": 20, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Description" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page description" - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": null, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/42/fieldDefinitions/187", - "id": 187, - "identifier": "page", - "fieldType": "ezlandingpage", - "fieldGroup": "content", - "position": 30, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "layout": "default", - "zones": [ - { - "id": "default_id", - "name": "default", - "blocks": [] - } - ] - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Landing page" - } - ] - }, - "fieldSettings": { - "availableBlocks": null, - "availableLayouts": null, - "editorMode": "page_view_mode" - }, - "validatorConfiguration": [] - } - ] - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/GET/ContentTypeInfoList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/GET/ContentTypeInfoList.xml.example deleted file mode 100644 index 918783beb8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/GET/ContentTypeInfoList.xml.example +++ /dev/null @@ -1,480 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeList media-type="application/vnd.ibexa.api.ContentTypeList+xml" href="/api/ibexa/v2/content/typegroups/1/types"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"> - <id>2</id> - <status>DEFINED</status> - <identifier>article</identifier> - <names> - <value languageCode="eng-GB">Article</value> - </names> - <descriptions/> - <creationDate>2002-06-18T09:21:38+00:00</creationDate> - <modificationDate>2004-04-20T09:56:29+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/2/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2/draft"/> - <remoteId>c15b600eb9198b1924063b5a68758232</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_title|title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>false</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/1"> - <id>1</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>New article</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/152"> - <id>152</id> - <identifier>short_title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/153"> - <id>153</id> - <identifier>author</identifier> - <fieldType>ezauthor</fieldType> - <fieldGroup></fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Author</value> - </names> - <descriptions/> - <fieldSettings> - <value key="defaultAuthor">1</value> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/120"> - <id>120</id> - <identifier>intro</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>4</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Intro</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/121"> - <id>121</id> - <identifier>body</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>5</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Body</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/123"> - <id>123</id> - <identifier>enable_comments</identifier> - <fieldType>ezboolean</fieldType> - <fieldGroup></fieldGroup> - <position>6</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>false</defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Enable comments</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/154"> - <id>154</id> - <identifier>image</identifier> - <fieldType>ezobjectrelation</fieldType> - <fieldGroup></fieldGroup> - <position>7</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="destinationContentId"/> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Image</value> - </names> - <descriptions/> - <fieldSettings> - <value key="selectionMethod">SELECTION_BROWSE</value> - <value key="selectionRoot"></value> - <value key="selectionContentTypes"/> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"> - <id>1</id> - <status>DEFINED</status> - <identifier>folder</identifier> - <names> - <value languageCode="eng-GB">Folder</value> - </names> - <descriptions/> - <creationDate>2002-06-18T09:21:38+00:00</creationDate> - <modificationDate>2015-11-29T21:14:32+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/1/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1/draft"/> - <remoteId>a3d405b81be900468eb153d774f4f0d2</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_name|name></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions/4"> - <id>4</id> - <identifier>name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>Folder</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Name</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions/155"> - <id>155</id> - <identifier>short_name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short name</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">100</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions/119"> - <id>119</id> - <identifier>short_description</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short description</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/1/fieldDefinitions/156"> - <id>156</id> - <identifier>description</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>4</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Description</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/43"> - <id>43</id> - <status>DEFINED</status> - <identifier>form</identifier> - <names> - <value languageCode="eng-GB">Form</value> - </names> - <descriptions/> - <creationDate>2018-09-17T06:46:13+00:00</creationDate> - <modificationDate>2018-09-17T06:47:14+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/43/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/43/draft"/> - <remoteId>6f7f21df775a33c1e4bbc76b48c38476</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><title></nameSchema> - <isContainer>false</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PUBLISHED</defaultSortField> - <defaultSortOrder>DESC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/43/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/43/fieldDefinitions/188"> - <id>188</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength"/> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/43/fieldDefinitions/189"> - <id>189</id> - <identifier>form</identifier> - <fieldType>ezform</fieldType> - <fieldGroup>content</fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="fields"/> - <value key="content_id"/> - <value key="content_field_id"/> - <value key="language_code"/> - </defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Form</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/42"> - <id>42</id> - <status>DEFINED</status> - <identifier>landing_page</identifier> - <names> - <value languageCode="eng-GB">Landing page</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <creationDate>2015-07-03T12:00:26+00:00</creationDate> - <modificationDate>2015-07-03T12:00:26+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/42/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/42/draft"/> - <remoteId>60c03e9758465eb69d56b3afb6adf18e</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><name></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PUBLISHED</defaultSortField> - <defaultSortOrder>DESC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/42/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/42/fieldDefinitions/185"> - <id>185</id> - <identifier>name</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>10</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions> - <value languageCode="eng-GB">Title</value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength"/> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/42/fieldDefinitions/186"> - <id>186</id> - <identifier>description</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup>content</fieldGroup> - <position>20</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Description</value> - </names> - <descriptions> - <value languageCode="eng-GB">Landing page description</value> - </descriptions> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength"/> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/42/fieldDefinitions/187"> - <id>187</id> - <identifier>page</identifier> - <fieldType>ezlandingpage</fieldType> - <fieldGroup>content</fieldGroup> - <position>30</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="layout">default</value> - <value key="zones"> - <value> - <value key="id">default_id</value> - <value key="name">default</value> - <value key="blocks"/></value> - </value> - </defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Landing page</value> - </names> - <descriptions> - <value languageCode="eng-GB">Landing page</value> - </descriptions> - <fieldSettings> - <value key="availableBlocks"/> - <value key="availableLayouts"/> - <value key="editorMode">page_view_mode</value> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> - </ContentType> -</ContentTypeList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/GET/ContentType.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/GET/ContentType.json.example deleted file mode 100644 index 67593935b3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/GET/ContentType.json.example +++ /dev/null @@ -1,303 +0,0 @@ -{ - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2", - "id": 2, - "status": "DEFINED", - "identifier": "article", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Article" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2021-06-28T11:31:22+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/2/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2/draft" - }, - "remoteId": "c15b600eb9198b1924063b5a68758232", - "urlAliasSchema": "", - "nameSchema": "<short_title|title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": false, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1", - "id": 1, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New article", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/152", - "id": 152, - "identifier": "short_title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 2, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": null, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Short title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/153", - "id": 153, - "identifier": "author", - "fieldType": "ezauthor", - "fieldGroup": "", - "position": 3, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": [], - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Author" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": { - "defaultAuthor": 1 - }, - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/120", - "id": 120, - "identifier": "intro", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 4, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Intro" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/121", - "id": 121, - "identifier": "body", - "fieldType": "ezrichtext", - "fieldGroup": "", - "position": 5, - "isTranslatable": true, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - }, - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Body" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/123", - "id": 123, - "identifier": "enable_comments", - "fieldType": "ezboolean", - "fieldGroup": "", - "position": 6, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": false, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Enable comments" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - }, - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195", - "id": 195, - "identifier": "image", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 7, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/GET/ContentType.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/GET/ContentType.xml.example deleted file mode 100644 index 59ea81432f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/GET/ContentType.xml.example +++ /dev/null @@ -1,182 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2"> - <id>2</id> - <status>DEFINED</status> - <identifier>article</identifier> - <names> - <value languageCode="eng-GB">Article</value> - </names> - <descriptions/> - <creationDate>2002-06-18T11:21:38+02:00</creationDate> - <modificationDate>2004-04-20T11:56:29+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/2/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/2/draft"/> - <remoteId>c15b600eb9198b1924063b5a68758232</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_title|title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>false</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/1"> - <id>1</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>New article</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/152"> - <id>152</id> - <identifier>short_title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>2</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Short title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/153"> - <id>153</id> - <identifier>author</identifier> - <fieldType>ezauthor</fieldType> - <fieldGroup></fieldGroup> - <position>3</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Author</value> - </names> - <descriptions/> - <fieldSettings> - <value key="defaultAuthor">1</value> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/120"> - <id>120</id> - <identifier>intro</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>4</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Intro</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/121"> - <id>121</id> - <identifier>body</identifier> - <fieldType>ezrichtext</fieldType> - <fieldGroup></fieldGroup> - <position>5</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="xml"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> -</value> - <value key="xhtml5edit"><?xml version="1.0" encoding="UTF-8"?> -<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit"/> -</value> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Body</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/123"> - <id>123</id> - <identifier>enable_comments</identifier> - <fieldType>ezboolean</fieldType> - <fieldGroup></fieldGroup> - <position>6</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>false</defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Enable comments</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration/> - </FieldDefinition> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/154"> - <id>154</id> - <identifier>image</identifier> - <fieldType>ezobjectrelation</fieldType> - <fieldGroup></fieldGroup> - <position>7</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="destinationContentId"/> - </defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Image</value> - </names> - <descriptions/> - <fieldSettings> - <value key="selectionMethod">SELECTION_BROWSE</value> - <value key="selectionRoot"></value> - <value key="selectionContentTypes"/> - </fieldSettings> - <validatorConfiguration/> - </FieldDefinition> - </FieldDefinitions> -</ContentType> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeInfo.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeInfo.json.example deleted file mode 100644 index 6abf1d5bd6..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeInfo.json.example +++ /dev/null @@ -1,46 +0,0 @@ -{ - "ContentTypeInfo": { - "_media-type": "application/vnd.ibexa.api.ContentTypeInfo+json", - "_href": "/api/ibexa/v2/content/types/1/draft", - "id": 1, - "status": "DRAFT", - "identifier": "folder", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Folder" - } - ] - }, - "descriptions": { - "value": [] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2021-08-11T11:17:58+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/1/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1/draft" - }, - "remoteId": "a3d405b81be900468eb153d774f4f0d2", - "urlAliasSchema": null, - "nameSchema": "<short_name|name>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeInfo.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeInfo.xml.example deleted file mode 100644 index ce2a73a08e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeInfo.xml.example +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeInfo media-type="application/vnd.ibexa.api.ContentTypeInfo+xml" href="/api/ibexa/v2/content/types/3/draft"> - <id>3</id> - <status>DRAFT</status> - <identifier>user_group</identifier> - <names> - <value languageCode="eng-GB">User group</value> - </names> - <descriptions/> - <creationDate>2002-06-18T11:21:38+02:00</creationDate> - <modificationDate>2019-02-25T14:41:53+01:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/3/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/3/draft"/> - <remoteId>25b4268cdcd01921b808a0d854b877ef</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><name></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> -</ContentTypeInfo> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeUpdate.json.example deleted file mode 100644 index 78464994fc..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeUpdate.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ContentTypeUpdate": { - "defaultAlwaysAvailable": "true" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeUpdate.xml.example deleted file mode 100644 index 9e9d31ba70..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/POST/ContentTypeUpdate.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeUpdate> - <defaultAlwaysAvailable>true</defaultAlwaysAvailable> -</ContentTypeUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeInfo.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeInfo.json.example deleted file mode 100644 index 6b12d0c7bb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeInfo.json.example +++ /dev/null @@ -1,51 +0,0 @@ -{ - "ContentTypeInfo": { - "_media-type": "application/vnd.ibexa.api.ContentTypeInfo+json", - "_href": "/api/ibexa/v2/content/types/2/draft", - "id": 2, - "status": "DRAFT", - "identifier": "article", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Updated content type name" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "This is an updated content type description" - } - ] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2021-08-11T11:58:24+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Modifier": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/types/2/groups" - }, - "Draft": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2/draft" - }, - "remoteId": "c15b600eb9198b1924063b5a68758232", - "urlAliasSchema": null, - "nameSchema": "<short_title|title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": true, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeInfo.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeInfo.xml.example deleted file mode 100644 index a96fbd1d8e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeInfo.xml.example +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeInfo media-type="application/vnd.ibexa.api.ContentTypeInfo+xml" href="/api/ibexa/v2/content/types/14/draft"> - <id>14</id> - <status>DRAFT</status> - <identifier>new_content_type</identifier> - <names> - <value languageCode="eng-GB">Updated content type name</value> - </names> - <descriptions> - <value languageCode="eng-GB">This is an updated content type description</value> - </descriptions> - <creationDate>2019-02-06T10:56:36+01:00</creationDate> - <modificationDate>2019-02-25T12:15:51+01:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/14/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/14/draft"/> - <remoteId>d7ae816f22fe929e67a359a2ef6e7cde</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_title|title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>false</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> -</ContentTypeInfo> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.json.example deleted file mode 100644 index ad37108944..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.json.example +++ /dev/null @@ -1,20 +0,0 @@ -{ - "ContentTypeUpdate": { - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Updated content type name" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "This is an updated content type description" - } - ] - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.xml.example deleted file mode 100644 index 675fdf951e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.xml.example +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeUpdate> - <names> - <value languageCode="eng-GB">Updated content type name</value> - </names> - <descriptions> - <value languageCode="eng-GB">This is an updated content type description</value> - </descriptions> -</ContentTypeUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PUBLISH/ContentType.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PUBLISH/ContentType.xml.example deleted file mode 100644 index 2edf26aceb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PUBLISH/ContentType.xml.example +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/14"> - <id>14</id> - <status>DEFINED</status> - <identifier>copy_of_article_14</identifier> - <names> - <value languageCode="eng-GB">Updated content type name</value> - </names> - <descriptions> - <value languageCode="eng-GB">This is an updated content type description</value> - </descriptions> - <creationDate>2019-02-06T10:56:36+01:00</creationDate> - <modificationDate>2019-02-25T12:15:51+01:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Modifier media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Groups media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/types/14/groups"/> - <Draft media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/14/draft"/> - <remoteId>d7ae816f22fe929e67a359a2ef6e7cde</remoteId> - <urlAliasSchema></urlAliasSchema> - <nameSchema><short_title|title></nameSchema> - <isContainer>true</isContainer> - <mainLanguageCode>eng-GB</mainLanguageCode> - <defaultAlwaysAvailable>false</defaultAlwaysAvailable> - <defaultSortField>PATH</defaultSortField> - <defaultSortOrder>ASC</defaultSortOrder> - <FieldDefinitions media-type="application/vnd.ibexa.api.FieldDefinitionList+xml" href="/api/ibexa/v2/content/types/14/fieldDefinitions"> - <FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/14/fieldDefinitions/188"> - <id>188</id> - <identifier>title</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>1</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue>New article</defaultValue> - <isSearchable>true</isSearchable> - <names> - <value languageCode="eng-GB">Title</value> - </names> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">255</value> - <value key="minStringLength"/></value> - </validatorConfiguration> - </FieldDefinition> - </FieldDefinitions> -</ContentType> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/POST/FieldDefinition.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/POST/FieldDefinition.xml.example deleted file mode 100644 index e994eb0f56..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/POST/FieldDefinition.xml.example +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/14/draft/fieldDefinitions/221"> - <id>221</id> - <identifier>name2</identifier> - <fieldType>ezstring</fieldType> - <fieldGroup></fieldGroup> - <position>0</position> - <isTranslatable>true</isTranslatable> - <isRequired>true</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>true</isSearchable> - <names/> - <descriptions/> - <fieldSettings/> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">32</value> - <value key="minStringLength">8</value> - </value> - </validatorConfiguration> -</FieldDefinition> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/POST/FieldDefinitionCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/POST/FieldDefinitionCreate.xml.example deleted file mode 100644 index 3282099a83..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/POST/FieldDefinitionCreate.xml.example +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<FieldDefinitionCreate> - <identifier>name</identifier> - <fieldType>ezstring</fieldType> - <isRequired>true</isRequired> - <validatorConfiguration> - <value key="StringLengthValidator"> - <value key="maxStringLength">32</value> - <value key="minStringLength">8</value> - </value> -</validatorConfiguration> -</FieldDefinitionCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/GET/FieldDefinition.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/GET/FieldDefinition.json.example deleted file mode 100644 index df7975cd9c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/GET/FieldDefinition.json.example +++ /dev/null @@ -1,38 +0,0 @@ -{ - "FieldDefinition": { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195", - "id": 195, - "identifier": "image", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 7, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/GET/FieldDefinition.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/GET/FieldDefinition.xml.example deleted file mode 100644 index f612694996..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/GET/FieldDefinition.xml.example +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/195"> - <id>195</id> - <identifier>image</identifier> - <fieldType>ezimageasset</fieldType> - <fieldGroup>content</fieldGroup> - <position>7</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="destinationContentId"/> - <value key="alternativeText"/> - <value key="source"/> - </defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Image</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> -</FieldDefinition> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/PATCH/FieldDefinition.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/PATCH/FieldDefinition.xml.example deleted file mode 100644 index a941520fef..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/PATCH/FieldDefinition.xml.example +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/15/draft/fieldDefinitions/197"> - <id>197</id> - <identifier>author</identifier> - <fieldType>ezauthor</fieldType> - <fieldGroup>new_field_group</fieldGroup> - <position>10</position> - <isTranslatable>true</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue/> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Author</value> - </names> - <descriptions/> - <fieldSettings> - <value key="defaultAuthor">1</value> - </fieldSettings> - <validatorConfiguration/> -</FieldDefinition> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/PATCH/FieldDefinitionUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/PATCH/FieldDefinitionUpdate.xml.example deleted file mode 100644 index c1f333a86c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/field_definitions/field_definition_id/PATCH/FieldDefinitionUpdate.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<FieldDefinitionUpdate> - <fieldGroup>new_field_group</fieldGroup> - <position>10</position> -</FieldDefinitionUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.json.example deleted file mode 100644 index df7975cd9c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.json.example +++ /dev/null @@ -1,38 +0,0 @@ -{ - "FieldDefinition": { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/195", - "id": 195, - "identifier": "image", - "fieldType": "ezimageasset", - "fieldGroup": "content", - "position": 7, - "isTranslatable": false, - "isRequired": false, - "isInfoCollector": false, - "defaultValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - }, - "isSearchable": false, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Image" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.xml.example deleted file mode 100644 index f612694996..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.xml.example +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<FieldDefinition media-type="application/vnd.ibexa.api.FieldDefinition+xml" href="/api/ibexa/v2/content/types/2/fieldDefinitions/195"> - <id>195</id> - <identifier>image</identifier> - <fieldType>ezimageasset</fieldType> - <fieldGroup>content</fieldGroup> - <position>7</position> - <isTranslatable>false</isTranslatable> - <isRequired>false</isRequired> - <isInfoCollector>false</isInfoCollector> - <defaultValue> - <value key="destinationContentId"/> - <value key="alternativeText"/> - <value key="source"/> - </defaultValue> - <isSearchable>false</isSearchable> - <names> - <value languageCode="eng-GB">Image</value> - </names> - <descriptions> - <value languageCode="eng-GB"></value> - </descriptions> - <fieldSettings/> - <validatorConfiguration/> -</FieldDefinition> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/GET/ContentTypeGroupRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/GET/ContentTypeGroupRefList.json.example deleted file mode 100644 index 44c021757d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/GET/ContentTypeGroupRefList.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ContentTypeGroupRefList": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/typegroups/2/types", - "ContentTypeGroupRef": [ - { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json", - "_href": "/api/ibexa/v2/content/typegroups/1" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/GET/ContentTypeGroupRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/GET/ContentTypeGroupRefList.xml.example deleted file mode 100644 index 5f6bef747a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/GET/ContentTypeGroupRefList.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeGroupRefList media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/typegroups/2/types"> - <ContentTypeGroupRef media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/1"/> -</ContentTypeGroupRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/POST/ContentTypeGroupRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/POST/ContentTypeGroupRefList.xml.example deleted file mode 100644 index b14ad38b7e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/POST/ContentTypeGroupRefList.xml.example +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeGroupRefList media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/typegroups/15/types"> - <ContentTypeGroupRef media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/1"> - <unlink href="/api/ibexa/v2/content/types/15/groups/1" method="DELETE"/> - </ContentTypeGroupRef> - <ContentTypeGroupRef media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/3"> - <unlink href="/api/ibexa/v2/content/types/15/groups/3" method="DELETE"/> - </ContentTypeGroupRef> - <ContentTypeGroupRef media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/2"> - <unlink href="/api/ibexa/v2/content/types/15/groups/2" method="DELETE"/> - </ContentTypeGroupRef> -</ContentTypeGroupRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/id/DELETE/ContentTypeGroupRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/id/DELETE/ContentTypeGroupRefList.json.example deleted file mode 100644 index 74fbb967f6..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/id/DELETE/ContentTypeGroupRefList.json.example +++ /dev/null @@ -1,24 +0,0 @@ -{ - "ContentTypeGroupRefList": { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroupRefList+json", - "_href": "/api/ibexa/v2/content/typegroups/2/types", - "ContentTypeGroupRef": [ - { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json", - "_href": "/api/ibexa/v2/content/typegroups/1", - "unlink": { - "_href": "/api/ibexa/v2/content/types/2/groups/1", - "_method": "DELETE" - } - }, - { - "_media-type": "application/vnd.ibexa.api.ContentTypeGroup+json", - "_href": "/api/ibexa/v2/content/typegroups/2", - "unlink": { - "_href": "/api/ibexa/v2/content/types/2/groups/2", - "_method": "DELETE" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/id/DELETE/ContentTypeGroupRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/id/DELETE/ContentTypeGroupRefList.xml.example deleted file mode 100644 index cd216a5ed7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/groups/id/DELETE/ContentTypeGroupRefList.xml.example +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ContentTypeGroupRefList media-type="application/vnd.ibexa.api.ContentTypeGroupRefList+xml" href="/api/ibexa/v2/content/typegroups/15/types"> - <ContentTypeGroupRef media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/1"> - <unlink href="/api/ibexa/v2/content/types/15/groups/1" method="DELETE"/> - </ContentTypeGroupRef> - <ContentTypeGroupRef media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" href="/api/ibexa/v2/content/typegroups/2"> - <unlink href="/api/ibexa/v2/content/types/15/groups/2" method="DELETE"/> - </ContentTypeGroupRef> -</ContentTypeGroupRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/GET/UrlAliasRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/GET/UrlAliasRefList.json.example deleted file mode 100644 index 40008fd0fb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/GET/UrlAliasRefList.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "UrlAliasRefList": { - "_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json", - "_href": "/api/ibexa/v2/content/urlaliases", - "UrlAlias": [ - { - "_media-type": "application/vnd.ibexa.api.UrlAlias+json", - "_href": "/api/ibexa/v2/content/urlaliases/0-2cecdff5f90b8595d76b68c417b09f36" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/GET/UrlAliasRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/GET/UrlAliasRefList.xml.example deleted file mode 100644 index 2c7e90a83a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/GET/UrlAliasRefList.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UrlAliasRefList media-type="application/vnd.ibexa.api.UrlAliasRefList+xml" href="/api/ibexa/v2/content/urlaliases"> - <UrlAlias media-type="application/vnd.ibexa.api.UrlAlias+xml" href="/api/ibexa/v2/content/urlaliases/0-2cecdff5f90b8595d76b68c417b09f36" /> -</UrlAliasRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAlias.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAlias.json.example deleted file mode 100644 index 0783828718..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAlias.json.example +++ /dev/null @@ -1,15 +0,0 @@ -{ - "UrlAlias": { - "_media-type": "application/vnd.ibexa.api.UrlAlias+json", - "_href": "/api/ibexa/v2/content/urlaliases/0-f530173ad554787c1fe30dc929d98360", - "_id": "0-f530173ad554787c1fe30dc929d98360", - "_type": "RESOURCE", - "resource": "content/view/full", - "path": "/example-global", - "languageCodes": "eng-GB", - "alwaysAvailable": true, - "isHistory": false, - "forward": true, - "custom": true - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAlias.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAlias.xml.example deleted file mode 100644 index 2eca610bc3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAlias.xml.example +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UrlAlias media-type="application/vnd.ibexa.api.UrlAlias+xml" href="/api/ibexa/v2/content/urlaliases/0-deca3dadca45c3dff7861274b8e67ed7" id="0-deca3dadca45c3dff7861274b8e67ed7" type="LOCATION"> - <location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/59"/> - <path>/example-urlalias</path> - <languageCodes>eng-GB</languageCodes> - <alwaysAvailable>true</alwaysAvailable> - <isHistory>false</isHistory> - <forward>true</forward> - <custom>true</custom> -</UrlAlias> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAliasCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAliasCreate.json.example deleted file mode 100644 index 0eb5205140..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAliasCreate.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "UrlAliasCreate": { - "_type": "GLOBAL", - "resource": "module:content/view/full", - "path": "example-global", - "languageCode": "eng-GB", - "alwaysAvailable": "true", - "forward": "true" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAliasCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAliasCreate.xml.example deleted file mode 100644 index 218ab60ec1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/POST/UrlAliasCreate.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UrlAliasCreate type="LOCATION"> - <location href='/api/ibexa/v2/content/locations/1/2/59' /> - <path>example-global</path> - <languageCode>eng-GB</languageCode> - <alwaysAvailable>true</alwaysAvailable> - <forward>true</forward> -</UrlAliasCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/url_alias_id/GET/UrlAlias.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/url_alias_id/GET/UrlAlias.json.example deleted file mode 100644 index 9fe37c2386..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/url_alias_id/GET/UrlAlias.json.example +++ /dev/null @@ -1,15 +0,0 @@ -{ - "UrlAlias": { - "_media-type": "application/vnd.ibexa.api.UrlAlias+json", - "_href": "/api/ibexa/v2/content/urlaliases/0-2cecdff5f90b8595d76b68c417b09f36", - "_id": "0-2cecdff5f90b8595d76b68c417b09f36", - "_type": "RESOURCE", - "resource": "content/view/full", - "path": "/example-global", - "languageCodes": "eng-GB", - "alwaysAvailable": true, - "isHistory": false, - "forward": true, - "custom": true - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/url_alias_id/GET/UrlAlias.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/url_alias_id/GET/UrlAlias.xml.example deleted file mode 100644 index 565b070ef8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlaliases/url_alias_id/GET/UrlAlias.xml.example +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UrlAlias media-type="application/vnd.ibexa.api.UrlAlias+xml" href="/api/ibexa/v2/content/urlaliases/0-2cecdff5f90b8595d76b68c417b09f36" id="0-2cecdff5f90b8595d76b68c417b09f36" type="RESOURCE"> - <resource>content/view/full</resource> - <path>/example-global</path> - <languageCodes>eng-GB</languageCodes> - <alwaysAvailable>true</alwaysAvailable> - <isHistory>false</isHistory> - <forward>true</forward> - <custom>true</custom> -</UrlAlias> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/GET/UrlWildcardList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/GET/UrlWildcardList.json.example deleted file mode 100644 index c8e1bbefca..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/GET/UrlWildcardList.json.example +++ /dev/null @@ -1,16 +0,0 @@ -{ - "UrlWildcardList": { - "_media-type": "application/vnd.ibexa.api.UrlWildcardList+json", - "_href": "/api/ibexa/v2/content/urlwildcards", - "UrlWildcard": [ - { - "_media-type": "application/vnd.ibexa.api.UrlWildcard+json", - "_href": "/api/ibexa/v2/content/urlwildcards/1", - "_id": 1, - "sourceUrl": "/api/ibexa/v2/content/location/2", - "destinationUrl": "/api/ibexa/v2/content/location/59", - "forward": true - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/GET/UrlWildcardList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/GET/UrlWildcardList.xml.example deleted file mode 100644 index 6ca3442d92..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/GET/UrlWildcardList.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UrlWildcardList media-type="application/vnd.ibexa.api.UrlWildcardList+xml" href="/api/ibexa/v2/content/urlwildcards"> - <UrlWildcard media-type="application/vnd.ibexa.api.UrlWildcard+xml" href="/api/ibexa/v2/content/urlwildcards/1" id="1"> - <sourceUrl>/api/ibexa/v2/content/location/2</sourceUrl> - <destinationUrl>/api/ibexa/v2/content/location/59</destinationUrl> - <forward>true</forward> - </UrlWildcard> -</UrlWildcardList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcard.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcard.json.example deleted file mode 100644 index 1bef2dafff..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcard.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "UrlWildcard": { - "_media-type": "application/vnd.ibexa.api.UrlWildcard+json", - "_href": "/api/ibexa/v2/content/urlwildcards/6", - "_id": 6, - "sourceUrl": "/api/ibexa/v2/content/location/2", - "destinationUrl": "/api/ibexa/v2/content/location/59", - "forward": true - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcard.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcard.xml.example deleted file mode 100644 index 34e7bee419..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcard.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UrlWildcard media-type="application/vnd.ibexa.api.UrlWildcard+xml" href="/api/ibexa/v2/content/urlwildcards/1" id="1"> - <sourceUrl>/api/ibexa/v2/content/location/2</sourceUrl> - <destinationUrl>/api/ibexa/v2/content/location/59</destinationUrl> - <forward>true</forward> -</UrlWildcard> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcardCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcardCreate.json.example deleted file mode 100644 index 0bc4c24da1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcardCreate.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "URLWildcardCreate": { - "sourceUrl": "/api/ibexa/v2/content/location/2", - "destinationUrl": "/api/ibexa/v2/content/location/59", - "forward": true - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcardCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcardCreate.xml.example deleted file mode 100644 index a77f9f13fb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/POST/UrlWildcardCreate.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - <UrlWildcardCreate> - <sourceUrl>/api/ibexa/v2/content/location/2</sourceUrl> - <destinationUrl>/api/ibexa/v2/content/location/59</destinationUrl> - <forward>true</forward> -</UrlWildcardCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/wildcard_id/GET/UrlWildcard.json.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/wildcard_id/GET/UrlWildcard.json.example deleted file mode 100644 index f51ac49b13..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/wildcard_id/GET/UrlWildcard.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "UrlWildcard": { - "_media-type": "application/vnd.ibexa.api.UrlWildcard+json", - "_href": "/api/ibexa/v2/content/urlwildcards/4", - "_id": 4, - "sourceUrl": "/api/ibexa/v2/content/location/2", - "destinationUrl": "/api/ibexa/v2/content/location/59", - "forward": true - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/wildcard_id/GET/UrlWildcard.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/wildcard_id/GET/UrlWildcard.xml.example deleted file mode 100644 index b4830abe8c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/content/urlwildcards/wildcard_id/GET/UrlWildcard.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UrlWildcard media-type="application/vnd.ibexa.api.UrlWildcard+xml" href="/api/ibexa/v2/content/urlwildcards/4" id="4"> - <sourceUrl>/api/ibexa/v2/content/location/2</sourceUrl> - <destinationUrl>/api/ibexa/v2/content/location/59</destinationUrl> - <forward>true</forward> -</UrlWildcard> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/GET/CorporateAccountRoot.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/GET/CorporateAccountRoot.json.example deleted file mode 100644 index 1f466fa8a0..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/GET/CorporateAccountRoot.json.example +++ /dev/null @@ -1,47 +0,0 @@ -{ - "CorporateAccountRoot": { - "_media-type": "application\/vnd.ibexa.api.CorporateAccountRoot+json", - "links": [ - { - "_media-type": "application\/vnd.ibexa.api.CompaniesList+json", - "_rel": "ca-companies", - "_href": "\/api\/ibexa\/v2\/corporate\/companies" - }, - { - "_media-type": "application\/vnd.ibexa.api.ContentTypeGroup+json", - "_rel": "ca-types", - "_href": "\/api\/ibexa\/v2\/content\/typegroups?identifier=corporate_account" - }, - { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_rel": "ca-types-company", - "_href": "\/api\/ibexa\/v2\/content\/types\/48" - }, - { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_rel": "ca-types-member", - "_href": "\/api\/ibexa\/v2\/content\/types\/47" - }, - { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_rel": "ca-types-address", - "_href": "\/api\/ibexa\/v2\/content\/types\/49" - }, - { - "_media-type": "application\/vnd.ibexa.api.SalesRepresentativesList+json", - "_rel": "ca-sales-representatives", - "_href": "\/api\/ibexa\/v2\/corporate\/sales-representatives" - }, - { - "_media-type": "application\/vnd.ibexa.api.Role+json", - "_rel": "ca-role-admin", - "_href": "\/api\/ibexa\/v2\/user\/roles\/14" - }, - { - "_media-type": "application\/vnd.ibexa.api.Role+json", - "_rel": "ca-role-buyer", - "_href": "\/api\/ibexa\/v2\/user\/roles\/15" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/GET/CorporateAccountRoot.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/GET/CorporateAccountRoot.xml.example deleted file mode 100644 index 0fc58d572e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/GET/CorporateAccountRoot.xml.example +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CorporateAccountRoot media-type="application/vnd.ibexa.api.CorporateAccountRoot+xml"> - <link media-type="application/vnd.ibexa.api.CompaniesList+xml" rel="ca-companies" href="/api/ibexa/v2/corporate/companies"/> - <link media-type="application/vnd.ibexa.api.ContentTypeGroup+xml" rel="ca-types" href="/api/ibexa/v2/content/typegroups?identifier=corporate_account"/> - <link media-type="application/vnd.ibexa.api.ContentType+xml" rel="ca-types-company" href="/api/ibexa/v2/content/types/48"/> - <link media-type="application/vnd.ibexa.api.ContentType+xml" rel="ca-types-member" href="/api/ibexa/v2/content/types/47"/> - <link media-type="application/vnd.ibexa.api.ContentType+xml" rel="ca-types-address" href="/api/ibexa/v2/content/types/49"/> - <link media-type="application/vnd.ibexa.api.SalesRepresentativesList+xml" rel="ca-sales-representatives" href="/api/ibexa/v2/corporate/sales-representatives"/> - <link media-type="application/vnd.ibexa.api.Role+xml" rel="ca-role-admin" href="/api/ibexa/v2/user/roles/14"/> - <link media-type="application/vnd.ibexa.api.Role+xml" rel="ca-role-buyer" href="/api/ibexa/v2/user/roles/15"/> -</CorporateAccountRoot> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/GET/CompanyList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/GET/CompanyList.json.example deleted file mode 100644 index 0e9c774981..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/GET/CompanyList.json.example +++ /dev/null @@ -1,465 +0,0 @@ -{ - "CompanyList": { - "_media-type": "application\/vnd.ibexa.api.CompanyList+json", - "companies": [ - { - "_media-type": "application\/vnd.ibexa.api.Company+json", - "id": 66, - "name": "Ibexa AS", - "Content": { - "_media-type": "application\/vnd.ibexa.api.Content+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66", - "_remoteId": "9f20fb03d0ab0a6aef9930f7e6720377", - "_id": 66, - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/48" - }, - "Name": "Ibexa AS", - "TranslatedName": "Ibexa AS", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/versions" - }, - "CurrentVersion": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/currentversion", - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/versions\/1", - "VersionInfo": { - "id": 593, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2023-04-03T13:09:40+02:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2023-04-03T13:09:40+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Ibexa AS" - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66" - } - }, - "Fields": { - "field": [ - { - "id": 295, - "fieldDefinitionIdentifier": "active", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezboolean", - "fieldValue": true - }, - { - "id": 296, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Ibexa AS" - }, - { - "id": 297, - "fieldDefinitionIdentifier": "vat", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "123 456 789" - }, - { - "id": 298, - "fieldDefinitionIdentifier": "website", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "https:\/\/ibexa.co" - }, - { - "id": 299, - "fieldDefinitionIdentifier": "customer_group", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_customer_group", - "fieldValue": { - "customer_group_id": 1 - } - }, - { - "id": 300, - "fieldDefinitionIdentifier": "sales_rep", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 14, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/14" - } - }, - { - "id": 301, - "fieldDefinitionIdentifier": "contact", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 74, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/74" - } - }, - { - "id": 302, - "fieldDefinitionIdentifier": "default_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 69, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/69" - } - }, - { - "id": 303, - "fieldDefinitionIdentifier": "billing_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_address", - "fieldValue": { - "name": "Headquarters", - "country": "NO", - "fields": { - "region": "Company HQ location region", - "locality": "Company HQ location city", - "street": "Company HQ location street and building", - "postal_code": "00000", - "email": "company@email.invalid", - "phone_number": "+47 000 000 000" - } - } - }, - { - "id": 305, - "fieldDefinitionIdentifier": "members", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 67, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/67" - } - }, - { - "id": 304, - "fieldDefinitionIdentifier": "address_book", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 68, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/68" - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/versions\/6\/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "\/placeholder", - "width": null, - "height": null, - "mimeType": "image\/svg+xml" - } - } - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/10" - }, - "MainLocation": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/67" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/locations" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "lastModificationDate": "2023-04-03T13:09:40+02:00", - "publishedDate": "2023-03-31T14:33:36+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/objectstates" - } - }, - "billingAddress": { - "name": "Headquarters", - "country": "NO", - "fields": { - "region": "Company HQ location region", - "locality": "Company HQ location city", - "street": "Company HQ location street and building", - "postal_code": "00000", - "email": "company@email.invalid", - "phone_number": "+47 000 000 000" - } - }, - "contactId": 74, - "salesRepresentativeId": 80, - "defaultAddressId": 69, - "addressBookId": 68, - "membersId": 67, - "MemberList": { - "_media-type": "application\/vnd.ibexa.api.MemberList+json", - "_href": "\/api\/ibexa\/v2\/corporate\/companies\/66\/members" - }, - "Location": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/67" - }, - "locationPath": "\/1\/65\/67\/", - "isActive": true - }, - { - "_media-type": "application\/vnd.ibexa.api.Company+json", - "id": 75, - "name": "QNTM Group AB", - "Content": { - "_media-type": "application\/vnd.ibexa.api.Content+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/75", - "_remoteId": "1d7eaec5b4371f7a35f253d15ecd5258", - "_id": 75, - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/48" - }, - "Name": "QNTM Group AB", - "TranslatedName": "QNTM Group AB", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/75\/versions" - }, - "CurrentVersion": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/75\/currentversion", - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/75\/versions\/3", - "VersionInfo": { - "id": 546, - "versionNo": 3, - "status": "PUBLISHED", - "modificationDate": "2023-03-31T15:24:49+02:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2023-03-31T15:24:49+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "QNTM Group AB" - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/75" - } - }, - "Fields": { - "field": [ - { - "id": 341, - "fieldDefinitionIdentifier": "active", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezboolean", - "fieldValue": true - }, - { - "id": 342, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "QNTM Group AB" - }, - { - "id": 343, - "fieldDefinitionIdentifier": "vat", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "123 456 789" - }, - { - "id": 344, - "fieldDefinitionIdentifier": "website", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "https:\/\/ibexa.co" - }, - { - "id": 345, - "fieldDefinitionIdentifier": "customer_group", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_customer_group", - "fieldValue": { - "customer_group_id": 1 - } - }, - { - "id": 346, - "fieldDefinitionIdentifier": "sales_rep", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 14, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/14" - } - }, - { - "id": 347, - "fieldDefinitionIdentifier": "contact", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": null - } - }, - { - "id": 348, - "fieldDefinitionIdentifier": "default_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": null - } - }, - { - "id": 349, - "fieldDefinitionIdentifier": "billing_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_address", - "fieldValue": { - "name": null, - "country": null, - "fields": [] - } - }, - { - "id": 351, - "fieldDefinitionIdentifier": "members", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 76, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/76" - } - }, - { - "id": 350, - "fieldDefinitionIdentifier": "address_book", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 77, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/77" - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/75\/versions\/3\/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "\/placeholder", - "width": null, - "height": null, - "mimeType": "image\/svg+xml" - } - } - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/10" - }, - "MainLocation": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/76" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/75\/locations" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "lastModificationDate": "2023-03-31T15:24:49+02:00", - "publishedDate": "2023-03-31T15:24:48+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 3, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/75\/objectstates" - } - }, - "billingAddress": { - "name": null, - "country": null, - "fields": [] - }, - "contactId": null, - "salesRepresentativeId": 14, - "defaultAddressId": null, - "addressBookId": 77, - "membersId": 76, - "MemberList": { - "_media-type": "application\/vnd.ibexa.api.MemberList+json", - "_href": "\/api\/ibexa\/v2\/corporate\/companies\/75\/members" - }, - "Location": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/76" - }, - "locationPath": "\/1\/65\/76\/", - "isActive": true - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/GET/CompanyList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/GET/CompanyList.xml.example deleted file mode 100644 index b18cc432cb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/GET/CompanyList.xml.example +++ /dev/null @@ -1,364 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CompanyList media-type="application/vnd.ibexa.api.CompanyList+xml"> - <Company media-type="application/vnd.ibexa.api.Company+xml"> - <id>66</id> - <name>Ibexa AS</name> - <Content media-type="application/vnd.ibexa.api.Content+xml" - href="/api/ibexa/v2/content/objects/66" remoteId="9f20fb03d0ab0a6aef9930f7e6720377" - id="66"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" - href="/api/ibexa/v2/content/types/48"/> - <Name>Ibexa AS</Name> - <TranslatedName>Ibexa AS</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" - href="/api/ibexa/v2/content/objects/66/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/66/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/66/versions/1"> - <VersionInfo> - <id>593</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-04-03T13:09:40+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" - href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-04-03T13:09:40+02:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo - media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Ibexa AS</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" - href="/api/ibexa/v2/content/objects/66"/> - </VersionInfo> - <Fields> - <field> - <id>295</id> - <fieldDefinitionIdentifier>active</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezboolean</fieldTypeIdentifier> - <fieldValue>true</fieldValue> - </field> - <field> - <id>296</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Ibexa AS</fieldValue> - </field> - <field> - <id>297</id> - <fieldDefinitionIdentifier>vat</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>123 456 789</fieldValue> - </field> - <field> - <id>298</id> - <fieldDefinitionIdentifier>website</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>https://ibexa.co</fieldValue> - </field> - <field> - <id>299</id> - <fieldDefinitionIdentifier>customer_group</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_customer_group</fieldTypeIdentifier> - <fieldValue> - <value key="customer_group_id">1</value> - </fieldValue> - </field> - <field> - <id>300</id> - <fieldDefinitionIdentifier>sales_rep</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">14</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/14</value> - </fieldValue> - </field> - <field> - <id>301</id> - <fieldDefinitionIdentifier>contact</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">74</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/74</value> - </fieldValue> - </field> - <field> - <id>302</id> - <fieldDefinitionIdentifier>default_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">69</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/69</value> - </fieldValue> - </field> - <field> - <id>303</id> - <fieldDefinitionIdentifier>billing_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_address</fieldTypeIdentifier> - <fieldValue> - <value key="name">HQ</value> - <value key="country">PL</value> - <value key="fields"> - <value key="region">Silesia</value> - <value key="locality">Katowice</value> - <value key="street">Gliwicka 6/5</value> - <value key="postal_code">40-079</value> - <value key="email">company@email.invalid</value> - <value key="phone_number">+48 000 000 000</value> - </value> - </fieldValue> - </field> - <field> - <id>305</id> - <fieldDefinitionIdentifier>members</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">67</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/67</value> - </fieldValue> - </field> - <field> - <id>304</id> - <fieldDefinitionIdentifier>address_book</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">68</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/68</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" - href="/api/ibexa/v2/content/objects/66/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" - href="/api/ibexa/v2/content/sections/10"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/67"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" - href="/api/ibexa/v2/content/objects/66/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2023-04-03T13:09:40+02:00</lastModificationDate> - <publishedDate>2023-03-31T14:33:36+02:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" - href="/api/ibexa/v2/content/objects/66/objectstates"/> - </Content> - <billingAddress>HQ, Poland</billingAddress> - <contactId>74</contactId> - <salesRepresentativeId>14</salesRepresentativeId> - <defaultAddressId>69</defaultAddressId> - <addressBookId>68</addressBookId> - <membersId>67</membersId> - <MemberList media-type="application/vnd.ibexa.api.MemberList+xml" - href="/api/ibexa/v2/corporate/companies/66/members"/> - <Location media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/67"/> - <locationPath>/1/65/67/</locationPath> - <isActive>1</isActive> - </Company> - <Company media-type="application/vnd.ibexa.api.Company+xml"> - <id>75</id> - <name>QNTM Group AB</name> - <Content media-type="application/vnd.ibexa.api.Content+xml" - href="/api/ibexa/v2/content/objects/75" remoteId="1d7eaec5b4371f7a35f253d15ecd5258" - id="75"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" - href="/api/ibexa/v2/content/types/48"/> - <Name>QNTM Group AB</Name> - <TranslatedName>QNTM Group AB</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" - href="/api/ibexa/v2/content/objects/75/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/75/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/75/versions/3"> - <VersionInfo> - <id>546</id> - <versionNo>3</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-03-31T15:24:49+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" - href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-03-31T15:24:49+02:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo - media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">QNTM Group AB</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" - href="/api/ibexa/v2/content/objects/75"/> - </VersionInfo> - <Fields> - <field> - <id>341</id> - <fieldDefinitionIdentifier>active</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezboolean</fieldTypeIdentifier> - <fieldValue>true</fieldValue> - </field> - <field> - <id>342</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>QNTM Group AB</fieldValue> - </field> - <field> - <id>343</id> - <fieldDefinitionIdentifier>vat</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>123 456 789</fieldValue> - </field> - <field> - <id>344</id> - <fieldDefinitionIdentifier>website</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>https://ibexa.co</fieldValue> - </field> - <field> - <id>345</id> - <fieldDefinitionIdentifier>customer_group</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_customer_group</fieldTypeIdentifier> - <fieldValue> - <value key="customer_group_id">1</value> - </fieldValue> - </field> - <field> - <id>346</id> - <fieldDefinitionIdentifier>sales_rep</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">14</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/14</value> - </fieldValue> - </field> - <field> - <id>347</id> - <fieldDefinitionIdentifier>contact</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId"/> - </fieldValue> - </field> - <field> - <id>348</id> - <fieldDefinitionIdentifier>default_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId"/> - </fieldValue> - </field> - <field> - <id>349</id> - <fieldDefinitionIdentifier>billing_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_address</fieldTypeIdentifier> - <fieldValue> - <value key="name"/> - <value key="country"/> - <value key="fields"/> - </fieldValue> - </field> - <field> - <id>351</id> - <fieldDefinitionIdentifier>members</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">76</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/76</value> - </fieldValue> - </field> - <field> - <id>350</id> - <fieldDefinitionIdentifier>address_book</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">77</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/77</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" - href="/api/ibexa/v2/content/objects/75/versions/3/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" - href="/api/ibexa/v2/content/sections/10"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/76"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" - href="/api/ibexa/v2/content/objects/75/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2023-03-31T15:24:49+02:00</lastModificationDate> - <publishedDate>2023-03-31T15:24:48+02:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>3</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" - href="/api/ibexa/v2/content/objects/75/objectstates"/> - </Content> - <billingAddress></billingAddress> - <contactId></contactId> - <salesRepresentativeId>14</salesRepresentativeId> - <defaultAddressId></defaultAddressId> - <addressBookId>77</addressBookId> - <membersId>76</membersId> - <MemberList media-type="application/vnd.ibexa.api.MemberList+xml" - href="/api/ibexa/v2/corporate/companies/75/members"/> - <Location media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/76"/> - <locationPath>/1/65/76/</locationPath> - <isActive>1</isActive> - </Company> -</CompanyList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/POST/CompanyCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/POST/CompanyCreate.json.example deleted file mode 100644 index 1a90339828..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/POST/CompanyCreate.json.example +++ /dev/null @@ -1,51 +0,0 @@ -{ - "CompanyCreate": { - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "active", - "fieldValue": true - }, - { - "fieldDefinitionIdentifier": "name", - "fieldValue": "Ibexa Sp. z o. o." - }, - { - "fieldDefinitionIdentifier": "vat", - "fieldValue": "123 456 789" - }, - { - "fieldDefinitionIdentifier": "website", - "fieldValue": "https://ibexa.co" - }, - { - "fieldDefinitionIdentifier": "customer_group", - "fieldValue": { - "customer_group_id": 1 - } - }, - { - "fieldDefinitionIdentifier": "sales_rep", - "fieldValue": { - "destinationContentId": 14 - } - }, - { - "fieldDefinitionIdentifier": "billing_address", - "fieldValue": { - "name": "HQ", - "country": "PL", - "fields": { - "region": "Silesia", - "locality": "Katowice", - "street": "Gliwicka 6/5", - "postal_code": "40-079", - "email": "company@email.invalid", - "phone_number": "+48 000 000 000" - } - } - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/POST/CompanyCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/POST/CompanyCreate.xml.example deleted file mode 100644 index 071f11144c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/POST/CompanyCreate.xml.example +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CompanyCreate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <User/> - <fields> - <field> - <fieldDefinitionIdentifier>active</fieldDefinitionIdentifier> - <fieldValue>true</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <fieldValue>Ibexa Sp. z o. o.</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>vat</fieldDefinitionIdentifier> - <fieldValue>123 456 789</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>website</fieldDefinitionIdentifier> - <fieldValue>https://ibexa.co</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>customer_group</fieldDefinitionIdentifier> - <fieldValue> - <value key="customer_group_id">1</value> - </fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>sales_rep</fieldDefinitionIdentifier> - <fieldValue> - <value key="destinationContentId">14</value> - </fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>billing_address</fieldDefinitionIdentifier> - <fieldValue> - <value key="name">HQ</value> - <value key="country">PL</value> - <value key="fields"> - <value key="region">Silesia</value> - <value key="locality">Katowice</value> - <value key="street">Gliwicka 6/5</value> - <value key="postal_code">40-079</value> - <value key="email">company@email.invalid</value> - <value key="phone_number">+48 000 000 000</value> - </value> - </fieldValue> - </field> - </fields> -</CompanyCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/GET/Company.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/GET/Company.json.example deleted file mode 100644 index bc2bdc2ea3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/GET/Company.json.example +++ /dev/null @@ -1,239 +0,0 @@ -{ - "Company": { - "_media-type": "application\/vnd.ibexa.api.Company+json", - "id": 66, - "name": "Ibexa AS", - "Content": { - "_media-type": "application\/vnd.ibexa.api.Content+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66", - "_remoteId": "9f20fb03d0ab0a6aef9930f7e6720377", - "_id": 66, - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/48" - }, - "Name": "Ibexa AS", - "TranslatedName": "Ibexa AS", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/versions" - }, - "CurrentVersion": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/currentversion", - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/versions\/1", - "VersionInfo": { - "id": 593, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2023-04-03T13:09:40+02:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2023-04-03T13:09:40+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Ibexa AS" - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66" - } - }, - "Fields": { - "field": [ - { - "id": 295, - "fieldDefinitionIdentifier": "active", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezboolean", - "fieldValue": true - }, - { - "id": 296, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Ibexa AS" - }, - { - "id": 297, - "fieldDefinitionIdentifier": "vat", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "123 456 789" - }, - { - "id": 298, - "fieldDefinitionIdentifier": "website", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "https:\/\/ibexa.co" - }, - { - "id": 299, - "fieldDefinitionIdentifier": "customer_group", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_customer_group", - "fieldValue": { - "customer_group_id": 1 - } - }, - { - "id": 300, - "fieldDefinitionIdentifier": "sales_rep", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 14, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/14" - } - }, - { - "id": 301, - "fieldDefinitionIdentifier": "contact", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 74, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/74" - } - }, - { - "id": 302, - "fieldDefinitionIdentifier": "default_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 69, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/69" - } - }, - { - "id": 303, - "fieldDefinitionIdentifier": "billing_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_address", - "fieldValue": { - "name": "Headquarters", - "country": "NO", - "fields": { - "region": "Company HQ location region", - "locality": "Company HQ location city", - "street": "Company HQ location street and building", - "postal_code": "00000", - "email": "company@email.invalid", - "phone_number": "+47 000 000 000" - } - } - }, - { - "id": 305, - "fieldDefinitionIdentifier": "members", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 67, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/67" - } - }, - { - "id": 304, - "fieldDefinitionIdentifier": "address_book", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 68, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/68" - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/versions\/1\/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "\/placeholder", - "width": null, - "height": null, - "mimeType": "image\/svg+xml" - } - } - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/10" - }, - "MainLocation": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/67" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/locations" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "lastModificationDate": "2023-04-03T13:09:40+02:00", - "publishedDate": "2023-03-31T14:33:36+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/66\/objectstates" - } - }, - "billingAddress": { - "name": "Headquarters", - "country": "NO", - "fields": { - "region": "Company HQ location region", - "locality": "Company HQ location city", - "street": "Company HQ location street and building", - "postal_code": "00000", - "email": "company@email.invalid", - "phone_number": "+47 000 000 000" - } - }, - "contactId": 74, - "salesRepresentativeId": 80, - "defaultAddressId": 69, - "addressBookId": 68, - "membersId": 67, - "MemberList": { - "_media-type": "application\/vnd.ibexa.api.MemberList+json", - "_href": "\/api\/ibexa\/v2\/corporate\/companies\/66\/members" - }, - "Location": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/67" - }, - "locationPath": "\/1\/65\/67\/", - "isActive": true - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/GET/Company.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/GET/Company.xml.example deleted file mode 100644 index 7263a378a7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/GET/Company.xml.example +++ /dev/null @@ -1,185 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Company media-type="application/vnd.ibexa.api.Company+xml"> - <id>66</id> - <name>Ibexa AS</name> - <Content media-type="application/vnd.ibexa.api.Content+xml" - href="/api/ibexa/v2/content/objects/66" remoteId="9f20fb03d0ab0a6aef9930f7e6720377" - id="66"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" - href="/api/ibexa/v2/content/types/48"/> - <Name>Ibexa AS</Name> - <TranslatedName>Ibexa AS</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" - href="/api/ibexa/v2/content/objects/66/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/66/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/66/versions/1"> - <VersionInfo> - <id>593</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-04-03T13:09:40+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" - href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-04-03T13:09:40+02:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Ibexa AS</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" - href="/api/ibexa/v2/content/objects/66"/> - </VersionInfo> - <Fields> - <field> - <id>295</id> - <fieldDefinitionIdentifier>active</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezboolean</fieldTypeIdentifier> - <fieldValue>true</fieldValue> - </field> - <field> - <id>296</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Ibexa AS</fieldValue> - </field> - <field> - <id>297</id> - <fieldDefinitionIdentifier>vat</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>123 456 789</fieldValue> - </field> - <field> - <id>298</id> - <fieldDefinitionIdentifier>website</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>https://ibexa.co</fieldValue> - </field> - <field> - <id>299</id> - <fieldDefinitionIdentifier>customer_group</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_customer_group</fieldTypeIdentifier> - <fieldValue> - <value key="customer_group_id">1</value> - </fieldValue> - </field> - <field> - <id>300</id> - <fieldDefinitionIdentifier>sales_rep</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">14</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/14</value> - </fieldValue> - </field> - <field> - <id>301</id> - <fieldDefinitionIdentifier>contact</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">74</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/74</value> - </fieldValue> - </field> - <field> - <id>302</id> - <fieldDefinitionIdentifier>default_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">69</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/69</value> - </fieldValue> - </field> - <field> - <id>303</id> - <fieldDefinitionIdentifier>billing_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_address</fieldTypeIdentifier> - <fieldValue> - <value key="name">HQ</value> - <value key="country">PL</value> - <value key="fields"> - <value key="region">Silesia</value> - <value key="locality">Katowice</value> - <value key="street">Gliwicka 6/5</value> - <value key="postal_code">40-079</value> - <value key="email">company@email.invalid</value> - <value key="phone_number">+48 000 000 000</value> - </value> - </fieldValue> - </field> - <field> - <id>305</id> - <fieldDefinitionIdentifier>members</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">67</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/67</value> - </fieldValue> - </field> - <field> - <id>304</id> - <fieldDefinitionIdentifier>address_book</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">68</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/68</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" - href="/api/ibexa/v2/content/objects/66/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" - href="/api/ibexa/v2/content/sections/10"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/67"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" - href="/api/ibexa/v2/content/objects/66/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2023-04-03T13:09:40+02:00</lastModificationDate> - <publishedDate>2023-03-31T14:33:36+02:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>1</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" - href="/api/ibexa/v2/content/objects/66/objectstates"/> - </Content> - <billingAddress>HQ, Poland</billingAddress> - <contactId>74</contactId> - <salesRepresentativeId>80</salesRepresentativeId> - <defaultAddressId>69</defaultAddressId> - <addressBookId>68</addressBookId> - <membersId>67</membersId> - <MemberList media-type="application/vnd.ibexa.api.MemberList+xml" - href="/api/ibexa/v2/corporate/companies/66/members"/> - <Location media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/67"/> - <locationPath>/1/65/67/</locationPath> - <isActive>1</isActive> -</Company> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/PATCH/CompanyUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/PATCH/CompanyUpdate.json.example deleted file mode 100644 index 1ce88d83f7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/PATCH/CompanyUpdate.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "CompanyUpdate": { - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "contact", - "fieldValue": { - "destinationContentId": 144 - } - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/PATCH/CompanyUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/PATCH/CompanyUpdate.xml.example deleted file mode 100644 index 17179129e4..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/PATCH/CompanyUpdate.xml.example +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CompanyUpdate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <fields> - <field> - <fieldDefinitionIdentifier>contact</fieldDefinitionIdentifier> - <fieldValue> - <value key="destinationContentId">144</value> - </fieldValue> - </field> - </fields> -</CompanyUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/GET/MemberList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/GET/MemberList.json.example deleted file mode 100644 index 5b54dbe003..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/GET/MemberList.json.example +++ /dev/null @@ -1,400 +0,0 @@ -{ - "MemberList": { - "_media-type": "application\/vnd.ibexa.api.MemberList+json", - "_href": "\/api\/ibexa\/v2\/corporate\/companies\/139\/members", - "members": [ - { - "_media-type": "application\/vnd.ibexa.api.Member+json", - "_href": "\/api\/ibexa\/v2\/corporate\/companies\/139\/members\/144", - "id": 144, - "name": "Jay Kowalski", - "Company": { - "_media-type": "application\/vnd.ibexa.api.Company+json", - "id": 139, - "name": "Ibexa Sp. z o. o.", - "Content": { - "_media-type": "application\/vnd.ibexa.api.Content+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139", - "_remoteId": "b16d06d4c5ba7c37b26fa167b551dfc2", - "_id": 139, - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/48" - }, - "Name": "Ibexa Sp. z o. o.", - "TranslatedName": "Ibexa Sp. z o. o.", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/versions" - }, - "CurrentVersion": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/currentversion", - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/versions\/6", - "VersionInfo": { - "id": 677, - "versionNo": 6, - "status": "PUBLISHED", - "modificationDate": "2023-04-28T16:10:13+02:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2023-04-28T16:10:13+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Ibexa Sp. z o. o." - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139" - } - }, - "Fields": { - "field": [ - { - "id": 673, - "fieldDefinitionIdentifier": "active", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezboolean", - "fieldValue": true - }, - { - "id": 674, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Ibexa Sp. z o. o." - }, - { - "id": 675, - "fieldDefinitionIdentifier": "vat", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "123 456 789" - }, - { - "id": 676, - "fieldDefinitionIdentifier": "website", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "https:\/\/ibexa.co" - }, - { - "id": 677, - "fieldDefinitionIdentifier": "customer_group", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_customer_group", - "fieldValue": { - "customer_group_id": 1 - } - }, - { - "id": 678, - "fieldDefinitionIdentifier": "sales_rep", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 14, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/14" - } - }, - { - "id": 679, - "fieldDefinitionIdentifier": "contact", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 144, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/144" - } - }, - { - "id": 680, - "fieldDefinitionIdentifier": "default_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 142, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/142" - } - }, - { - "id": 681, - "fieldDefinitionIdentifier": "billing_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_address", - "fieldValue": { - "name": "HQ", - "country": "PL", - "fields": { - "region": "Silesia", - "locality": "Katowice", - "street": "Gliwicka 6\/5", - "postal_code": "40-079", - "email": "company@email.invalid", - "phone_number": "+48 000 000 000" - } - } - }, - { - "id": 683, - "fieldDefinitionIdentifier": "members", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 140, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/140" - } - }, - { - "id": 682, - "fieldDefinitionIdentifier": "address_book", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 141, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/141" - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/versions\/6\/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "\/placeholder", - "width": null, - "height": null, - "mimeType": "image\/svg+xml" - } - } - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/10" - }, - "MainLocation": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/140" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/locations" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "lastModificationDate": "2023-04-28T16:10:13+02:00", - "publishedDate": "2023-04-28T15:44:55+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 6, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/objectstates" - } - }, - "billingAddress": { - "name": "HQ", - "country": "PL", - "fields": { - "region": "Silesia", - "locality": "Katowice", - "street": "Gliwicka 6\/5", - "postal_code": "40-079", - "email": "company@email.invalid", - "phone_number": "+48 000 000 000" - } - }, - "contactId": 144, - "salesRepresentativeId": 14, - "defaultAddressId": 142, - "addressBookId": 141, - "membersId": 140, - "MemberList": { - "_media-type": "application\/vnd.ibexa.api.MemberList+json", - "_href": "\/api\/ibexa\/v2\/corporate\/companies\/139\/members" - }, - "Location": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/140" - }, - "locationPath": "\/1\/65\/140\/", - "isActive": true - }, - "User": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/144", - "_id": 144, - "_remoteId": "1b3938c16adfa29996f3afff0b4a0032", - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/47" - }, - "name": "Jay Kowalski", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144\/versions" - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/10" - }, - "MainLocation": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/140\/141\/145" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144\/locations" - }, - "Groups": { - "_media-type": "application\/vnd.ibexa.api.UserGroupRefList+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/144\/groups" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "publishDate": "2023-04-28T16:10:03+02:00", - "lastModificationDate": "2023-04-28T16:17:07+02:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144\/versions\/6", - "VersionInfo": { - "id": 683, - "versionNo": 6, - "status": "PUBLISHED", - "modificationDate": "2023-04-28T16:17:07+02:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2023-04-28T16:17:06+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Jay Kowalski" - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144" - } - }, - "Fields": { - "field": [ - { - "id": 698, - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Jay" - }, - { - "id": 699, - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Kowalski" - }, - { - "id": 700, - "fieldDefinitionIdentifier": "phone_number", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "+48 123 123 456" - }, - { - "id": 701, - "fieldDefinitionIdentifier": "user", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezuser", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 144, - "login": "jay.kowalski", - "email": "jay.kowalski@email.invalid", - "passwordUpdatedAt": 1682691427, - "enabled": false, - "maxLogin": 5, - "plainPassword": null - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144\/versions\/6\/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "\/user\/default_profile_image\/initials.svg?initials=JK#profile_image", - "width": null, - "height": null, - "mimeType": "image\/svg+xml" - } - }, - "login": "jay.kowalski", - "email": "jay.kowalski@email.invalid", - "enabled": false, - "UserGroups": { - "_media-type": "application\/vnd.ibexa.api.UserGroupList+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/144\/groups" - }, - "Roles": { - "_media-type": "application\/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/144\/roles" - } - }, - "Role": { - "_media-type": "application\/vnd.ibexa.api.Role+json", - "_href": "\/api\/ibexa\/v2\/user\/roles\/15", - "identifier": "Company Buyer", - "Policies": { - "_media-type": "application\/vnd.ibexa.api.PolicyList+json", - "_href": "\/api\/ibexa\/v2\/user\/roles\/15\/policies" - } - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/GET/MemberList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/GET/MemberList.xml.example deleted file mode 100644 index 907f8526dd..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/GET/MemberList.xml.example +++ /dev/null @@ -1,266 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<MemberList media-type="application/vnd.ibexa.api.MemberList+xml" href="/api/ibexa/v2/corporate/companies/139/members"> - <Member media-type="application/vnd.ibexa.api.Member+xml" href="/api/ibexa/v2/corporate/companies/139/members/144"> - <id>144</id> - <name>Jay Kowalski</name> - <Company media-type="application/vnd.ibexa.api.Company+xml"> - <id>139</id> - <name>Ibexa Sp. z o. o.</name> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/139" remoteId="b16d06d4c5ba7c37b26fa167b551dfc2" id="139"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/48"/> - <Name>Ibexa Sp. z o. o.</Name> - <TranslatedName>Ibexa Sp. z o. o.</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/139/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/139/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/139/versions/6"> - <VersionInfo> - <id>677</id> - <versionNo>6</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-04-28T16:10:13+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-04-28T16:10:13+02:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Ibexa Sp. z o. o.</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/139"/> - </VersionInfo> - <Fields> - <field> - <id>673</id> - <fieldDefinitionIdentifier>active</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezboolean</fieldTypeIdentifier> - <fieldValue>true</fieldValue> - </field> - <field> - <id>674</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Ibexa Sp. z o. o.</fieldValue> - </field> - <field> - <id>675</id> - <fieldDefinitionIdentifier>vat</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>123 456 789</fieldValue> - </field> - <field> - <id>676</id> - <fieldDefinitionIdentifier>website</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>https://ibexa.co</fieldValue> - </field> - <field> - <id>677</id> - <fieldDefinitionIdentifier>customer_group</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_customer_group</fieldTypeIdentifier> - <fieldValue> - <value key="customer_group_id">1</value> - </fieldValue> - </field> - <field> - <id>678</id> - <fieldDefinitionIdentifier>sales_rep</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">14</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/14</value> - </fieldValue> - </field> - <field> - <id>679</id> - <fieldDefinitionIdentifier>contact</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">144</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/144</value> - </fieldValue> - </field> - <field> - <id>680</id> - <fieldDefinitionIdentifier>default_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">142</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/142</value> - </fieldValue> - </field> - <field> - <id>681</id> - <fieldDefinitionIdentifier>billing_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_address</fieldTypeIdentifier> - <fieldValue> - <value key="name">HQ</value> - <value key="country">PL</value> - <value key="fields"> - <value key="region">Silesia</value> - <value key="locality">Katowice</value> - <value key="street">Gliwicka 6/5</value> - <value key="postal_code">40-079</value> - <value key="email">company@email.invalid</value> - <value key="phone_number">+48 000 000 000</value> - </value> - </fieldValue> - </field> - <field> - <id>683</id> - <fieldDefinitionIdentifier>members</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">140</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/140</value> - </fieldValue> - </field> - <field> - <id>682</id> - <fieldDefinitionIdentifier>address_book</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">141</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/141</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/139/versions/6/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/10"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/65/140"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/139/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2023-04-28T16:10:13+02:00</lastModificationDate> - <publishedDate>2023-04-28T15:44:55+02:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>6</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/139/objectstates"/> - </Content> - <billingAddress>HQ, Poland</billingAddress> - <contactId>144</contactId> - <salesRepresentativeId>14</salesRepresentativeId> - <defaultAddressId>142</defaultAddressId> - <addressBookId>141</addressBookId> - <membersId>140</membersId> - <MemberList media-type="application/vnd.ibexa.api.MemberList+xml" href="/api/ibexa/v2/corporate/companies/139/members"/> - <Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/65/140"/> - <locationPath>/1/65/140/</locationPath> - <isActive>1</isActive> - </Company> - <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/144" id="144" remoteId="1b3938c16adfa29996f3afff0b4a0032"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/47"/> - <name>Jay Kowalski</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/144/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/10"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/65/140/141/145"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/144/locations"/> - <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/144/groups"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <publishDate>2023-04-28T16:10:03+02:00</publishDate> - <lastModificationDate>2023-04-28T16:17:07+02:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/144/versions/6"> - <VersionInfo> - <id>683</id> - <versionNo>6</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-04-28T16:17:07+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-04-28T16:17:06+02:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Jay Kowalski</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/144"/> - </VersionInfo> - <Fields> - <field> - <id>698</id> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Jay</fieldValue> - </field> - <field> - <id>699</id> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Kowalski</fieldValue> - </field> - <field> - <id>700</id> - <fieldDefinitionIdentifier>phone_number</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>+48 123 123 456</fieldValue> - </field> - <field> - <id>701</id> - <fieldDefinitionIdentifier>user</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezuser</fieldTypeIdentifier> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">144</value> - <value key="login">jay.kowalski</value> - <value key="email">jay.kowalski@email.invalid</value> - <value key="passwordUpdatedAt">1682691427</value> - <value key="enabled">false</value> - <value key="maxLogin">5</value> - <value key="plainPassword"/> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/144/versions/6/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/user/default_profile_image/initials.svg?initials=JK#profile_image</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <login>jay.kowalski</login> - <email>jay.kowalski@email.invalid</email> - <enabled>false</enabled> - <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/144/groups"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/144/roles"/> - </User> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/15"> - <identifier>Company Buyer</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/15/policies"/> - </Role> - </Member> -</MemberList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/POST/MemberCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/POST/MemberCreate.json.example deleted file mode 100644 index 449057deb1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/POST/MemberCreate.json.example +++ /dev/null @@ -1,27 +0,0 @@ -{ - "MemberCreate": { - "login": "jay.kowalski", - "email": "jay.kowalski@email.invalid", - "password": "Ibexa123#", - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/12" - }, - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "first_name", - "fieldValue": "Jay" - }, - { - "fieldDefinitionIdentifier": "last_name", - "fieldValue": "Kowalski" - }, - { - "fieldDefinitionIdentifier": "phone_number", - "fieldValue": "+48 123 123 456" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/POST/MemberCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/POST/MemberCreate.xml.example deleted file mode 100644 index 6b614471e1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/POST/MemberCreate.xml.example +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<MemberCreate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <login>jay.kowalski</login> - <email>jay.kowalski@email.invalid</email> - <password>Ibexa123#</password> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/14"/> - <fields> - <field> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <fieldValue>Jay</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <fieldValue>Kowalski</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>phone_number</fieldDefinitionIdentifier> - <fieldValue>+48 123 123 456</fieldValue> - </field> - </fields> -</MemberCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/GET/Member.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/GET/Member.json.example deleted file mode 100644 index 49a2cc23a7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/GET/Member.json.example +++ /dev/null @@ -1,394 +0,0 @@ -{ - "Member": { - "_media-type": "application\/vnd.ibexa.api.Member+json", - "_href": "\/api\/ibexa\/v2\/corporate\/companies\/139\/members\/144", - "id": 144, - "name": "Jay Kowalski", - "Company": { - "_media-type": "application\/vnd.ibexa.api.Company+json", - "id": 139, - "name": "Ibexa Sp. z o. o.", - "Content": { - "_media-type": "application\/vnd.ibexa.api.Content+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139", - "_remoteId": "b16d06d4c5ba7c37b26fa167b551dfc2", - "_id": 139, - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/48" - }, - "Name": "Ibexa Sp. z o. o.", - "TranslatedName": "Ibexa Sp. z o. o.", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/versions" - }, - "CurrentVersion": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/currentversion", - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/versions\/6", - "VersionInfo": { - "id": 677, - "versionNo": 6, - "status": "PUBLISHED", - "modificationDate": "2023-04-28T16:10:13+02:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2023-04-28T16:10:13+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Ibexa Sp. z o. o." - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139" - } - }, - "Fields": { - "field": [ - { - "id": 673, - "fieldDefinitionIdentifier": "active", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezboolean", - "fieldValue": true - }, - { - "id": 674, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Ibexa Sp. z o. o." - }, - { - "id": 675, - "fieldDefinitionIdentifier": "vat", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "123 456 789" - }, - { - "id": 676, - "fieldDefinitionIdentifier": "website", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "https:\/\/ibexa.co" - }, - { - "id": 677, - "fieldDefinitionIdentifier": "customer_group", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_customer_group", - "fieldValue": { - "customer_group_id": 1 - } - }, - { - "id": 678, - "fieldDefinitionIdentifier": "sales_rep", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 14, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/14" - } - }, - { - "id": 679, - "fieldDefinitionIdentifier": "contact", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 144, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/144" - } - }, - { - "id": 680, - "fieldDefinitionIdentifier": "default_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 142, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/142" - } - }, - { - "id": 681, - "fieldDefinitionIdentifier": "billing_address", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_address", - "fieldValue": { - "name": "HQ", - "country": "PL", - "fields": { - "region": "Silesia", - "locality": "Katowice", - "street": "Gliwicka 6\/5", - "postal_code": "40-079", - "email": "company@email.invalid", - "phone_number": "+48 000 000 000" - } - } - }, - { - "id": 683, - "fieldDefinitionIdentifier": "members", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 140, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/140" - } - }, - { - "id": 682, - "fieldDefinitionIdentifier": "address_book", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezobjectrelation", - "fieldValue": { - "destinationContentId": 141, - "destinationContentHref": "\/api\/ibexa\/v2\/content\/objects\/141" - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/versions\/6\/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "\/placeholder", - "width": null, - "height": null, - "mimeType": "image\/svg+xml" - } - } - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/10" - }, - "MainLocation": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/140" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/locations" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "lastModificationDate": "2023-04-28T16:10:13+02:00", - "publishedDate": "2023-04-28T15:44:55+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 6, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application\/vnd.ibexa.api.ContentObjectStates+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/139\/objectstates" - } - }, - "billingAddress": { - "name": "HQ", - "country": "PL", - "fields": { - "region": "Silesia", - "locality": "Katowice", - "street": "Gliwicka 6\/5", - "postal_code": "40-079", - "email": "company@email.invalid", - "phone_number": "+48 000 000 000" - } - }, - "contactId": 144, - "salesRepresentativeId": 14, - "defaultAddressId": 142, - "addressBookId": 141, - "membersId": 140, - "MemberList": { - "_media-type": "application\/vnd.ibexa.api.MemberList+json", - "_href": "\/api\/ibexa\/v2\/corporate\/companies\/139\/members" - }, - "Location": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/140" - }, - "locationPath": "\/1\/65\/140\/", - "isActive": true - }, - "User": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/144", - "_id": 144, - "_remoteId": "1b3938c16adfa29996f3afff0b4a0032", - "ContentType": { - "_media-type": "application\/vnd.ibexa.api.ContentType+json", - "_href": "\/api\/ibexa\/v2\/content\/types\/47" - }, - "name": "Jay Kowalski", - "Versions": { - "_media-type": "application\/vnd.ibexa.api.VersionList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144\/versions" - }, - "Section": { - "_media-type": "application\/vnd.ibexa.api.Section+json", - "_href": "\/api\/ibexa\/v2\/content\/sections\/10" - }, - "MainLocation": { - "_media-type": "application\/vnd.ibexa.api.Location+json", - "_href": "\/api\/ibexa\/v2\/content\/locations\/1\/65\/140\/141\/145" - }, - "Locations": { - "_media-type": "application\/vnd.ibexa.api.LocationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144\/locations" - }, - "Groups": { - "_media-type": "application\/vnd.ibexa.api.UserGroupRefList+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/144\/groups" - }, - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "publishDate": "2023-04-28T16:10:03+02:00", - "lastModificationDate": "2023-04-28T16:17:07+02:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application\/vnd.ibexa.api.Version+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144\/versions\/6", - "VersionInfo": { - "id": 683, - "versionNo": 6, - "status": "PUBLISHED", - "modificationDate": "2023-04-28T16:17:07+02:00", - "Creator": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "creationDate": "2023-04-28T16:17:06+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application\/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Jay Kowalski" - } - ] - }, - "Content": { - "_media-type": "application\/vnd.ibexa.api.ContentInfo+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144" - } - }, - "Fields": { - "field": [ - { - "id": 698, - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Jay" - }, - { - "id": 699, - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Kowalski" - }, - { - "id": 700, - "fieldDefinitionIdentifier": "phone_number", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "+48 123 123 456" - }, - { - "id": 701, - "fieldDefinitionIdentifier": "user", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezuser", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 144, - "login": "jay.kowalski", - "email": "jay.kowalski@email.invalid", - "passwordUpdatedAt": 1682691427, - "enabled": false, - "maxLogin": 5, - "plainPassword": null - } - } - ] - }, - "Relations": { - "_media-type": "application\/vnd.ibexa.api.RelationList+json", - "_href": "\/api\/ibexa\/v2\/content\/objects\/144\/versions\/6\/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application\/vnd.ibexa.api.Thumbnail+json", - "resource": "\/user\/default_profile_image\/initials.svg?initials=JK#profile_image", - "width": null, - "height": null, - "mimeType": "image\/svg+xml" - } - }, - "login": "jay.kowalski", - "email": "jay.kowalski@email.invalid", - "enabled": false, - "UserGroups": { - "_media-type": "application\/vnd.ibexa.api.UserGroupList+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/144\/groups" - }, - "Roles": { - "_media-type": "application\/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/144\/roles" - } - }, - "Role": { - "_media-type": "application\/vnd.ibexa.api.Role+json", - "_href": "\/api\/ibexa\/v2\/user\/roles\/15", - "identifier": "Company Buyer", - "Policies": { - "_media-type": "application\/vnd.ibexa.api.PolicyList+json", - "_href": "\/api\/ibexa\/v2\/user\/roles\/15\/policies" - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/GET/Member.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/GET/Member.xml.example deleted file mode 100644 index ae6be36d1c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/GET/Member.xml.example +++ /dev/null @@ -1,295 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Member media-type="application/vnd.ibexa.api.Member+xml" - href="/api/ibexa/v2/corporate/companies/139/members/144"> - <id>144</id> - <name>Jay Kowalski</name> - <Company media-type="application/vnd.ibexa.api.Company+xml"> - <id>139</id> - <name>Ibexa Sp. z o. o.</name> - <Content media-type="application/vnd.ibexa.api.Content+xml" - href="/api/ibexa/v2/content/objects/139" remoteId="b16d06d4c5ba7c37b26fa167b551dfc2" - id="139"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" - href="/api/ibexa/v2/content/types/48"/> - <Name>Ibexa Sp. z o. o.</Name> - <TranslatedName>Ibexa Sp. z o. o.</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" - href="/api/ibexa/v2/content/objects/139/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/139/currentversion"> - <Version media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/139/versions/6"> - <VersionInfo> - <id>677</id> - <versionNo>6</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-04-28T16:10:13+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" - href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-04-28T16:10:13+02:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo - media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Ibexa Sp. z o. o.</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" - href="/api/ibexa/v2/content/objects/139"/> - </VersionInfo> - <Fields> - <field> - <id>673</id> - <fieldDefinitionIdentifier>active</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezboolean</fieldTypeIdentifier> - <fieldValue>true</fieldValue> - </field> - <field> - <id>674</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Ibexa Sp. z o. o.</fieldValue> - </field> - <field> - <id>675</id> - <fieldDefinitionIdentifier>vat</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>123 456 789</fieldValue> - </field> - <field> - <id>676</id> - <fieldDefinitionIdentifier>website</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>https://ibexa.co</fieldValue> - </field> - <field> - <id>677</id> - <fieldDefinitionIdentifier>customer_group</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_customer_group</fieldTypeIdentifier> - <fieldValue> - <value key="customer_group_id">1</value> - </fieldValue> - </field> - <field> - <id>678</id> - <fieldDefinitionIdentifier>sales_rep</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">14</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/14</value> - </fieldValue> - </field> - <field> - <id>679</id> - <fieldDefinitionIdentifier>contact</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">144</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/144</value> - </fieldValue> - </field> - <field> - <id>680</id> - <fieldDefinitionIdentifier>default_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">142</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/142</value> - </fieldValue> - </field> - <field> - <id>681</id> - <fieldDefinitionIdentifier>billing_address</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ibexa_address</fieldTypeIdentifier> - <fieldValue> - <value key="name">HQ</value> - <value key="country">PL</value> - <value key="fields"> - <value key="region">Silesia</value> - <value key="locality">Katowice</value> - <value key="street">Gliwicka 6/5</value> - <value key="postal_code">40-079</value> - <value key="email">company@email.invalid</value> - <value key="phone_number">+48 000 000 000</value> - </value> - </fieldValue> - </field> - <field> - <id>683</id> - <fieldDefinitionIdentifier>members</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">140</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/140</value> - </fieldValue> - </field> - <field> - <id>682</id> - <fieldDefinitionIdentifier>address_book</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier> - <fieldValue> - <value key="destinationContentId">141</value> - <value key="destinationContentHref">/api/ibexa/v2/content/objects/141</value> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" - href="/api/ibexa/v2/content/objects/139/versions/6/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/placeholder</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - </CurrentVersion> - <Section media-type="application/vnd.ibexa.api.Section+xml" - href="/api/ibexa/v2/content/sections/10"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/140"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" - href="/api/ibexa/v2/content/objects/139/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2023-04-28T16:10:13+02:00</lastModificationDate> - <publishedDate>2023-04-28T15:44:55+02:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>6</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" - href="/api/ibexa/v2/content/objects/139/objectstates"/> - </Content> - <billingAddress>HQ, Poland</billingAddress> - <contactId>144</contactId> - <salesRepresentativeId>14</salesRepresentativeId> - <defaultAddressId>142</defaultAddressId> - <addressBookId>141</addressBookId> - <membersId>140</membersId> - <MemberList media-type="application/vnd.ibexa.api.MemberList+xml" - href="/api/ibexa/v2/corporate/companies/139/members"/> - <Location media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/140"/> - <locationPath>/1/65/140/</locationPath> - <isActive>1</isActive> - </Company> - <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/144" id="144" - remoteId="1b3938c16adfa29996f3afff0b4a0032"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" - href="/api/ibexa/v2/content/types/47"/> - <name>Jay Kowalski</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" - href="/api/ibexa/v2/content/objects/144/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" - href="/api/ibexa/v2/content/sections/10"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" - href="/api/ibexa/v2/content/locations/1/65/140/141/145"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" - href="/api/ibexa/v2/content/objects/144/locations"/> - <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" - href="/api/ibexa/v2/user/users/144/groups"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <publishDate>2023-04-28T16:10:03+02:00</publishDate> - <lastModificationDate>2023-04-28T16:10:03+02:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" - href="/api/ibexa/v2/content/objects/144/versions/1"> - <VersionInfo> - <id>676</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-04-28T16:10:03+02:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" - href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-04-28T16:10:03+02:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Jay Kowalski</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" - href="/api/ibexa/v2/content/objects/144"/> - </VersionInfo> - <Fields> - <field> - <id>698</id> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Jay</fieldValue> - </field> - <field> - <id>699</id> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Kowalski</fieldValue> - </field> - <field> - <id>700</id> - <fieldDefinitionIdentifier>phone_number</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>+48 123 123 456</fieldValue> - </field> - <field> - <id>701</id> - <fieldDefinitionIdentifier>user</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezuser</fieldTypeIdentifier> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">144</value> - <value key="login">jay.kowalski</value> - <value key="email">jay.kowalski@email.invalid</value> - <value key="passwordUpdatedAt">1682691003</value> - <value key="enabled">true</value> - <value key="maxLogin">0</value> - <value key="plainPassword"/> - </fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" - href="/api/ibexa/v2/content/objects/144/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/user/default_profile_image/initials.svg?initials=JK#profile_image</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <login>jay.kowalski</login> - <email>jay.kowalski@email.invalid</email> - <enabled>true</enabled> - <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" - href="/api/ibexa/v2/user/users/144/groups"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" - href="/api/ibexa/v2/user/users/144/roles"/> - </User> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/14"> - <identifier>Company Admin</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" - href="/api/ibexa/v2/user/roles/14/policies"/> - </Role> -</Member> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/PATCH/MemberUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/PATCH/MemberUpdate.json.example deleted file mode 100644 index d1fd1cf0f2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/PATCH/MemberUpdate.json.example +++ /dev/null @@ -1,29 +0,0 @@ -{ - "MemberUpdate": { - "login": "jay.kowalski", - "email": "jay.kowalski@email.invalid", - "password": "Ibexa123#", - "maxLogin": 5, - "enabled": false, - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/15" - }, - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "first_name", - "fieldValue": "Jay" - }, - { - "fieldDefinitionIdentifier": "last_name", - "fieldValue": "Kowalski" - }, - { - "fieldDefinitionIdentifier": "phone_number", - "fieldValue": "+48 123 123 456" - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/PATCH/MemberUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/PATCH/MemberUpdate.xml.example deleted file mode 100644 index 54ddc0fb73..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/companies/company_id/members/member_id/PATCH/MemberUpdate.xml.example +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<MemberUpdate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <email>jay.kowalski@updated.email</email> - <password>Publish123#</password> - <enabled>false</enabled> - <maxLogin>5</maxLogin> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/15"/> - <fields> - <field> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <fieldValue>Jay</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <fieldValue>Kowalski</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>phone_number</fieldDefinitionIdentifier> - <fieldValue>+48 123 123 456</fieldValue> - </field> - </fields> -</MemberUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/sales-representatives/GET/SalesRepresentativesList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/sales-representatives/GET/SalesRepresentativesList.json.example deleted file mode 100644 index f09bf8ff09..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/sales-representatives/GET/SalesRepresentativesList.json.example +++ /dev/null @@ -1,154 +0,0 @@ -{ - "SalesRepresentativesList": { - "_media-type": "application/vnd.ibexa.api.SalesRepresentativesList+json", - "users": [ - { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/75", - "_id": 75, - "_remoteId": "f262e2fa12ae105b78a1b654e87a0874", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/4" - }, - "name": "John Black", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/75/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/10" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/64/76" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/75/locations" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json", - "_href": "/api/ibexa/v2/user/users/75/groups" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "publishDate": "2023-06-20T07:33:17+00:00", - "lastModificationDate": "2023-06-20T07:33:17+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/75/versions/1", - "VersionInfo": { - "id": 536, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2023-06-20T07:33:17+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2023-06-20T07:33:17+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "John Black" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/75" - } - }, - "Fields": { - "field": [ - { - "id": 339, - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "John" - }, - { - "id": 340, - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Black" - }, - { - "id": 341, - "fieldDefinitionIdentifier": "user_account", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezuser", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 75, - "login": "John Black", - "email": "j.black@ibexa.co", - "passwordUpdatedAt": 1687246397, - "enabled": true, - "maxLogin": 0, - "plainPassword": null - } - }, - { - "id": 342, - "fieldDefinitionIdentifier": "signature", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "eztext", - "fieldValue": null - }, - { - "id": 343, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimage", - "fieldValue": null - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/75/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/user/default_profile_image/initials.svg?initials=JB#profile_image", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "login": "John Black", - "email": "j.black@ibexa.co", - "enabled": true, - "UserGroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/users/75/groups" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/users/75/roles" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/corporate/sales-representatives/GET/SalesRepresentativesList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/corporate/sales-representatives/GET/SalesRepresentativesList.xml.example deleted file mode 100644 index ca35205b6b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/corporate/sales-representatives/GET/SalesRepresentativesList.xml.example +++ /dev/null @@ -1,96 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SalesRepresentativesList media-type="application/vnd.ibexa.api.SalesRepresentativesList+xml"> - <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/75" id="75" remoteId="f262e2fa12ae105b78a1b654e87a0874"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> - <name>John Black</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/75/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/10"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/64/76"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/75/locations"/> - <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/75/groups"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <publishDate>2023-06-20T07:33:17+00:00</publishDate> - <lastModificationDate>2023-06-20T07:33:17+00:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/75/versions/1"> - <VersionInfo> - <id>536</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2023-06-20T07:33:17+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2023-06-20T07:33:17+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">John Black</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/75"/> - </VersionInfo> - <Fields> - <field> - <id>339</id> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>John</fieldValue> - </field> - <field> - <id>340</id> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Black</fieldValue> - </field> - <field> - <id>341</id> - <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezuser</fieldTypeIdentifier> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">75</value> - <value key="login">John Black</value> - <value key="email">j.black@ibexa.co</value> - <value key="passwordUpdatedAt">1687246397</value> - <value key="enabled">true</value> - <value key="maxLogin">0</value> - <value key="plainPassword"/> - </fieldValue> - </field> - <field> - <id>342</id> - <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>eztext</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>343</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimage</fieldTypeIdentifier> - <fieldValue/> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/75/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/user/default_profile_image/initials.svg?initials=JB#profile_image</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <login>John Black</login> - <email>j.black@ibexa.co</email> - <enabled>true</enabled> - <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/75/groups"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/75/roles"/> - </User> -</SalesRepresentativesList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/languages/GET/LanguageList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/languages/GET/LanguageList.json.example deleted file mode 100644 index e55d78560a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/languages/GET/LanguageList.json.example +++ /dev/null @@ -1,21 +0,0 @@ -{ - "LanguageList": { - "_media-type": "application/vnd.ibexa.api.LanguageList+json", - "_href": "/api/ibexa/v2/languages", - "Language": [ - { - "_media-type": "application/vnd.ibexa.api.Language+json", - "_href": "/api/ibexa/v2/languages/eng-GB", - "languageId": 2, - "languageCode": "eng-GB", - "name": "English (United Kingdom)" - }, { - "_href": "/api/ibexa/v2/languages/pol-PL", - "_media-type": "application/vnd.ibexa.api.Language+json", - "languageCode": "pol-PL", - "languageId": 4, - "name": "Polish (polski)" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/languages/GET/LanguageList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/languages/GET/LanguageList.xml.example deleted file mode 100644 index f61cfa7257..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/languages/GET/LanguageList.xml.example +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<LanguageList media-type="application/vnd.ibexa.api.LanguageList+xml" href="/api/ibexa/v2/languages"> - <Language media-type="application/vnd.ibexa.api.Language+xml" href="/api/ibexa/v2/languages/eng-GB"> - <languageId>2</languageId> - <languageCode>eng-GB</languageCode> - <name>English (United Kingdom)</name> - </Language> - <Language href="/api/ibexa/v2/languages/pol-PL" media-type="application/vnd.ibexa.api.Language+xml"> - <languageId>4</languageId> - <languageCode>pol-PL</languageCode> - <name>Polish (polski)</name> - </Language> -</LanguageList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/languages/code/GET/Language.json.example b/docs/api/rest_api/rest_api_reference/input/examples/languages/code/GET/Language.json.example deleted file mode 100644 index 6c00456f2b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/languages/code/GET/Language.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Language": { - "_media-type": "application/vnd.ibexa.api.Language+json", - "_href": "/api/ibexa/v2/languages/eng-GB", - "languageId": 2, - "languageCode": "eng-GB", - "name": "English (United Kingdom)" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/languages/code/GET/Language.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/languages/code/GET/Language.xml.example deleted file mode 100644 index 43519f1cda..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/languages/code/GET/Language.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Language media-type="application/vnd.ibexa.api.Language+xml" href="/api/ibexa/v2/languages/eng-GB"> - <languageId>2</languageId> - <languageCode>eng-GB</languageCode> - <name>English (United Kingdom)</name> -</Language> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/orders/GET/Order.json.example b/docs/api/rest_api/rest_api_reference/input/examples/orders/GET/Order.json.example deleted file mode 100644 index 6ab7dd8e98..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/orders/GET/Order.json.example +++ /dev/null @@ -1,127 +0,0 @@ -{ - "Order": { - "_media-type": "application/vnd.ibexa.api.Order+json", - "id": 1, - "identifier": "02ce9f94-e36b-4acf-92f7-eb93cda6af71", - "created": { - "date": "2023-10-18 06:24:00.000000", - "timezone_type": 3, - "timezone": "UTC" - }, - "modified": { - "date": "2023-10-18 06:24:00.000000", - "timezone_type": 3, - "timezone": "UTC" - }, - "status": "pending", - "source": "local_shop", - "OrderUser": { - "_media-type": "application/vnd.ibexa.api.OrderUser+json", - "id": null, - "name": "Anonymous User", - "email": "test@test.com" - }, - "OrderCurrency": { - "_media-type": "application/vnd.ibexa.api.OrderCurrency+json", - "id": 2, - "code": "EUR" - }, - "OrderValue": { - "_media-type": "application/vnd.ibexa.api.OrderValue+json", - "vat": { - "amount": "96", - "currency": "EUR" - }, - "total_gross": { - "amount": "1512", - "currency": "EUR" - }, - "total_net": { - "amount": "1200", - "currency": "EUR" - }, - "shipping_cost": { - "amount": "216", - "currency": "EUR" - } - }, - "OrderItemsList": [ - { - "_media-type": "application/vnd.ibexa.api.OrderItem+json", - "quantity": 1, - "OrderItemValue": { - "_media-type": "application/vnd.ibexa.api.OrderItemValue+json", - "unit_price_gross": { - "amount": "1296", - "currency": "EUR" - }, - "unit_price_net": { - "amount": "1200", - "currency": "EUR" - }, - "vat_rate": "8.00", - "subtotal_price_gross": { - "amount": "1296", - "currency": "EUR" - }, - "subtotal_price_net": { - "amount": "1200", - "currency": "EUR" - } - }, - "OrderItemProduct": { - "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json", - "id": 83, - "code": "test123", - "name": "test123" - } - } - ], - "context": { - "shipping_address": { - "name": null, - "country": "PL", - "fields": { - "tax_id": "16", - "region": "Polska", - "locality": "Kraków", - "street": "Krupnicza 16", - "postal_code": "31-123", - "email": "test@test.com", - "phone_number": "123123123" - } - }, - "billing_address": { - "name": null, - "country": "PL", - "fields": { - "tax_id": "16", - "region": "Polska", - "locality": "Kraków", - "street": "Krupnicza 16", - "postal_code": "31-123", - "email": "test@test.com", - "phone_number": "123123123" - } - }, - "entries_count": 1, - "same_for_shipping": true, - "select_shipping": { - "shipping_method": { - "identifier": "test", - "name": "test" - }, - "payment_method": { - "identifier": "test", - "name": "test", - "type": "online" - } - }, - "summary": [], - "shipping_cost_incl_vat": { - "amount": "216", - "currency": "EUR" - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/orders/GET/OrderList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/orders/GET/OrderList.json.example deleted file mode 100644 index db2233af95..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/orders/GET/OrderList.json.example +++ /dev/null @@ -1,182 +0,0 @@ -{ - "OrderList": { - "_media-type": "application/vnd.ibexa.api.OrderList+json", - "count": 10, - "Order": [ - { - "_media-type": "application/vnd.ibexa.api.Order+json", - "id": 2, - "identifier": "2d9c73cd-ea10-4459-b20e-96710c8d3898", - "created": { - "date": "2023-04-18 09:06:02.000000", - "timezone_type": 3, - "timezone": "UTC" - }, - "modified": { - "date": "2023-04-18 09:06:02.000000", - "timezone_type": 3, - "timezone": "UTC" - }, - "status": "pending", - "OrderUser": { - "_media-type": "application/vnd.ibexa.api.OrderUser+json", - "id": 14, - "name": "Administrator", - "email": "aa@aa.aa" - }, - "OrderCurrency": { - "_media-type": "application/vnd.ibexa.api.OrderCurrency+json", - "id": 1, - "code": "EUR" - }, - "OrderValue": { - "_media-type": "application/vnd.ibexa.api.OrderValue+json", - "vat": { - "amount": "10", - "currency": "EUR" - }, - "total_gross": { - "amount": "10", - "currency": "EUR" - }, - "total_net": { - "amount": "10", - "currency": "EUR" - } - }, - "OrderCompany": { - "_media-type": "application/vnd.ibexa.api.OrderCompany+json", - "id": 68, - "name": "Apple" - }, - "OrderItemsList": [ - { - "_media-type": "application/vnd.ibexa.api.OrderItem+json", - "quantity": 10, - "OrderItemValue": { - "_media-type": "application/vnd.ibexa.api.OrderItemValue+json", - "unit_price_gross": { - "amount": "110", - "currency": "EUR" - }, - "unit_price_net": { - "amount": "100", - "currency": "EUR" - }, - "vat_rate": "10.00", - "subtotal_price_gross": { - "amount": "1100", - "currency": "EUR" - }, - "subtotal_price_net": { - "amount": "1000", - "currency": "EUR" - } - }, - "OrderItemProduct": { - "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json", - "id": 1, - "code": "test", - "name": "Test" - }, - "context": { - "foo": "bar", - "baz": true - } - } - ], - "context": { - "foo": "bar", - "baz": 123 - } - }, - { - "_media-type": "application/vnd.ibexa.api.Order+json", - "id": 3, - "identifier": "79b20ac4-fe23-4566-a9c2-b81966431026", - "created": { - "date": "2023-04-18 09:44:34.000000", - "timezone_type": 3, - "timezone": "UTC" - }, - "modified": { - "date": "2023-04-18 09:44:34.000000", - "timezone_type": 3, - "timezone": "UTC" - }, - "status": "pending", - "OrderUser": { - "_media-type": "application/vnd.ibexa.api.OrderUser+json", - "id": 14, - "name": "Administrator", - "email": "aa@aa.aa" - }, - "OrderCurrency": { - "_media-type": "application/vnd.ibexa.api.OrderCurrency+json", - "id": 1, - "code": "EUR" - }, - "OrderValue": { - "_media-type": "application/vnd.ibexa.api.OrderValue+json", - "vat": { - "amount": "10", - "currency": "EUR" - }, - "total_gross": { - "amount": "10", - "currency": "EUR" - }, - "total_net": { - "amount": "10", - "currency": "EUR" - } - }, - "OrderCompany": { - "_media-type": "application/vnd.ibexa.api.OrderCompany+json", - "id": 68, - "name": "Apple" - }, - "OrderItemsList": [ - { - "_media-type": "application/vnd.ibexa.api.OrderItem+json", - "quantity": 10, - "OrderItemValue": { - "_media-type": "application/vnd.ibexa.api.OrderItemValue+json", - "unit_price_gross": { - "amount": "110", - "currency": "EUR" - }, - "unit_price_net": { - "amount": "100", - "currency": "EUR" - }, - "vat_rate": "10.00", - "subtotal_price_gross": { - "amount": "1100", - "currency": "EUR" - }, - "subtotal_price_net": { - "amount": "1000", - "currency": "EUR" - } - }, - "OrderItemProduct": { - "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json", - "id": 1, - "code": "test", - "name": "Test" - }, - "context": { - "foo": "bar", - "baz": true - } - } - ], - "context": { - "foo": "bar", - "baz": 123 - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/orders/PATCH/OrderUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/orders/PATCH/OrderUpdate.json.example deleted file mode 100644 index 98d741d261..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/orders/PATCH/OrderUpdate.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "OrderUpdate": { - "status": "cancelled", - "transition": "cancel" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/Order.json.example b/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/Order.json.example deleted file mode 100644 index 29fef768b2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/Order.json.example +++ /dev/null @@ -1,89 +0,0 @@ -{ - "Order": { - "_media-type": "application/vnd.ibexa.api.Order+json", - "id": 2, - "identifier": "2d9c73cd-ea10-4459-b20e-96710c8d3898", - "created": { - "date": "2023-04-18 09:06:02.000000", - "timezone_type": 3, - "timezone": "UTC" - }, - "modified": { - "date": "2023-04-18 09:06:02.000000", - "timezone_type": 3, - "timezone": "UTC" - }, - "status": "pending", - "OrderUser": { - "_media-type": "application/vnd.ibexa.api.OrderUser+json", - "id": 14, - "name": "Administrator", - "email": "aa@aa.aa" - }, - "OrderCurrency": { - "_media-type": "application/vnd.ibexa.api.OrderCurrency+json", - "id": 1, - "code": "EUR" - }, - "OrderValue": { - "_media-type": "application/vnd.ibexa.api.OrderValue+json", - "vat": { - "amount": "10", - "currency": "EUR" - }, - "total_gross": { - "amount": "10", - "currency": "EUR" - }, - "total_net": { - "amount": "10", - "currency": "EUR" - } - }, - "OrderCompany": { - "_media-type": "application/vnd.ibexa.api.OrderCompany+json", - "id": 68, - "name": "Apple" - }, - "OrderItemsList": [ - { - "_media-type": "application/vnd.ibexa.api.OrderItem+json", - "quantity": 10, - "OrderItemValue": { - "_media-type": "application/vnd.ibexa.api.OrderItemValue+json", - "unit_price_gross": { - "amount": "110", - "currency": "EUR" - }, - "unit_price_net": { - "amount": "100", - "currency": "EUR" - }, - "vat_rate": "10.00", - "subtotal_price_gross": { - "amount": "1100", - "currency": "EUR" - }, - "subtotal_price_net": { - "amount": "1000", - "currency": "EUR" - } - }, - "OrderItemProduct": { - "_media-type": "application/vnd.ibexa.api.OrderItemProduct+json", - "id": 1, - "code": "test", - "name": "Test" - }, - "context": { - "foo": "bar", - "baz": true - } - } - ], - "context": { - "foo": "bar", - "baz": 123 - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/OrderCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/OrderCreate.json.example deleted file mode 100644 index 538c9fd76b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/OrderCreate.json.example +++ /dev/null @@ -1,57 +0,0 @@ -{ - "OrderCreate": { - "OrderUser": { - "id": 14, - "name": "Administrator", - "email": "test@ibexa.co" - }, - "OrderCurrency": { - "id": 1, - "code": "EUR" - }, - "OrderValue": { - "vat": "10", - "total_gross": "11", - "total_net": "10" - }, - "OrderCompany": { - "id": 68, - "name": "Apple" - }, - "source": "local", - "items": [ - { - "OrderItem": { - "OrderItemValue": { - "unit_price_gross": "110", - "unit_price_net": "100", - "vat_rate": "10", - "subtotal_price_gross": "1100", - "subtotal_price_net": "1000" - }, - "OrderItemProduct": { - "id": 1, - "code": "test", - "name": "Test" - }, - "quantity": 10, - "context": { - "foo": "bar", - "baz": true - } - } - } - ], - "context": { - "foo": "bar", - "baz": 123, - "shipping_cost_incl_vat": { - "type": "Money\\Money", - "data": { - "amount": "1100", - "currency_code": "EUR" - } - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/ShipmentCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/ShipmentCreate.json.example deleted file mode 100644 index e4af2e6f20..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/ShipmentCreate.json.example +++ /dev/null @@ -1,21 +0,0 @@ -{ - "ShipmentCreate": { - "identifier": "abc", - "ShippingMethod": { - "_media-type": "application/vnd.ibexa.api.ShippingMethod+json", - "_href": "/api/ibexa/v2/shipping/methods/parcel_locker" - }, - "Amount": { - "value": "1922", - "currency": "EUR" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Context": { - "key1": "value1", - "key2": "value2" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/ShipmentCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/ShipmentCreate.xml.example deleted file mode 100644 index 7b07a7d200..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/orders/POST/ShipmentCreate.xml.example +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<ShipmentCreate> - <identifier>abc</identifier> - <ShippingMethod media-type="application/vnd.ibexa.api.ShippingMethod+json" href="/api/ibexa/v2/shipping/methods/parcel_locker"/> - <Amount> - <value>1922</value> - <currency>EUR</currency> - </Amount> - <Owner media-type="application/vnd.ibexa.api.User+json" href="/api/ibexa/v2/user/users/14"/> - <Context> - <key1>value1</key1> - <key2>value2</key2> - </Context> -</ShipmentCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethod.json.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethod.json.example deleted file mode 100644 index af141387ae..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethod.json.example +++ /dev/null @@ -1,11 +0,0 @@ - -{ - "PaymentMethod": { - "_media-type": "application\/vnd.ibexa.api.PaymentMethod+json", - "identifier": "bank_transfer", - "id": 1, - "enabled": true, - "name": "Bank transfer", - "description": "Bank transfer" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethodCreateStruct.json.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethodCreateStruct.json.example deleted file mode 100644 index 1af00ba23e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethodCreateStruct.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "PaymentMethodCreateStruct": { - "identifier": "bank_transfer", - "type": "offline", - "names": { - "eng-GB": "Bank Transfer" - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethodCreateStruct.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethodCreateStruct.xml.example deleted file mode 100644 index 9b40e4ad6c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/POST/PaymentMethodCreateStruct.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<PaymentMethodCreateStruct> - <identifier>bank_transfer</identifier> - <type>offline</type> - <names> - <eng-GB>Bank transfer</eng-GB> - </names> -</PaymentMethodCreateStruct> \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/id/GET/PaymentMethod.json.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/id/GET/PaymentMethod.json.example deleted file mode 100644 index c66258c047..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/id/GET/PaymentMethod.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "PaymentMethod": { - "_media-type": "application\/vnd.ibexa.api.PaymentMethod+json", - "identifier": "bank_transfer", - "id": 1, - "enabled": true, - "name": "Bank transfer", - "description": "Bank transfer" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/GET/PaymentMethod.json.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/GET/PaymentMethod.json.example deleted file mode 100644 index c66258c047..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/GET/PaymentMethod.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "PaymentMethod": { - "_media-type": "application\/vnd.ibexa.api.PaymentMethod+json", - "identifier": "bank_transfer", - "id": 1, - "enabled": true, - "name": "Bank transfer", - "description": "Bank transfer" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethod.json.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethod.json.example deleted file mode 100644 index c66258c047..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethod.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "PaymentMethod": { - "_media-type": "application\/vnd.ibexa.api.PaymentMethod+json", - "identifier": "bank_transfer", - "id": 1, - "enabled": true, - "name": "Bank transfer", - "description": "Bank transfer" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethodUpdateStruct.json.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethodUpdateStruct.json.example deleted file mode 100644 index 36ecfbcf42..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethodUpdateStruct.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "PaymentMethodUpdateStruct": { - "names": { - "eng-GB": "Bank transfer (updated)" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethodUpdateStruct.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethodUpdateStruct.xml.example deleted file mode 100644 index 9bae758c99..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/identifier/PATCH/PaymentMethodUpdateStruct.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<PaymentMethodUpdateStruct> - <names> - <eng-GB>Bank transfer (updated)</eng-GB> - </names> -</PaymentMethodUpdateStruct> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/view/POST/PaymentMethodView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/view/POST/PaymentMethodView.json.example deleted file mode 100644 index e9d790c0db..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/view/POST/PaymentMethodView.json.example +++ /dev/null @@ -1,44 +0,0 @@ -{ - "PaymentMethodView": { - "_media-type": "application\/vnd.ibexa.api.PaymentMethodView+json", - "identifier": "example", - "Result": { - "_media-type": "application\/vnd.ibexa.api.ViewResult+json", - "count": 4, - "PaymentMethodList": [ - { - "_media-type": "application\/vnd.ibexa.api.PaymentMethod+json", - "identifier": "bank_transfer", - "id": 1, - "enabled": true, - "name": "Bank transfer", - "description": "Bank transfer" - }, - { - "_media-type": "application\/vnd.ibexa.api.PaymentMethod+json", - "identifier": "cash_on_delivery", - "id": 2, - "enabled": true, - "name": "Cash on delivery", - "description": "Cash on delivery" - }, - { - "_media-type": "application\/vnd.ibexa.api.PaymentMethod+json", - "identifier": "invoice", - "id": 3, - "enabled": true, - "name": "Invoice", - "description": "Invoice" - }, - { - "_media-type": "application\/vnd.ibexa.api.PaymentMethod+json", - "identifier": "paypal", - "id": 4, - "enabled": true, - "name": "PayPal", - "description": "PayPal" - } - ] - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/view/POST/PaymentMethodViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/view/POST/PaymentMethodViewInput.json.example deleted file mode 100644 index a70e37e931..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/payment-methods/view/POST/PaymentMethodViewInput.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "PaymentMethodViewInput": { - "identifier": "example", - "PaymentMethodQuery": { - "offset": 0, - "limit": 10 - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/GET/AttributeGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/GET/AttributeGroupList.json.example deleted file mode 100644 index 90e975f876..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/GET/AttributeGroupList.json.example +++ /dev/null @@ -1,19 +0,0 @@ -{ - "AttributeGroupList": { - "_media-type": "application/vnd.ibexa.api.AttributeGroupList+json", - "AttributeGroup": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeGroup+json", - "name": "Attribute Group Test", - "identifier": "attr_group_test", - "position": 0 - }, - { - "_media-type": "application/vnd.ibexa.api.AttributeGroup+json", - "name": "Dimensions", - "identifier": "ag_dimensions", - "position": 0 - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/GET/AttributeGroupListGet.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/GET/AttributeGroupListGet.json.example deleted file mode 100644 index d5464bd405..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/GET/AttributeGroupListGet.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "AttributeGroupListGet": { - "prefix": "s", - "offset": 0, - "limit": 10 - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroup.json.example deleted file mode 100644 index f69a5c7e7b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroup.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "AttributeGroup": { - "_media-type": "application/vnd.ibexa.api.AttributeGroup+json", - "name": "Attribute Group Test", - "identifier": "attr_group_test", - "position": 0 - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupCreate.json.example deleted file mode 100644 index 252c8b9a1f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupCreate.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "AttributeGroupCreate": { - "identifier": "attr_group_test", - "names": { - "eng-GB": "Attribute Group Test" - }, - "position": 0 - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupView.json.example deleted file mode 100644 index 830f682ada..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupView.json.example +++ /dev/null @@ -1,24 +0,0 @@ -{ - "AttributeGroupView": { - "_media-type": "application/vnd.ibexa.api.AttributeGroupView+json", - "identifier": "TitleView", - "AttributeGroupQuery": { - "_media-type": "application/vnd.ibexa.api.AttributeGroupQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 1, - "AttributeGroupList": { - "_media-type": "application/vnd.ibexa.api.AttributeGroupList+json", - "AttributeGroup": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeGroup+json", - "name": "Test Attribute group", - "identifier": "test_attribute_group", - "position": 0 - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupViewInput.json.example deleted file mode 100644 index fe943a6902..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/POST/AttributeGroupViewInput.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "AttributeGroupQuery": { - "limit": "10", - "offset": "0", - "name_prefix": "test" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/GET/AttributeGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/GET/AttributeGroup.json.example deleted file mode 100644 index f056ecb64a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/GET/AttributeGroup.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "AttributeGroup": { - "_media-type": "application/vnd.ibexa.api.AttributeGroup+json", - "name": "Attribute Group Test", - "identifier": "attr_group_test", - "position": 0 - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/GET/AttributeGroupGet.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/GET/AttributeGroupGet.json.example deleted file mode 100644 index 82819b0584..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/GET/AttributeGroupGet.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "AttributeGroupGet": { - "languages": ["eng-GB"] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/PATCH/AttributeGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/PATCH/AttributeGroup.json.example deleted file mode 100644 index feb630e674..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/PATCH/AttributeGroup.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "AttributeGroup": { - "_media-type": "application/vnd.ibexa.api.AttributeGroup+json", - "name": "Colors Group", - "identifier": "ag_colors", - "position": 0 - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/PATCH/AttributeGroupUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/PATCH/AttributeGroupUpdate.json.example deleted file mode 100644 index caab09f976..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attribute_groups/id/PATCH/AttributeGroupUpdate.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "AttributeGroupUpdate": { - "identifier": "ag_colors", - "names": { - "eng-GB": "Colors Group" - }, - "position": 0 - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/GET/AttributeList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/GET/AttributeList.json.example deleted file mode 100644 index e0532364dd..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/GET/AttributeList.json.example +++ /dev/null @@ -1,43 +0,0 @@ -{ - "AttributeList": { - "_media-type": "application/vnd.ibexa.api.AttributeList+json", - "Attribute": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "attrib1", - "name": "Attrib1", - "description": "", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Attribute Group Test", - "position": 0, - "options": [] - }, - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "attrib2", - "name": "Attrib2", - "description": "", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Attribute Group Test", - "position": 0, - "options": [] - }, - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "attrib3", - "name": "Attrib3", - "description": "", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Attribute Group Test", - "position": 0, - "options": [] - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/GET/AttributeListGet.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/GET/AttributeListGet.json.example deleted file mode 100644 index 2863215df9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/GET/AttributeListGet.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "AttributeListGet": { - "group_name_prefix": "a", - "name_prefix": "a", - "offset": 0, - "limit": 10 - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/PATCH/Attribute.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/PATCH/Attribute.json.example deleted file mode 100644 index 52a37ff7ae..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/PATCH/Attribute.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "attr_group_test2", - "name": "Attribute Group", - "description": "description", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Attribute Group Test", - "position": 0, - "options": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/PATCH/AttributeUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/PATCH/AttributeUpdate.json.example deleted file mode 100644 index 9a8c0a62b5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/PATCH/AttributeUpdate.json.example +++ /dev/null @@ -1,15 +0,0 @@ -{ - "AttributeGroupUpdate": { - "identifier": "attr_group_test2", - "names": { - "eng-GB": "Attribute Group" - }, - "descriptions": { - "eng-GB": "description" - }, - "position": 0, - "options": { - "foo": "bar" - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/Attribute.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/Attribute.json.example deleted file mode 100644 index a554bb4f48..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/Attribute.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "foo", - "name": "Attribute", - "description": "description", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Attribute Test", - "position": 0, - "options": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeCreate.json.example deleted file mode 100644 index ce3cf7b2e8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeCreate.json.example +++ /dev/null @@ -1,17 +0,0 @@ -{ - "AttributeCreate": { - "identifier": "foo", - "type": "checkbox", - "group": "attr_group_test", - "names": { - "eng-GB": "Attribute" - }, - "descriptions": { - "eng-GB": "description" - }, - "position": 0, - "options": { - "foo": "bar" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeView.json.example deleted file mode 100644 index fab9e294f8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeView.json.example +++ /dev/null @@ -1,40 +0,0 @@ -{ - "AttributeView": { - "_media-type": "application/vnd.ibexa.api.AttributeView+json", - "identifier": "TitleView", - "AttributeQuery": { - "_media-type": "application/vnd.ibexa.api.AttributeQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 1, - "AttributeList": { - "_media-type": "application/vnd.ibexa.api.AttributeList+json", - "Attribute": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "measure", - "name": "measure", - "description": "", - "type": "Measurement", - "type_identifier": "measurement", - "group": "Test Attribute group", - "position": 0, - "options": { - "type": "length", - "unit": "centimeter", - "measurementRange": { - "minimum": 12, - "maximum": 15 - }, - "measurementDefaultRange": { - "defaultRangeMinimumValue": null, - "defaultRangeMaximumValue": null - } - } - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeViewInput.json.example deleted file mode 100644 index 70ab88bc01..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/POST/AttributeViewInput.json.example +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "AttributeQuery": { - "limit": "10", - "offset": "0", - "Query": { - "AttributeNameCriterion": "measure", - "AttributeGroupIdentifierCriterion": "test_attribute_group" - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/GET/Attribute.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/GET/Attribute.json.example deleted file mode 100644 index ebe717924f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/GET/Attribute.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "attrib2", - "name": "Attrib2", - "description": "", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Attribute Group Test", - "position": 0, - "options": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/GET/AttributeGet.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/GET/AttributeGet.json.example deleted file mode 100644 index 82819b0584..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/GET/AttributeGet.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "AttributeGroupGet": { - "languages": ["eng-GB"] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/group_id/PATCH/Attribute.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/group_id/PATCH/Attribute.json.example deleted file mode 100644 index 1c427638db..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/group_id/PATCH/Attribute.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "attr_group", - "name": "Attribute Group", - "description": "description", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Attribute Group", - "position": 0, - "options": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/group_id/PATCH/AttributeUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/group_id/PATCH/AttributeUpdate.json.example deleted file mode 100644 index 33f61166b1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/attributes/id/group_id/PATCH/AttributeUpdate.json.example +++ /dev/null @@ -1,15 +0,0 @@ -{ - "AttributeUpdate": { - "identifier": "attr_group", - "names": { - "eng-GB": "Attribute Group" - }, - "descriptions": { - "eng-GB": "description" - }, - "position": 0, - "options": { - "foo": "bar" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/GET/ProductFilterList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/GET/ProductFilterList.json.example deleted file mode 100644 index 73443e6ae3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/GET/ProductFilterList.json.example +++ /dev/null @@ -1,55 +0,0 @@ -{ - "ProductFilterList": { - "_media-type": "application/vnd.ibexa.api.ProductFilterList+json", - "ProductFilter": [ - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "CreatedAtCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "CreatedAtRangeCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "ProductCategoryCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "ColorAttributeCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "FloatAttributeCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "FloatAttributeRangeCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "IntegerAttributeCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "IntegerAttributeRangeCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "SelectionAttributeCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "ProductCodeCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "ProductNameCriterion" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductFilter+json", - "name": "ProductAvailabilityCriterion" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/GET/ProductSortClauseList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/GET/ProductSortClauseList.json.example deleted file mode 100644 index 40fd6a9d36..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/GET/ProductSortClauseList.json.example +++ /dev/null @@ -1,23 +0,0 @@ -{ - "ProductSortClauseList": { - "_media-type": "application/vnd.ibexa.api.ProductSortClauseList+json", - "ProductSortClause": [ - { - "_media-type": "application/vnd.ibexa.api.ProductSortClause+json", - "name": "ProductName" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductSortClause+json", - "name": "ProductCode" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductSortClause+json", - "name": "ProductAvailability" - }, - { - "_media-type": "application/vnd.ibexa.api.ProductSortClause+json", - "name": "CreatedAt" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogCreate.json.example deleted file mode 100644 index ea0a298368..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogCreate.json.example +++ /dev/null @@ -1,30 +0,0 @@ -{ - "CatalogCreate": { - "identifier": "test_catalog", - "criteria": { - "ProductCodeCriterion": ["ski", "snowboard"], - "ProductAvailabilityCriterion": true, - "ColorAttributeCriterion": { - "identifier": "color", - "value": ["#000000", "#FFFFFF"] - }, - "CreatedAtCriterion": { - "operator": ">=", - "created_at": "12-09-2022" - }, - "FloatAttributeCriterion": { - "identifier": "width", - "value": 16.6 - }, - "IntegerAttributeRangeCriterion": { - "identifier": "length", - "min": 180, - "max": 230 - } - }, - "names": { - "eng-GB": "Snow Equipment" - }, - "status": "draft" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogProductsView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogProductsView.json.example deleted file mode 100644 index 0b72533dfe..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogProductsView.json.example +++ /dev/null @@ -1,184 +0,0 @@ -{ - "ProductView": { - "_media-type": "application/vnd.ibexa.api.ProductView+json", - "identifier": "TitleView", - "ProductQuery": { - "_media-type": "application/vnd.ibexa.api.ProductQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 1, - "ProductList": { - "_media-type": "application/vnd.ibexa.api.ProductList+json", - "Product": [ - { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "test", - "name": "test", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "quickdraw", - "name": "Quickdraw", - "AttributeAssignmentList": [] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/187", - "_remoteId": "b0608be4ef4dc978ad603d02ac3c9ad1", - "_id": 187, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/55" - }, - "Name": "test", - "TranslatedName": "test", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/187/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/187/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/187/versions/1", - "VersionInfo": { - "id": 665, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2022-08-26T11:16:49+02:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-08-26T11:16:49+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "test" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/187" - } - }, - "Fields": { - "field": [ - { - "id": 915, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "test" - }, - { - "id": 916, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 60, - "code": "test", - "attributes": [] - } - }, - { - "id": 917, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 918, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - }, - { - "id": 919, - "fieldDefinitionIdentifier": "category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [], - "taxonomy": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/187/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/187/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-08-26T11:16:49+02:00", - "publishedDate": "2022-08-26T11:16:49+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/187/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1661505409, - "updated_at": 1661505409, - "AttributesList": [] - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogProductsViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogProductsViewInput.json.example deleted file mode 100644 index 3266c7b650..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogProductsViewInput.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "ProductQuery": { - "Query": { - "ProductCodeCriterion": "test", - "ProductAvailabilityCriterion": true - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogView.json.example deleted file mode 100644 index 95da07646c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogView.json.example +++ /dev/null @@ -1,42 +0,0 @@ -{ - "CatalogView": { - "_media-type": "application/vnd.ibexa.api.CatalogView+json", - "identifier": "TitleView", - "CatalogQuery": { - "_media-type": "application/vnd.ibexa.api.CatalogQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 1, - "CatalogList": { - "_media-type": "application/vnd.ibexa.api.CatalogList+json", - "Catalog": [ - { - "_media-type": "application/vnd.ibexa.api.Catalog+json", - "identifier": "test", - "name": "test", - "description": "", - "User": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "created": 1665479475, - "modified": 1665479475, - "status": "draft", - "Criteria": [ - { - "_media-type": "application/vnd.ibexa.api.ProductCode+json", - "ProductCodeCriterion": { - "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json", - "codes": [ - "test" - ] - } - } - ] - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogViewInput.json.example deleted file mode 100644 index 7c1f86871f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/POST/CatalogViewInput.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "CatalogQuery": { - "Query": { - "CatalogIdentifierCriterion": "test", - "CatalogNameCriterion": "test" - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/GET/Catalog.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/GET/Catalog.json.example deleted file mode 100644 index dbf1928371..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/GET/Catalog.json.example +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Catalog": { - "_media-type": "application/vnd.ibexa.api.Catalog+json", - "identifier": "test_catalog", - "name": "Snow Equipment", - "description": "", - "User": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "created": 1666090438, - "modified": 1666090438, - "status": "draft", - "Criteria": [ - { - "_media-type": "application/vnd.ibexa.api.ProductCode+json", - "ProductCodeCriterion": { - "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json", - "codes": [ - "ski", - "snowboard" - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ProductAvailability+json", - "ProductAvailabilityCriterion": { - "_media-type": "application/vnd.ibexa.api.ProductAvailabilityCriterion+json", - "is_available": true - } - }, - { - "_media-type": "application/vnd.ibexa.api.ColorAttribute+json", - "ColorAttributeCriterion": { - "_media-type": "application/vnd.ibexa.api.ColorAttributeCriterion+json", - "identifier": "color", - "value": [ - "#000000", - "#FFFFFF" - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.CreatedAt+json", - "CreatedAtCriterion": { - "_media-type": "application/vnd.ibexa.api.CreatedAtCriterion+json", - "created_at": { - "date": "2022-09-12 00:00:00.000000", - "timezone_type": 3, - "timezone": "Europe/Warsaw" - }, - "operator": ">=" - } - }, - { - "_media-type": "application/vnd.ibexa.api.FloatAttribute+json", - "FloatAttributeCriterion": { - "_media-type": "application/vnd.ibexa.api.FloatAttributeCriterion+json", - "identifier": "width", - "value": 16.6 - } - }, - { - "_media-type": "application/vnd.ibexa.api.IntegerAttributeRange+json", - "IntegerAttributeRangeCriterion": { - "_media-type": "application/vnd.ibexa.api.IntegerAttributeRangeCriterion+json", - "identifier": "length", - "min": 180, - "max": 230 - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/PATCH/Catalog.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/PATCH/Catalog.json.example deleted file mode 100644 index d235322a76..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/PATCH/Catalog.json.example +++ /dev/null @@ -1,45 +0,0 @@ -{ - "Catalog": { - "_media-type": "application/vnd.ibexa.api.Catalog+json", - "identifier": "test_catalog_updated", - "name": "Snow Equipment updated", - "description": "Snow Equipment catalog for 2022", - "User": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "created": 1666090438, - "modified": 1666091260, - "status": "published", - "Criteria": [ - { - "_media-type": "application/vnd.ibexa.api.ProductCode+json", - "ProductCodeCriterion": { - "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json", - "codes": [ - "ski" - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ProductAvailability+json", - "ProductAvailabilityCriterion": { - "_media-type": "application/vnd.ibexa.api.ProductAvailabilityCriterion+json", - "is_available": false - } - }, - { - "_media-type": "application/vnd.ibexa.api.CreatedAt+json", - "CreatedAtCriterion": { - "_media-type": "application/vnd.ibexa.api.CreatedAtCriterion+json", - "created_at": { - "date": "2022-12-12 00:00:00.000000", - "timezone_type": 3, - "timezone": "Europe/Warsaw" - }, - "operator": ">=" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/PATCH/CatalogUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/PATCH/CatalogUpdate.json.example deleted file mode 100644 index 1ef9d4d0e1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/PATCH/CatalogUpdate.json.example +++ /dev/null @@ -1,20 +0,0 @@ -{ - "CatalogUpdate": { - "identifier": "test_catalog_updated", - "criteria": { - "ProductCodeCriterion": ["ski"], - "ProductAvailabilityCriterion": false, - "CreatedAtCriterion": { - "operator": ">=", - "created_at": "12-12-2022" - } - }, - "names": { - "eng-GB": "Snow Equipment updated" - }, - "descriptions": { - "eng-GB": "Snow Equipment catalog for 2022" - }, - "transition": "publish" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/POST/Catalog.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/POST/Catalog.json.example deleted file mode 100644 index 17dc3254a5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/POST/Catalog.json.example +++ /dev/null @@ -1,45 +0,0 @@ -{ - "Catalog": { - "_media-type": "application/vnd.ibexa.api.Catalog+json", - "identifier": "test_catalog_copied", - "name": "Snow Equipment updated", - "description": "Snow Equipment catalog for 2022", - "User": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "created": 1666091820, - "modified": 1666091820, - "status": "draft", - "Criteria": [ - { - "_media-type": "application/vnd.ibexa.api.ProductCode+json", - "ProductCodeCriterion": { - "_media-type": "application/vnd.ibexa.api.ProductCodeCriterion+json", - "codes": [ - "ski" - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.ProductAvailability+json", - "ProductAvailabilityCriterion": { - "_media-type": "application/vnd.ibexa.api.ProductAvailabilityCriterion+json", - "is_available": false - } - }, - { - "_media-type": "application/vnd.ibexa.api.CreatedAt+json", - "CreatedAtCriterion": { - "_media-type": "application/vnd.ibexa.api.CreatedAtCriterion+json", - "created_at": { - "date": "2022-12-12 00:00:00.000000", - "timezone_type": 3, - "timezone": "Europe/Warsaw" - }, - "operator": ">=" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/POST/CatalogCopy.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/POST/CatalogCopy.json.example deleted file mode 100644 index dcc7d3fa9d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/catalog/identifier/POST/CatalogCopy.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "CatalogCopy": { - "identifier": "test_catalog_copied", - "creator_id": 14 - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/GET/CurrencyList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/GET/CurrencyList.json.example deleted file mode 100644 index 3ae2048117..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/GET/CurrencyList.json.example +++ /dev/null @@ -1,49 +0,0 @@ -{ - "CurrencyList": { - "_media-type": "application/vnd.ibexa.api.CurrencyList+json", - "Currency": [ - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 1, - "code": "AFN", - "subunits": 1, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 3, - "code": "ALL", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 4, - "code": "DZD", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 5, - "code": "USD", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 6, - "code": "AOA", - "subunits": 2, - "enabled": false - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/Currency.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/Currency.json.example deleted file mode 100644 index be46725b62..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/Currency.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 181, - "code": "cur", - "subunits": 1, - "enabled": true - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyCreate.json.example deleted file mode 100644 index 70521cc370..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyCreate.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "CurrencyCreate": { - "code": "cur", - "subunits": 1, - "enabled": true - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyView.json.example deleted file mode 100644 index c657bb442a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyView.json.example +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CurrencyView": { - "_media-type": "application/vnd.ibexa.api.CurrencyView+json", - "identifier": "TitleView", - "CurrencyQuery": { - "_media-type": "application/vnd.ibexa.api.CurrencyQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 179, - "CurrencyList": { - "_media-type": "application/vnd.ibexa.api.CurrencyList+json", - "Currency": [ - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 1, - "code": "AFN", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 3, - "code": "ALL", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 4, - "code": "DZD", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 5, - "code": "USD", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 6, - "code": "AOA", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 7, - "code": "XCD", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 8, - "code": "ARS", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 9, - "code": "AMD", - "subunits": 2, - "enabled": false - }, - { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 10, - "code": "AWG", - "subunits": 2, - "enabled": false - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyViewInput.json.example deleted file mode 100644 index 3dbaba6f8e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/POST/CurrencyViewInput.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "CurrencyQuery": { - "limit": "10", - "offset": "0" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/GET/Currency.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/GET/Currency.json.example deleted file mode 100644 index 208cb3de66..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/GET/Currency.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 3, - "code": "ALL", - "subunits": 2, - "enabled": false - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/GET/CurrencyList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/GET/CurrencyList.json.example deleted file mode 100644 index 2413d5c005..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/GET/CurrencyList.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 1, - "code": "AFN", - "subunits": 1, - "enabled": false - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/PATCH/Currency.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/PATCH/Currency.json.example deleted file mode 100644 index 2413d5c005..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/PATCH/Currency.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 1, - "code": "AFN", - "subunits": 1, - "enabled": false - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/PATCH/CurrencyUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/PATCH/CurrencyUpdate.json.example deleted file mode 100644 index be16d2f893..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/currency/currency_id/PATCH/CurrencyUpdate.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "CurrencyUpdate": { - "subunits": 1, - "enabled": false - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/GET/CustomerGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/GET/CustomerGroupList.json.example deleted file mode 100644 index df4b532141..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/GET/CustomerGroupList.json.example +++ /dev/null @@ -1,25 +0,0 @@ -{ - "CustomerGroupList": { - "_media-type": "application/vnd.ibexa.api.CustomerGroupList+json", - "CustomerGroup": [ - { - "_media-type": "application/vnd.ibexa.api.CustomerGroup+json", - "id": 1, - "name": "Resellers", - "identifier": "resellers", - "description": "", - "users": [], - "global_price_rate": "0.00" - }, - { - "_media-type": "application/vnd.ibexa.api.CustomerGroup+json", - "id": 2, - "name": "Contractors", - "identifier": "contractors", - "description": "", - "users": [], - "global_price_rate": "-20.00" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroup.json.example deleted file mode 100644 index 4d22b1d1ec..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroup.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "CustomerGroup": { - "_media-type": "application/vnd.ibexa.api.CustomerGroup+json", - "id": 5, - "name": "test-en", - "identifier": "test", - "description": "test-desc-en", - "users": [], - "global_price_rate": "1.00" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupCreate.json.example deleted file mode 100644 index a729f64c64..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupCreate.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "CustomerGroupCreate": { - "identifier": "customer_group", - "names": { - "eng-GB": "Customer Group" - }, - "descriptions": { - "eng-GB": "Customer Group description" - }, - "global_price_rate": "1" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupView.json.example deleted file mode 100644 index 0a6c474ae9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupView.json.example +++ /dev/null @@ -1,27 +0,0 @@ -{ - "CustomerGroupView": { - "_media-type": "application/vnd.ibexa.api.CustomerGroupView+json", - "identifier": "TitleView", - "CustomerGroupQuery": { - "_media-type": "application/vnd.ibexa.api.CustomerGroupQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 1, - "CustomerGroupList": { - "_media-type": "application/vnd.ibexa.api.CustomerGroupList+json", - "CustomerGroup": [ - { - "_media-type": "application/vnd.ibexa.api.CustomerGroup+json", - "id": 1, - "name": "Business", - "identifier": "business", - "description": "Most trusted business customers, being our partners for at least 5 years.", - "users": [], - "global_price_rate": "15.00" - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupViewInput.json.example deleted file mode 100644 index 0d0c7e26ef..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/POST/CustomerGroupViewInput.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "CustomerGroupQuery": { - "limit": "10", - "offset": "0" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/GET/CustomerGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/GET/CustomerGroup.json.example deleted file mode 100644 index 5135e31ac2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/GET/CustomerGroup.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "CustomerGroup": { - "_media-type": "application/vnd.ibexa.api.CustomerGroup+json", - "id": 1, - "name": "Resellers", - "identifier": "resellers", - "description": "", - "users": [], - "global_price_rate": "0.00" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/PATCH/CustomerGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/PATCH/CustomerGroup.json.example deleted file mode 100644 index 54648688b3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/PATCH/CustomerGroup.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "CustomerGroup": { - "_media-type": "application/vnd.ibexa.api.CustomerGroup+json", - "id": 1, - "name": "Customer Group", - "identifier": "customer_group", - "description": "", - "users": [], - "global_price_rate": "1.00" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/PATCH/CustomerGroupUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/PATCH/CustomerGroupUpdate.json.example deleted file mode 100644 index 3b71d81bf7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/customer_groups/identifier/PATCH/CustomerGroupUpdate.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "CustomerGroupUpdate": { - "identifier": "customer_group", - "names": { - "eng-GB": "Customer Group" - }, - "global_price_rate": "1" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/GET/ProductList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/GET/ProductList.json.example deleted file mode 100644 index 236e492752..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/GET/ProductList.json.example +++ /dev/null @@ -1,186 +0,0 @@ -{ - "ProductList": { - "_media-type": "application/vnd.ibexa.api.ProductList+json", - "Product": [ - { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "wsk_98845", - "name": "HUMMINGBIRD PRO DRY 9,2MM", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "d_rope", - "name": "Dynamic ropes", - "AttributeAssignmentList": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1645787815, - "updated_at": 1645787815, - "AttributesList": [] - }, - { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "wsst_34456", - "name": "Simond XC 60m", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "s_rope", - "name": "Static ropes", - "AttributeAssignmentList": [] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/141", - "_remoteId": "86fdab24802923a9c30994858165ba9b", - "_id": 141, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/54" - }, - "Name": "HUMMINGBIRD PRO DRY 9,2MM", - "TranslatedName": "HUMMINGBIRD PRO DRY 9,2MM", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/141/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/141/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/141/versions/2", - "VersionInfo": { - "id": 618, - "versionNo": 2, - "status": "PUBLISHED", - "modificationDate": "2022-05-27T09:29:33+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-05-27T09:29:33+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "HUMMINGBIRD PRO DRY 9,2MM" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/141" - } - }, - "Fields": { - "field": [ - { - "id": 612, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "HUMMINGBIRD PRO DRY 9,2MM" - }, - { - "id": 613, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 25, - "code": "wsk_98845", - "attributes": [ - 10 - ] - } - }, - { - "id": 614, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 615, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/141/versions/2/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/141/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-05-27T09:29:33+00:00", - "publishedDate": "2022-05-27T06:51:36+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 2, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/141/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1645787893, - "updated_at": 1645787893, - "AttributesList": [] - } - ] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/GET/ProductListGet.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/GET/ProductListGet.json.example deleted file mode 100644 index 6b5effb329..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/GET/ProductListGet.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "ProductListGet": { - "offset": 0, - "limit": 10, - "languages": ["eng-GB"] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductCreate.json.example deleted file mode 100644 index cfa5bca361..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductCreate.json.example +++ /dev/null @@ -1,39 +0,0 @@ -{ - "ProductCreate": { - "ContentCreate": { - "ContentType": { - "_href": "/api/ibexa/v2/content/types/46", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/260/fieldDefinitions", - "FieldDefinition": [] - } - }, - "LocationCreate": { - "ParentLocation": { - "_href": "/api/ibexa/v2/content/locations/1/2" - }, - "priority": "0", - "hidden": "false", - "sortField": "PATH", - "sortOrder": "ASC" - }, - "alwaysAvailable": "true", - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "new PT" - } - ] - }, - "mainLanguageCode": "eng-GB" - }, - "code": "ggg", - "attributes": { - "attr1": "fffffff" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductView.json.example deleted file mode 100644 index 3a47852cc5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductView.json.example +++ /dev/null @@ -1,621 +0,0 @@ -{ - "ProductView": { - "_media-type": "application/vnd.ibexa.api.ProductView+json", - "identifier": "TitleView", - "ProductQuery": { - "_media-type": "application/vnd.ibexa.api.ProductQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 2, - "ProductList": { - "_media-type": "application/vnd.ibexa.api.ProductList+json", - "Product": [ - { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "OTHER", - "isBaseProduct": false, - "isVariant": false, - "name": "Other Office Desk", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "desk", - "name": "Desk", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "", - "type": "Selection", - "type_identifier": "selection", - "group": "Desk", - "position": 0, - "options": { - "choices": [ - { - "label": { - "eng-GB": "Black" - }, - "value": "black" - }, - { - "label": { - "eng-GB": "White" - }, - "value": "white" - } - ] - }, - "value": null - } - }, - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Desk", - "position": 0, - "options": { - "sign": "none", - "type": "length", - "unit": "centimeter", - "defaultValue": null - }, - "value": null - } - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/67", - "_remoteId": "c5c22c68912af81992b74851f158db4a", - "_id": 67, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/53" - }, - "Name": "Other Office Desk", - "TranslatedName": "Other Office Desk", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/67/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/67/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/67/versions/2", - "VersionInfo": { - "id": 529, - "versionNo": 2, - "status": "PUBLISHED", - "modificationDate": "2023-04-12T14:06:25+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2023-04-12T14:06:25+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Other Office Desk" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/67" - } - }, - "Fields": { - "field": [ - { - "id": 301, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Other Office Desk" - }, - { - "id": 302, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 4, - "code": "OTHER", - "attributes": [ - "white", - [] - ] - } - }, - { - "id": 303, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 304, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - }, - { - "id": 305, - "fieldDefinitionIdentifier": "category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [], - "taxonomy": "product_categories" - } - }, - { - "id": 306, - "fieldDefinitionIdentifier": "field_64369cb9130a7", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_seo", - "fieldValue": "" - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/67/versions/2/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/67/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2023-04-12T14:06:25+00:00", - "publishedDate": "2023-04-12T11:59:17+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 2, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/67/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1681308385, - "updated_at": 1681308385, - "AttributesList": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "", - "type": "Selection", - "type_identifier": "selection", - "group": "Desk", - "position": 0, - "options": { - "choices": [ - { - "label": { - "eng-GB": "Black" - }, - "value": "black" - }, - { - "label": { - "eng-GB": "White" - }, - "value": "white" - } - ] - }, - "value": "white" - }, - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Desk", - "position": 0, - "options": { - "sign": "none", - "type": "length", - "unit": "centimeter", - "defaultValue": null - }, - "value": null - } - ], - "Price": { - "_media-type": "application/vnd.ibexa.api.Price+json", - "amount": "160.00", - "base_amount": "160.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "money": "16000", - "base_money": "16000" - } - }, - { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "ERGO", - "isBaseProduct": false, - "isVariant": false, - "name": "Ergo Office Desk", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "desk", - "name": "Desk", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "", - "type": "Selection", - "type_identifier": "selection", - "group": "Desk", - "position": 0, - "options": { - "choices": [ - { - "label": { - "eng-GB": "Black" - }, - "value": "black" - }, - { - "label": { - "eng-GB": "White" - }, - "value": "white" - } - ] - }, - "value": null - } - }, - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Desk", - "position": 0, - "options": { - "sign": "none", - "type": "length", - "unit": "centimeter", - "defaultValue": null - }, - "value": null - } - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/66", - "_remoteId": "1e7449c13671b56ed3907929a2af3ad9", - "_id": 66, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/53" - }, - "Name": "Ergo Office Desk", - "TranslatedName": "Ergo Office Desk", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/66/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/66/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/66/versions/2", - "VersionInfo": { - "id": 528, - "versionNo": 2, - "status": "PUBLISHED", - "modificationDate": "2023-04-12T14:06:14+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2023-04-12T14:06:14+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Ergo Office Desk" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/66" - } - }, - "Fields": { - "field": [ - { - "id": 295, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Ergo Office Desk" - }, - { - "id": 296, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 3, - "code": "ERGO", - "attributes": [ - "black", - [] - ] - } - }, - { - "id": 297, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 298, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - }, - { - "id": 299, - "fieldDefinitionIdentifier": "category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [], - "taxonomy": "product_categories" - } - }, - { - "id": 300, - "fieldDefinitionIdentifier": "field_64369cb9130a7", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_seo", - "fieldValue": "" - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/66/versions/2/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/66/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2023-04-12T14:06:14+00:00", - "publishedDate": "2023-04-12T11:58:00+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 2, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/66/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/placeholder", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1681308374, - "updated_at": 1681308374, - "AttributesList": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "color", - "name": "Color", - "description": "", - "type": "Selection", - "type_identifier": "selection", - "group": "Desk", - "position": 0, - "options": { - "choices": [ - { - "label": { - "eng-GB": "Black" - }, - "value": "black" - }, - { - "label": { - "eng-GB": "White" - }, - "value": "white" - } - ] - }, - "value": "black" - }, - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "width", - "name": "Width", - "description": "", - "type": "Measurement (single)", - "type_identifier": "measurement_single", - "group": "Desk", - "position": 0, - "options": { - "sign": "none", - "type": "length", - "unit": "centimeter", - "defaultValue": null - }, - "value": null - } - ], - "Price": { - "_media-type": "application/vnd.ibexa.api.Price+json", - "amount": "99.00", - "base_amount": "99.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "money": "9900", - "base_money": "9900" - } - } - ] - }, - "aggregations": [ - { - "_media-type": "application/vnd.ibexa.api.RangeAggregationResult+json", - "name": "price", - "entries": [ - { - "_media-type": "application/vnd.ibexa.api.RangeAggregationResultEntry+json", - "key": { - "Range": { - "_media-type": "application/vnd.ibexa.api.Range+json", - "from": 0, - "to": 10000 - } - }, - "count": 1 - } - ] - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductViewInput.json.example deleted file mode 100644 index f6c0e89f9d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductViewInput.json.example +++ /dev/null @@ -1,28 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "ProductQuery": { - "limit": "10", - "offset": "0", - "Filter": { - "ProductTypeCriterion": "desk", - "ProductAvailabilityCriterion": false - }, - "SortClauses": { - "ProductName": "descending" - }, - "Aggregations": [ - { - "ProductPriceRange": { - "name": "price", - "currencyCode": "EUR", - "ranges": [ - {"from": 0, "to": 10000}, - {"from": 10000, "to": null} - ] - } - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/GET/Product.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/GET/Product.json.example deleted file mode 100644 index 39baf5f1d3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/GET/Product.json.example +++ /dev/null @@ -1,191 +0,0 @@ -{ - "Product": { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "DRESUN", - "name": "Yellow sundress", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "dress", - "name": "Dress", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "size", - "name": "Size", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "Hat", - "position": 0, - "options": [] - } - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/141", - "_remoteId": "86fdab24802923a9c30994858165ba9b", - "_id": 141, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/54" - }, - "Name": "Yellow sundress", - "TranslatedName": "Yellow sundress", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/141/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/141/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/141/versions/2", - "VersionInfo": { - "id": 618, - "versionNo": 2, - "status": "PUBLISHED", - "modificationDate": "2022-05-27T09:29:33+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-05-27T09:29:33+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Yellow sundress" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/141" - } - }, - "Fields": { - "field": [ - { - "id": 612, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Yellow sundress" - }, - { - "id": 613, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 25, - "code": "DRESUN", - "attributes": [ - 10 - ] - } - }, - { - "id": 614, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 615, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/141/versions/2/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/141/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-05-27T09:29:33+00:00", - "publishedDate": "2022-05-27T06:51:36+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 2, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/141/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1647006758, - "updated_at": 1647006758, - "AttributesList": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "size", - "name": "Size", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "Clothes", - "position": 0, - "options": [] - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/GET/ProductGet.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/GET/ProductGet.json.example deleted file mode 100644 index 8540b4972c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/GET/ProductGet.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "ProductGet": { - "languages": [ - "eng-GB" - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/PATCH/Product.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/PATCH/Product.json.example deleted file mode 100644 index 85c83090f9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/PATCH/Product.json.example +++ /dev/null @@ -1,203 +0,0 @@ -{ - "Product": { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "bbbb", - "name": "fgh", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "test_pt321", - "name": "New Product Type", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testAttr", - "name": "testAttr", - "description": "", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Test Attribute group", - "position": 0, - "options": [] - } - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/141", - "_remoteId": "86fdab24802923a9c30994858165ba9b", - "_id": 141, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/54" - }, - "Name": "fgh", - "TranslatedName": "fgh", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/141/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/141/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/141/versions/2", - "VersionInfo": { - "id": 618, - "versionNo": 2, - "status": "PUBLISHED", - "modificationDate": "2022-05-27T09:29:33+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-05-27T09:29:33+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "fgh" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/141" - } - }, - "Fields": { - "field": [ - { - "id": 612, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "fgh" - }, - { - "id": 613, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 25, - "code": "bbbb", - "attributes": [ - 10 - ] - } - }, - { - "id": 614, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 615, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/141/versions/2/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/141/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-05-27T09:29:33+00:00", - "publishedDate": "2022-05-27T06:51:36+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 2, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/141/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1646398748, - "updated_at": 1646398748, - "AttributesList": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testAttr", - "name": "testAttr", - "description": "", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Test Attribute group", - "position": 0, - "options": [] - }, - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "nnnn", - "name": "nnnn", - "description": "", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Test Attribute group", - "position": 0, - "options": [] - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/PATCH/ProductUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/PATCH/ProductUpdate.json.example deleted file mode 100644 index 784b726688..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/PATCH/ProductUpdate.json.example +++ /dev/null @@ -1,18 +0,0 @@ -{ - "ProductUpdate": { - "ContentUpdate": { - "__url": "/api/ibexa/v2/content/objects/67", - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "IN6.1200tze205" - } - ] - } - }, - "code": "NEWCODE" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/CustomPrice.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/CustomPrice.json.example deleted file mode 100644 index 8fb09f35bc..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/CustomPrice.json.example +++ /dev/null @@ -1,19 +0,0 @@ -{ - "CustomPrice": { - "_media-type": "application/vnd.ibexa.api.CustomPrice+json", - "id": 5, - "amount": "15.00", - "base_amount": "25.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "money": "1500", - "base_money": "2500", - "custom_money": "1500", - "custom_amount": "15.00" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/GET/PriceList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/GET/PriceList.json.example deleted file mode 100644 index d484751e66..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/GET/PriceList.json.example +++ /dev/null @@ -1,38 +0,0 @@ -{ - "PriceList": { - "_media-type": "application/vnd.ibexa.api.PriceList+json", - "prices": [ - { - "_media-type": "application/vnd.ibexa.api.Price+json", - "id": 1, - "amount": "12.00", - "base_amount": "12.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "money": "1200", - "base_money": "1200" - }, - { - "_media-type": "application/vnd.ibexa.api.Price+json", - "id": 2, - "amount": "12.00", - "base_amount": "12.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 5, - "code": "USD", - "subunits": 2, - "enabled": true - }, - "money": "1200", - "base_money": "1200" - } - ], - "totalCount": 2 - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/POST/CustomPriceCreateStruct.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/POST/CustomPriceCreateStruct.json.example deleted file mode 100644 index 1fcf99fdfd..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/POST/CustomPriceCreateStruct.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "CustomPriceCreateStruct": { - "customerGroup": "test", - "amount": 2500, - "customAmount": 1500, - "currency": "EUR" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/POST/PriceCreateStruct.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/POST/PriceCreateStruct.json.example deleted file mode 100644 index 13a880038b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/POST/PriceCreateStruct.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "PriceCreateStruct": { - "amount": 9, - "currency": "CHF" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/Price.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/Price.json.example deleted file mode 100644 index e8a2f08976..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/Price.json.example +++ /dev/null @@ -1,17 +0,0 @@ -{ - "Price": { - "_media-type": "application/vnd.ibexa.api.Price+json", - "id": 4, - "amount": "0.09", - "base_amount": "0.09", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 94, - "code": "CHF", - "subunits": 2, - "enabled": true - }, - "money": "9", - "base_money": "9" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/currencyCode/GET/Price.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/currencyCode/GET/Price.json.example deleted file mode 100644 index 64dfcc469a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/currencyCode/GET/Price.json.example +++ /dev/null @@ -1,17 +0,0 @@ -{ - "Price": { - "_media-type": "application/vnd.ibexa.api.Price+json", - "id": 1, - "amount": "12.00", - "base_amount": "12.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 2, - "code": "EUR", - "subunits": 2, - "enabled": true - }, - "money": "1200", - "base_money": "1200" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/currencyCode/customer-group/customerGroupIdentifier/GET/CustomPrice.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/currencyCode/customer-group/customerGroupIdentifier/GET/CustomPrice.json.example deleted file mode 100644 index 2a6b74ee7f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/currencyCode/customer-group/customerGroupIdentifier/GET/CustomPrice.json.example +++ /dev/null @@ -1,20 +0,0 @@ -{ - "CustomPrice": { - "_media-type": "application/vnd.ibexa.api.CustomPrice+json", - "id": 3, - "amount": "11.50", - "base_amount": "10.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 5, - "code": "USD", - "subunits": 2, - "enabled": true - }, - "money": "1150", - "base_money": "1000", - "custom_money": "1150", - "custom_amount": "11.50", - "custom_rule": "15.00" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/CustomPrice.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/CustomPrice.json.example deleted file mode 100644 index 93629e8fc9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/CustomPrice.json.example +++ /dev/null @@ -1,20 +0,0 @@ -{ - "CustomPrice": { - "_media-type": "application/vnd.ibexa.api.CustomPrice+json", - "id": 3, - "amount": "17.00", - "base_amount": "35.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 5, - "code": "USD", - "subunits": 2, - "enabled": true - }, - "money": "1700", - "base_money": "3500", - "custom_money": "1700", - "custom_amount": "17.00", - "custom_rule": null - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/PATCH/CustomPriceUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/PATCH/CustomPriceUpdate.json.example deleted file mode 100644 index fa7f510b87..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/PATCH/CustomPriceUpdate.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "CustomPriceUpdateStruct": { - "amount": 2500, - "customAmount": 1700, - "currency": "USD" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/PATCH/PriceUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/PATCH/PriceUpdate.json.example deleted file mode 100644 index 9e3ac61970..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/PATCH/PriceUpdate.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "PriceUpdateStruct": { - "amount": 3500, - "currency": "USD" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/Price.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/Price.json.example deleted file mode 100644 index 4ca91e9fff..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/code/prices/id/Price.json.example +++ /dev/null @@ -1,17 +0,0 @@ -{ - "Price": { - "_media-type": "application/vnd.ibexa.api.Price+json", - "id": 2, - "amount": "35.00", - "base_amount": "35.00", - "Currency": { - "_media-type": "application/vnd.ibexa.api.Currency+json", - "id": 5, - "code": "USD", - "subunits": 2, - "enabled": true - }, - "money": "3500", - "base_money": "3500" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/id/GET/Product.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/id/GET/Product.json.example deleted file mode 100644 index 529b2361fc..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/id/GET/Product.json.example +++ /dev/null @@ -1,160 +0,0 @@ -{ - "Product": { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "wsk_98845", - "name": "HUMMINGBIRD PRO DRY 9,2MM", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "d_rope", - "name": "Dynamic ropes", - "AttributeAssignmentList": [] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/141", - "_remoteId": "86fdab24802923a9c30994858165ba9b", - "_id": 141, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/54" - }, - "Name": "HUMMINGBIRD PRO DRY 9,2MM", - "TranslatedName": "HUMMINGBIRD PRO DRY 9,2MM", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/141/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/141/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/141/versions/2", - "VersionInfo": { - "id": 618, - "versionNo": 2, - "status": "PUBLISHED", - "modificationDate": "2022-05-27T09:29:33+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-05-27T09:29:33+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "HUMMINGBIRD PRO DRY 9,2MM" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/141" - } - }, - "Fields": { - "field": [ - { - "id": 612, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "HUMMINGBIRD PRO DRY 9,2MM" - }, - { - "id": 613, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 25, - "code": "wsk_98845", - "attributes": [ - 10 - ] - } - }, - { - "id": 614, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n" - } - }, - { - "id": 615, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/141/versions/2/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/141/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-05-27T09:29:33+00:00", - "publishedDate": "2022-05-27T06:51:36+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 2, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/141/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1645787815, - "updated_at": 1645787815, - "AttributesList": [] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/id/GET/ProductListGet.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/id/GET/ProductListGet.json.example deleted file mode 100644 index 98b24b0614..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/id/GET/ProductListGet.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ProductGet": { - "languages": ["eng-GB"] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/GET/ProductTypeList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/GET/ProductTypeList.json.example deleted file mode 100644 index 22381a0554..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/GET/ProductTypeList.json.example +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ProductTypeList": { - "_media-type": "application/vnd.ibexa.api.ProductTypeList+json", - "ProductType": [ - { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "s_rope", - "name": "Static ropes", - "AttributeAssignmentList": [] - } - ] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/GET/ProductTypeListGet.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/GET/ProductTypeListGet.json.example deleted file mode 100644 index b9af8fb9c5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/GET/ProductTypeListGet.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "ProductTypeListGet": { - "name_prefix": "s", - "offset": 0, - "limit": 10 - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductType.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductType.json.example deleted file mode 100644 index c12b3a1f14..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductType.json.example +++ /dev/null @@ -1,26 +0,0 @@ -{ - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "test_pt321", - "name": "New Product Type", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testAttr", - "name": "testAttr", - "description": "", - "type": "Checkbox", - "type_identifier": "checkbox", - "value": true, - "group": "Test Attribute group", - "position": 0, - "options": [] - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeCreate.json.example deleted file mode 100644 index 261dc4c029..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeCreate.json.example +++ /dev/null @@ -1,88 +0,0 @@ -{ - "ProductTypeCreate": { - "ContentTypeCreateStruct": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/2", - "id": 2, - "status": "DEFINED", - "identifier": "test_pt321", - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Article" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "creationDate": "2002-06-18T09:21:38+00:00", - "modificationDate": "2021-06-28T11:31:22+00:00", - "remoteId": "c15b600eb9198b1924063b5a68758232", - "urlAliasSchema": "", - "nameSchema": "<short_title|title>", - "isContainer": true, - "mainLanguageCode": "eng-GB", - "defaultAlwaysAvailable": false, - "defaultSortField": "PATH", - "defaultSortOrder": "ASC", - "FieldDefinitions": { - "_media-type": "application/vnd.ibexa.api.FieldDefinitionList+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions", - "FieldDefinition": [ - { - "_media-type": "application/vnd.ibexa.api.FieldDefinition+json", - "_href": "/api/ibexa/v2/content/types/2/fieldDefinitions/1", - "id": 1, - "identifier": "title", - "fieldType": "ezstring", - "fieldGroup": "", - "position": 1, - "isTranslatable": true, - "isRequired": true, - "isInfoCollector": false, - "defaultValue": "New article", - "isSearchable": true, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Title" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": null - } - ] - }, - "fieldSettings": [], - "validatorConfiguration": { - "StringLengthValidator": { - "maxStringLength": 255, - "minStringLength": null - } - } - } - ] - } - }, - "main_language_code": "eng-GB", - "assigned_attributes": [ - { - "identifier": "testAttr", - "is_required": false, - "is_discriminator": true - } - ] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeView.json.example deleted file mode 100644 index 3f11ee9b45..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeView.json.example +++ /dev/null @@ -1,69 +0,0 @@ -{ - "ProductTypeView": { - "_media-type": "application/vnd.ibexa.api.ProductTypeView+json", - "identifier": "TitleView", - "ProductTypeQuery": { - "_media-type": "application/vnd.ibexa.api.ProductTypeQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 1, - "ProductTypeList": { - "_media-type": "application/vnd.ibexa.api.ProductTypeList+json", - "ProductType": [ - { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "climbing_shoe", - "name": "New Product Type", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "measure", - "name": "measure", - "description": "", - "type": "Measurement", - "type_identifier": "measurement", - "group": "Test Attribute group", - "position": 0, - "options": { - "type": "length", - "unit": "centimeter", - "measurementRange": { - "minimum": 12, - "maximum": 15 - }, - "measurementDefaultRange": { - "defaultRangeMinimumValue": null, - "defaultRangeMaximumValue": null - } - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": false, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "leather_color", - "name": "leather color", - "description": "", - "type": "Color", - "type_identifier": "color", - "value": "#000000", - "group": "Test Attribute group", - "position": 0, - "options": [] - } - } - ] - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeViewInput.json.example deleted file mode 100644 index 55bc197957..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/POST/ProductTypeViewInput.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "ProductTypeQuery": { - "limit": "10", - "offset": "0", - "name_prefix": "new" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/GET/ProductType.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/GET/ProductType.json.example deleted file mode 100644 index b8b41ebe62..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/GET/ProductType.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "d_rope", - "name": "Dynamic ropes", - "AttributeAssignmentList": [] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/PATCH/ProductType.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/PATCH/ProductType.json.example deleted file mode 100644 index 21c3461965..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/PATCH/ProductType.json.example +++ /dev/null @@ -1,26 +0,0 @@ -{ - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "NEW", - "name": "pt_1_updated", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "size", - "name": "Size", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "Hat", - "position": 0, - "options": [] - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/PATCH/ProductTypeUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/PATCH/ProductTypeUpdate.json.example deleted file mode 100644 index d0669a6f52..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/id/PATCH/ProductTypeUpdate.json.example +++ /dev/null @@ -1,29 +0,0 @@ -{ - "ProductTypeUpdate": { - "ContentTypeUpdateStruct": { - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "pt_1_updated" - } - ] - }, - "descriptions": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "updated" - } - ] - } - }, - "assigned_attributes": [ - { - "identifier": "size", - "is_required": false, - "is_discriminator": true - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/is_used/GET/ProductTypeUsage.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/is_used/GET/ProductTypeUsage.json.example deleted file mode 100644 index ced7264214..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_types/is_used/GET/ProductTypeUsage.json.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ProductTypeUsage media-type="application/vnd.ibexa.api.ProductTypeUsage+xml"> - <is_used>1</is_used> -</ProductTypeUsage> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantCreate.json.example deleted file mode 100644 index 7cde151193..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantCreate.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ProductVariantCreate": { - "attributes": { - "width": 100, - "height": 50, - "color": "#000000" - }, - "code": "macbook_pro" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantGenerate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantGenerate.json.example deleted file mode 100644 index f3d4ab37ae..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantGenerate.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ProductVariantGenerate": { - "attributes": { - "width": [ - 123 - ], - "colors": [ - "#000000", "#ffffff", "#d4d400", "#ff0000" - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantView.json.example deleted file mode 100644 index a123ea8c6a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantView.json.example +++ /dev/null @@ -1,506 +0,0 @@ -{ - "ProductVariantView": { - "_media-type": "application/vnd.ibexa.api.ProductVariantView+json", - "identifier": "TitleView", - "ProductVariantQuery": { - "_media-type": "application/vnd.ibexa.api.ProductVariantQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 2, - "ProductVariantList": { - "_media-type": "application/vnd.ibexa.api.ProductVariantList+json", - "ProductVariant": [ - { - "_media-type": "application/vnd.ibexa.api.ProductVariant+json", - "code": "test", - "name": "Macbook Air 2/10", - "Product": { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "mac_air", - "name": "Macbook Air", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "laptop", - "name": "Laptop", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "number", - "name": "number", - "description": "", - "type": "Float", - "type_identifier": "float", - "value": 1.5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testattr", - "name": "testAttr", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/152", - "_remoteId": "2d61ff8d0043eb299ca8c29c74f25441", - "_id": 152, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/56" - }, - "Name": "Macbook Air", - "TranslatedName": "Macbook Air", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/152/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/152/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/152/versions/1", - "VersionInfo": { - "id": 635, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2022-07-21T15:17:18+02:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-07-21T15:17:18+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Macbook Air" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/152" - } - }, - "Fields": { - "field": [ - { - "id": 716, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Macbook Air" - }, - { - "id": 717, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 89, - "code": "mac_air", - "attributes": [] - } - }, - { - "id": 718, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>test</para></section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>test</p></section>\n" - } - }, - { - "id": 719, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - }, - { - "id": 720, - "fieldDefinitionIdentifier": "category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [], - "taxonomy": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/152/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/152/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-07-21T15:17:18+02:00", - "publishedDate": "2022-07-21T15:17:18+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/152/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1658409438, - "updated_at": 1658409438, - "AttributesList": [] - }, - "DiscriminatorAttributesList": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "number", - "name": "number", - "description": "", - "type": "Float", - "type_identifier": "float", - "value": 1.5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - }, - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testattr", - "name": "testAttr", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - ] - }, - { - "_media-type": "application/vnd.ibexa.api.ProductVariant+json", - "code": "fdsfds", - "name": "Macbook Air 32/232", - "Product": { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "mac_air", - "name": "Macbook Air", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "laptop", - "name": "Laptop", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "number", - "name": "number", - "description": "", - "type": "Float", - "type_identifier": "float", - "value": 1.5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testattr", - "name": "testAttr", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/152", - "_remoteId": "2d61ff8d0043eb299ca8c29c74f25441", - "_id": 152, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/56" - }, - "Name": "Macbook Air", - "TranslatedName": "Macbook Air", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/152/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/152/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/152/versions/1", - "VersionInfo": { - "id": 635, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2022-07-21T15:17:18+02:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-07-21T15:17:18+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Macbook Air" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/152" - } - }, - "Fields": { - "field": [ - { - "id": 716, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Macbook Air" - }, - { - "id": 717, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 89, - "code": "mac_air", - "attributes": [] - } - }, - { - "id": 718, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>test</para></section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>test</p></section>\n" - } - }, - { - "id": 719, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - }, - { - "id": 720, - "fieldDefinitionIdentifier": "category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [], - "taxonomy": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/152/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/152/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-07-21T15:17:18+02:00", - "publishedDate": "2022-07-21T15:17:18+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/152/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1658409438, - "updated_at": 1658409438, - "AttributesList": [] - }, - "DiscriminatorAttributesList": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "number", - "name": "number", - "description": "", - "type": "Float", - "type_identifier": "float", - "value": 1.5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - }, - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testattr", - "name": "testAttr", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - ] - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantViewInput.json.example deleted file mode 100644 index e54743d593..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/POST/ProductVariantViewInput.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "ProductVariantQuery": { - "offset": "0", - "limit": "10" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/GET/ProductVariant.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/GET/ProductVariant.json.example deleted file mode 100644 index 9c64eee7e6..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/GET/ProductVariant.json.example +++ /dev/null @@ -1,246 +0,0 @@ -{ - "ProductVariant": { - "_media-type": "application/vnd.ibexa.api.ProductVariant+json", - "code": "macbook", - "name": "Macbook Air 32/232", - "Product": { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "mac_air", - "name": "Macbook Air", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "laptop", - "name": "Laptop", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "number", - "name": "number", - "description": "", - "type": "Float", - "type_identifier": "float", - "value": 1.5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testattr", - "name": "testAttr", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/152", - "_remoteId": "2d61ff8d0043eb299ca8c29c74f25441", - "_id": 152, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/56" - }, - "Name": "Macbook Air", - "TranslatedName": "Macbook Air", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/152/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/152/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/152/versions/1", - "VersionInfo": { - "id": 635, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2022-07-21T15:17:18+02:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-07-21T15:17:18+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Macbook Air" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/152" - } - }, - "Fields": { - "field": [ - { - "id": 716, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Macbook Air" - }, - { - "id": 717, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 89, - "code": "mac_air", - "attributes": [] - } - }, - { - "id": 718, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>test</para></section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>test</p></section>\n" - } - }, - { - "id": 719, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - }, - { - "id": 720, - "fieldDefinitionIdentifier": "category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [], - "taxonomy": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/152/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/152/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-07-21T15:17:18+02:00", - "publishedDate": "2022-07-21T15:17:18+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/152/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1658409438, - "updated_at": 1658409438, - "AttributesList": [] - }, - "DiscriminatorAttributesList": [ - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "number", - "name": "number", - "description": "", - "type": "Float", - "type_identifier": "float", - "value": 1.5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - }, - { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testattr", - "name": "testAttr", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/PATCH/ProductVariant.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/PATCH/ProductVariant.json.example deleted file mode 100644 index daf841ee17..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/PATCH/ProductVariant.json.example +++ /dev/null @@ -1,215 +0,0 @@ -{ - "ProductVariant": { - "_media-type": "application/vnd.ibexa.api.ProductVariant+json", - "code": "test", - "name": "Macbook Air ", - "Product": { - "_media-type": "application/vnd.ibexa.api.Product+json", - "code": "mac_air", - "name": "Macbook Air", - "ProductType": { - "_media-type": "application/vnd.ibexa.api.ProductType+json", - "identifier": "laptop", - "name": "Laptop", - "AttributeAssignmentList": [ - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "number", - "name": "number", - "description": "", - "type": "Float", - "type_identifier": "float", - "value": 1.5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - }, - { - "_media-type": "application/vnd.ibexa.api.AttributeAssignment+json", - "is_required": false, - "is_discriminator": true, - "Attribute": { - "_media-type": "application/vnd.ibexa.api.Attribute+json", - "identifier": "testattr", - "name": "testAttr", - "description": "", - "type": "Integer", - "type_identifier": "integer", - "value": 5, - "group": "test", - "position": 0, - "options": { - "min": 4, - "max": 5 - } - } - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/152", - "_remoteId": "2d61ff8d0043eb299ca8c29c74f25441", - "_id": 152, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/56" - }, - "Name": "Macbook Air", - "TranslatedName": "Macbook Air", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/152/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/152/currentversion", - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/152/versions/1", - "VersionInfo": { - "id": 635, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2022-07-21T15:17:18+02:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2022-07-21T15:17:18+02:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Macbook Air" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/152" - } - }, - "Fields": { - "field": [ - { - "id": 716, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Macbook Air" - }, - { - "id": 717, - "fieldDefinitionIdentifier": "product_specification", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_product_specification", - "fieldValue": { - "id": 89, - "code": "mac_air", - "attributes": [] - } - }, - { - "id": 718, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezrichtext", - "fieldValue": { - "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>test</para></section>\n", - "xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>test</p></section>\n" - } - }, - { - "id": 719, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimageasset", - "fieldValue": { - "destinationContentId": null, - "alternativeText": null, - "source": null - } - }, - { - "id": 720, - "fieldDefinitionIdentifier": "category", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ibexa_taxonomy_entry_assignment", - "fieldValue": { - "taxonomy_entries": [], - "taxonomy": null - } - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/152/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - } - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/152/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2022-07-21T15:17:18+02:00", - "publishedDate": "2022-07-21T15:17:18+02:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 1, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/152/objectstates" - } - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ibexaadminui/img/ibexa-icons.svg#file", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - }, - "created_at": 1658409438, - "updated_at": 1658409438, - "AttributesList": [] - }, - "DiscriminatorAttributesList": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/PATCH/ProductVariantUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/PATCH/ProductVariantUpdate.json.example deleted file mode 100644 index d2da671f2a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product_variants/code/PATCH/ProductVariantUpdate.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ProductVariantUpdate": { - "code": "test", - "attributes": { - "number": 2.0, - "testattr": 10 - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/GET/RegionList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/GET/RegionList.json.example deleted file mode 100644 index 2ba556fbd8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/GET/RegionList.json.example +++ /dev/null @@ -1,27 +0,0 @@ -{ - "RegionList": { - "_media-type": "application/vnd.ibexa.api.RegionList+json", - "Region": [ - { - "_media-type": "application/vnd.ibexa.api.Region+json", - "identifier": "france" - }, - { - "_media-type": "application/vnd.ibexa.api.Region+json", - "identifier": "__REGION_2__" - }, - { - "_media-type": "application/vnd.ibexa.api.Region+json", - "identifier": "__REGION_1__" - }, - { - "_media-type": "application/vnd.ibexa.api.Region+json", - "identifier": "foo" - }, - { - "_media-type": "application/vnd.ibexa.api.Region+json", - "identifier": "bar" - } - ] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/POST/RegionView.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/POST/RegionView.json.example deleted file mode 100644 index 5409a6137c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/POST/RegionView.json.example +++ /dev/null @@ -1,26 +0,0 @@ -{ - "RegionView": { - "_media-type": "application/vnd.ibexa.api.RegionView+json", - "identifier": "TitleView", - "RegionQuery": { - "_media-type": "application/vnd.ibexa.api.RegionQuery+json" - }, - "Result": { - "_media-type": "application/vnd.ibexa.api.ViewResult+json", - "count": 2, - "RegionList": { - "_media-type": "application/vnd.ibexa.api.RegionList+json", - "Region": [ - { - "_media-type": "application/vnd.ibexa.api.Region+json", - "identifier": "region_1" - }, - { - "_media-type": "application/vnd.ibexa.api.Region+json", - "identifier": "region_2" - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/POST/RegionViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/POST/RegionViewInput.json.example deleted file mode 100644 index 4f1566812b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/regions/POST/RegionViewInput.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "RegionQuery": { - "limit": "10", - "offset": "0" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/vat/region/GET/VatCategoryList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/vat/region/GET/VatCategoryList.json.example deleted file mode 100644 index 91d2b7b8b6..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/vat/region/GET/VatCategoryList.json.example +++ /dev/null @@ -1,25 +0,0 @@ -{ - "VatCategoryList": { - "_media-type": "application/vnd.ibexa.api.VatCategoryList+json", - "VatCategory": [ - { - "_media-type": "application/vnd.ibexa.api.VatCategory+json", - "identifier": "standard", - "region": "region_1", - "vatValue": 18 - }, - { - "_media-type": "application/vnd.ibexa.api.VatCategory+json", - "identifier": "reduced", - "region": "region_1", - "vatValue": 6 - }, - { - "_media-type": "application/vnd.ibexa.api.VatCategory+json", - "identifier": "none", - "region": "region_1", - "vatValue": null - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/vat/region/identifier/GET/VatCategory.json.example b/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/vat/region/identifier/GET/VatCategory.json.example deleted file mode 100644 index 3c47b5be75..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/product/catalog/vat/region/identifier/GET/VatCategory.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "VatCategory": { - "_media-type": "application/vnd.ibexa.api.VatCategory+json", - "identifier": "standard", - "region": "region_1", - "vatValue": 18 - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/GET/SegmentGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/GET/SegmentGroupList.json.example deleted file mode 100644 index 8b413448a6..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/GET/SegmentGroupList.json.example +++ /dev/null @@ -1,15 +0,0 @@ -{ - "SegmentGroupList": { - "_media-type": "application\/vnd.ibexa.api.SegmentGroupList+json", - "_href": "\/api\/ibexa\/v2\/segment_groups", - "SegmentGroup": [ - { - "_media-type": "application\/vnd.ibexa.api.SegmentGroup+json", - "_href": "\/api\/ibexa\/v2\/segment_groups\/corporate_accounts", - "id": 1, - "identifier": "corporate_accounts", - "name": "Corporate Accounts" - } - ] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/GET/SegmentGroupList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/GET/SegmentGroupList.xml.example deleted file mode 100644 index 2e29580fcd..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/GET/SegmentGroupList.xml.example +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentGroupList media-type="application/vnd.ibexa.api.SegmentGroupList+xml" href="/api/ibexa/v2/segment_groups"> - <SegmentGroup media-type="application/vnd.ibexa.api.SegmentGroup+xml" href="/api/ibexa/v2/segment_groups/corporate_accounts"> - <id>1</id> - <identifier>corporate_accounts</identifier> - <name>Corporate Accounts</name> - </SegmentGroup> -</SegmentGroupList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroup.json.example deleted file mode 100644 index c45b5fc507..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroup.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "SegmentGroup": { - "_media-type": "application/vnd.ibexa.api.SegmentGroup+json", - "_href": "/api/ibexa/v2/segment_groups/segment_group_identifier", - "id": 3, - "identifier": "segment_group_identifier", - "name": "Segment Group Name" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroup.xml.example deleted file mode 100644 index d9479b3cde..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroup.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentGroup media-type="application/vnd.ibexa.api.SegmentGroup+xml" href="/api/ibexa/v2/segment_groups/segment_group_identifier"> - <id>3</id> - <identifier>segment_group_identifier</identifier> - <name>Segment Group Name</name> -</SegmentGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroupCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroupCreate.json.example deleted file mode 100644 index 490884c75e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroupCreate.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "SegmentGroupCreate": { - "identifier": "segment_group_identifier", - "name": "Segment Group Name" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroupCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroupCreate.xml.example deleted file mode 100644 index 6ec4f7b1fb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/POST/SegmentGroupCreate.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentGroupCreate> - <identifier>segment_group_identifier</identifier> - <name>Segment Group Name</name> -</SegmentGroupCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/GET/SegmentGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/GET/SegmentGroup.json.example deleted file mode 100644 index 37858cf530..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/GET/SegmentGroup.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "SegmentGroup": { - "_media-type": "application\/vnd.ibexa.api.SegmentGroup+json", - "_href": "\/api\/ibexa\/v2\/segment_groups\/corporate_accounts", - "id": 1, - "identifier": "corporate_accounts", - "name": "Corporate Accounts" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/GET/SegmentGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/GET/SegmentGroup.xml.example deleted file mode 100644 index 76f5f1a0da..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/GET/SegmentGroup.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentGroup media-type="application/vnd.ibexa.api.SegmentGroup+xml" href="/api/ibexa/v2/segment_groups/corporate_accounts"> - <id>1</id> - <identifier>corporate_accounts</identifier> - <name>Corporate Accounts</name> -</SegmentGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroup.json.example deleted file mode 100644 index 1387f42194..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroup.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "SegmentGroup": { - "_media-type": "application/vnd.ibexa.api.SegmentGroup+json", - "_href": "/api/ibexa/v2/segment_groups/modified_segment_group_identifier", - "id": 3, - "identifier": "modified_segment_group_identifier", - "name": "Modified Segment Group Name" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroup.xml.example deleted file mode 100644 index 0eccf613f0..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroup.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentGroup media-type="application/vnd.ibexa.api.SegmentGroup+xml" href="/api/ibexa/v2/segment_groups/modified_segment_group_identifier"> - <id>4</id> - <identifier>modified_segment_group_identifier</identifier> - <name>Modified Segment Group Name</name> -</SegmentGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroupUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroupUpdate.json.example deleted file mode 100644 index 577efddba5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroupUpdate.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "SegmentGroupUpdate": { - "identifier": "modified_segment_group_identifier", - "name": "Modified Segment Group Name" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroupUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroupUpdate.xml.example deleted file mode 100644 index d33951e128..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/PATCH/SegmentGroupUpdate.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentGroupUpdate> - <identifier>modified_segment_group_identifier</identifier> - <name>Modified Segment Group Name</name> -</SegmentGroupUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/segments/GET/SegmentList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/segments/GET/SegmentList.json.example deleted file mode 100644 index 69a5bb7e79..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/segments/GET/SegmentList.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "SegmentList": { - "_media-type": "application\/vnd.ibexa.api.SegmentList+json", - "_href": "\/api\/ibexa\/v2\/segment_groups\/corporate_accounts\/segments", - "Segment": [] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/segments/GET/SegmentList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/segments/GET/SegmentList.xml.example deleted file mode 100644 index aa6a53489d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segment_groups/identifier/segments/GET/SegmentList.xml.example +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentList media-type="application/vnd.ibexa.api.SegmentList+xml" href="/api/ibexa/v2/segment_groups/corporate_accounts/segments"/> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/Segment.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/Segment.json.example deleted file mode 100644 index 05aca5a79c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/Segment.json.example +++ /dev/null @@ -1,13 +0,0 @@ -{ - "Segment": { - "_media-type": "application/vnd.ibexa.api.Segment+json", - "_href": "/api/ibexa/v2/segments/segment_identifier", - "id": 3, - "identifier": "segment_identifier", - "name": "Segment Name", - "SegmentGroup": { - "_media-type": "application/vnd.ibexa.api.SegmentGroup+json", - "_href": "/api/ibexa/v2/segment_groups/corporate_accounts" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/Segment.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/Segment.xml.example deleted file mode 100644 index 826c30fa69..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/Segment.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Segment media-type="application/vnd.ibexa.api.Segment+xml" href="/api/ibexa/v2/segments/segment_identifier"> - <id>3</id> - <identifier>segment_identifier</identifier> - <name>Segment Name</name> - <SegmentGroup media-type="application/vnd.ibexa.api.SegmentGroup+xml" href="/api/ibexa/v2/segment_groups/corporate_accounts"/> -</Segment> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/SegmentCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/SegmentCreate.json.example deleted file mode 100644 index fd2300337b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/SegmentCreate.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "SegmentCreate": { - "identifier": "segment_identifier", - "name": "Segment Name", - "group": "corporate_accounts" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/SegmentCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/SegmentCreate.xml.example deleted file mode 100644 index e5f1619fea..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/POST/SegmentCreate.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentCreate> - <identifier>segment_identifier</identifier> - <name>Segment Name</name> - <group>corporate_accounts</group> -</SegmentCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/GET/Segment.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/GET/Segment.json.example deleted file mode 100644 index 05aca5a79c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/GET/Segment.json.example +++ /dev/null @@ -1,13 +0,0 @@ -{ - "Segment": { - "_media-type": "application/vnd.ibexa.api.Segment+json", - "_href": "/api/ibexa/v2/segments/segment_identifier", - "id": 3, - "identifier": "segment_identifier", - "name": "Segment Name", - "SegmentGroup": { - "_media-type": "application/vnd.ibexa.api.SegmentGroup+json", - "_href": "/api/ibexa/v2/segment_groups/corporate_accounts" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/GET/Segment.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/GET/Segment.xml.example deleted file mode 100644 index 826c30fa69..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/GET/Segment.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Segment media-type="application/vnd.ibexa.api.Segment+xml" href="/api/ibexa/v2/segments/segment_identifier"> - <id>3</id> - <identifier>segment_identifier</identifier> - <name>Segment Name</name> - <SegmentGroup media-type="application/vnd.ibexa.api.SegmentGroup+xml" href="/api/ibexa/v2/segment_groups/corporate_accounts"/> -</Segment> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/Segment.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/Segment.json.example deleted file mode 100644 index 64d2dee742..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/Segment.json.example +++ /dev/null @@ -1,13 +0,0 @@ -{ - "Segment": { - "_media-type": "application/vnd.ibexa.api.Segment+json", - "_href": "/api/ibexa/v2/segments/modified_segment_identifier", - "id": 3, - "identifier": "modified_segment_identifier", - "name": "Modified Segment Name", - "SegmentGroup": { - "_media-type": "application/vnd.ibexa.api.SegmentGroup+json", - "_href": "/api/ibexa/v2/segment_groups/small_companies" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/Segment.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/Segment.xml.example deleted file mode 100644 index 09ddf82293..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/Segment.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Segment media-type="application/vnd.ibexa.api.Segment+xml" href="/api/ibexa/v2/segments/modified_segment_identifier"> - <id>3</id> - <identifier>modified_segment_identifier</identifier> - <name>Modified Segment Name</name> - <SegmentGroup media-type="application/vnd.ibexa.api.SegmentGroup+xml" href="/api/ibexa/v2/segment_groups/small_companies"/> -</Segment> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/SegmentUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/SegmentUpdate.json.example deleted file mode 100644 index de9d512ac5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/SegmentUpdate.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "SegmentUpdate": { - "identifier": "modified_segment_identifier", - "name": "Modified Segment Name", - "group": "small_companies" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/SegmentUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/SegmentUpdate.xml.example deleted file mode 100644 index 7547d7f123..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/segments/identifier/PATCH/SegmentUpdate.xml.example +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SegmentUpdate> - <identifier>modified_segment_identifier</identifier> - <name>Modified Segment Name</name> - <group>small_companies</group> -</SegmentUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/services/countries/GET/CountriesList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/services/countries/GET/CountriesList.xml.example deleted file mode 100644 index 374c6aa363..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/services/countries/GET/CountriesList.xml.example +++ /dev/null @@ -1,1479 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CountryList media-type="application/vnd.ibexa.api.CountryList+xml"> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AF"> - <name>Afghanistan</name> - <Alpha2>AF</Alpha2> - <Alpha3>AFG</Alpha3> - <IDC>93</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AX"> - <name>Åland</name> - <Alpha2>AX</Alpha2> - <Alpha3>ALA</Alpha3> - <IDC>358</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AL"> - <name>Albania</name> - <Alpha2>AL</Alpha2> - <Alpha3>ALB</Alpha3> - <IDC>355</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="DZ"> - <name>Algeria</name> - <Alpha2>DZ</Alpha2> - <Alpha3>DZA</Alpha3> - <IDC>213</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AS"> - <name>American Samoa</name> - <Alpha2>AS</Alpha2> - <Alpha3>ASM</Alpha3> - <IDC>1684</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AD"> - <name>Andorra</name> - <Alpha2>AD</Alpha2> - <Alpha3>AND</Alpha3> - <IDC>376</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AO"> - <name>Angola</name> - <Alpha2>AO</Alpha2> - <Alpha3>AGO</Alpha3> - <IDC>244</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AI"> - <name>Anguilla</name> - <Alpha2>AI</Alpha2> - <Alpha3>AIA</Alpha3> - <IDC>1264</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AQ"> - <name>Antarctica</name> - <Alpha2>AQ</Alpha2> - <Alpha3>ATA</Alpha3> - <IDC>672</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AG"> - <name>Antigua and Barbuda</name> - <Alpha2>AG</Alpha2> - <Alpha3>ATG</Alpha3> - <IDC>1268</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AR"> - <name>Argentina</name> - <Alpha2>AR</Alpha2> - <Alpha3>ARG</Alpha3> - <IDC>54</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AM"> - <name>Armenia</name> - <Alpha2>AM</Alpha2> - <Alpha3>ARM</Alpha3> - <IDC>374</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AW"> - <name>Aruba</name> - <Alpha2>AW</Alpha2> - <Alpha3>ABW</Alpha3> - <IDC>297</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AU"> - <name>Australia</name> - <Alpha2>AU</Alpha2> - <Alpha3>AUS</Alpha3> - <IDC>61</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AT"> - <name>Austria</name> - <Alpha2>AT</Alpha2> - <Alpha3>AUT</Alpha3> - <IDC>43</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AZ"> - <name>Azerbaijan</name> - <Alpha2>AZ</Alpha2> - <Alpha3>AZE</Alpha3> - <IDC>994</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BS"> - <name>Bahamas</name> - <Alpha2>BS</Alpha2> - <Alpha3>BHS</Alpha3> - <IDC>1242</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BH"> - <name>Bahrain</name> - <Alpha2>BH</Alpha2> - <Alpha3>BHR</Alpha3> - <IDC>973</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BD"> - <name>Bangladesh</name> - <Alpha2>BD</Alpha2> - <Alpha3>BGD</Alpha3> - <IDC>880</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BB"> - <name>Barbados</name> - <Alpha2>BB</Alpha2> - <Alpha3>BRB</Alpha3> - <IDC>1246</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BY"> - <name>Belarus</name> - <Alpha2>BY</Alpha2> - <Alpha3>BLR</Alpha3> - <IDC>375</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BE"> - <name>Belgium</name> - <Alpha2>BE</Alpha2> - <Alpha3>BEL</Alpha3> - <IDC>32</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BZ"> - <name>Belize</name> - <Alpha2>BZ</Alpha2> - <Alpha3>BLZ</Alpha3> - <IDC>501</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BJ"> - <name>Benin</name> - <Alpha2>BJ</Alpha2> - <Alpha3>BEN</Alpha3> - <IDC>229</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BM"> - <name>Bermuda</name> - <Alpha2>BM</Alpha2> - <Alpha3>BMU</Alpha3> - <IDC>1441</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BT"> - <name>Bhutan</name> - <Alpha2>BT</Alpha2> - <Alpha3>BTN</Alpha3> - <IDC>975</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BO"> - <name>Bolivia</name> - <Alpha2>BO</Alpha2> - <Alpha3>BOL</Alpha3> - <IDC>591</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BA"> - <name>Bosnia and Herzegovina</name> - <Alpha2>BA</Alpha2> - <Alpha3>BIH</Alpha3> - <IDC>387</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BW"> - <name>Botswana</name> - <Alpha2>BW</Alpha2> - <Alpha3>BWA</Alpha3> - <IDC>267</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BV"> - <name>Bouvet Island</name> - <Alpha2>BV</Alpha2> - <Alpha3>BVT</Alpha3> - <IDC>47</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BR"> - <name>Brazil</name> - <Alpha2>BR</Alpha2> - <Alpha3>BRA</Alpha3> - <IDC>55</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IO"> - <name>British Indian Ocean Territory</name> - <Alpha2>IO</Alpha2> - <Alpha3>IOT</Alpha3> - <IDC>246</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BN"> - <name>Brunei Darussalam</name> - <Alpha2>BN</Alpha2> - <Alpha3>BRN</Alpha3> - <IDC>673</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BG"> - <name>Bulgaria</name> - <Alpha2>BG</Alpha2> - <Alpha3>BGR</Alpha3> - <IDC>359</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BF"> - <name>Burkina Faso</name> - <Alpha2>BF</Alpha2> - <Alpha3>BFA</Alpha3> - <IDC>226</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BI"> - <name>Burundi</name> - <Alpha2>BI</Alpha2> - <Alpha3>BDI</Alpha3> - <IDC>257</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KH"> - <name>Cambodia</name> - <Alpha2>KH</Alpha2> - <Alpha3>KHM</Alpha3> - <IDC>855</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CM"> - <name>Cameroon</name> - <Alpha2>CM</Alpha2> - <Alpha3>CMR</Alpha3> - <IDC>237</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CA"> - <name>Canada</name> - <Alpha2>CA</Alpha2> - <Alpha3>CAN</Alpha3> - <IDC>1</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CV"> - <name>Cape Verde</name> - <Alpha2>CV</Alpha2> - <Alpha3>CPV</Alpha3> - <IDC>238</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KY"> - <name>Cayman Islands</name> - <Alpha2>KY</Alpha2> - <Alpha3>CYM</Alpha3> - <IDC>1345</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CF"> - <name>Central African Republic</name> - <Alpha2>CF</Alpha2> - <Alpha3>CAF</Alpha3> - <IDC>236</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TD"> - <name>Chad</name> - <Alpha2>TD</Alpha2> - <Alpha3>TCD</Alpha3> - <IDC>235</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CL"> - <name>Chile</name> - <Alpha2>CL</Alpha2> - <Alpha3>CHL</Alpha3> - <IDC>56</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CN"> - <name>China</name> - <Alpha2>CN</Alpha2> - <Alpha3>CHN</Alpha3> - <IDC>86</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CX"> - <name>Christmas Island</name> - <Alpha2>CX</Alpha2> - <Alpha3>CXR</Alpha3> - <IDC>61</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CC"> - <name>Cocos (Keeling) Islands</name> - <Alpha2>CC</Alpha2> - <Alpha3>CCK</Alpha3> - <IDC>61</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CO"> - <name>Colombia</name> - <Alpha2>CO</Alpha2> - <Alpha3>COL</Alpha3> - <IDC>57</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KM"> - <name>Comoros</name> - <Alpha2>KM</Alpha2> - <Alpha3>COM</Alpha3> - <IDC>269</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CG"> - <name>Congo</name> - <Alpha2>CG</Alpha2> - <Alpha3>COG</Alpha3> - <IDC>242</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CD"> - <name>Congo, The Democratic Republic Of The</name> - <Alpha2>CD</Alpha2> - <Alpha3>COD</Alpha3> - <IDC>243</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CK"> - <name>Cook Islands</name> - <Alpha2>CK</Alpha2> - <Alpha3>COK</Alpha3> - <IDC>682</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CR"> - <name>Costa Rica</name> - <Alpha2>CR</Alpha2> - <Alpha3>CRI</Alpha3> - <IDC>506</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CI"> - <name>Côte d'Ivoire</name> - <Alpha2>CI</Alpha2> - <Alpha3>CIV</Alpha3> - <IDC>225</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="HR"> - <name>Croatia</name> - <Alpha2>HR</Alpha2> - <Alpha3>HRV</Alpha3> - <IDC>385</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CU"> - <name>Cuba</name> - <Alpha2>CU</Alpha2> - <Alpha3>CUB</Alpha3> - <IDC>53</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CY"> - <name>Cyprus</name> - <Alpha2>CY</Alpha2> - <Alpha3>CYP</Alpha3> - <IDC>357</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CZ"> - <name>Czech Republic</name> - <Alpha2>CZ</Alpha2> - <Alpha3>CZE</Alpha3> - <IDC>420</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="DK"> - <name>Denmark</name> - <Alpha2>DK</Alpha2> - <Alpha3>DNK</Alpha3> - <IDC>45</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="DJ"> - <name>Djibouti</name> - <Alpha2>DJ</Alpha2> - <Alpha3>DJI</Alpha3> - <IDC>253</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="DM"> - <name>Dominica</name> - <Alpha2>DM</Alpha2> - <Alpha3>DMA</Alpha3> - <IDC>1767</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="DO"> - <name>Dominican Republic</name> - <Alpha2>DO</Alpha2> - <Alpha3>DOM</Alpha3> - <IDC>1809</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="EC"> - <name>Ecuador</name> - <Alpha2>EC</Alpha2> - <Alpha3>ECU</Alpha3> - <IDC>593</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="EG"> - <name>Egypt</name> - <Alpha2>EG</Alpha2> - <Alpha3>EGY</Alpha3> - <IDC>20</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SV"> - <name>El Salvador</name> - <Alpha2>SV</Alpha2> - <Alpha3>SLV</Alpha3> - <IDC>503</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GQ"> - <name>Equatorial Guinea</name> - <Alpha2>GQ</Alpha2> - <Alpha3>GNQ</Alpha3> - <IDC>240</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ER"> - <name>Eritrea</name> - <Alpha2>ER</Alpha2> - <Alpha3>ERI</Alpha3> - <IDC>291</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="EE"> - <name>Estonia</name> - <Alpha2>EE</Alpha2> - <Alpha3>EST</Alpha3> - <IDC>372</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ET"> - <name>Ethiopia</name> - <Alpha2>ET</Alpha2> - <Alpha3>ETH</Alpha3> - <IDC>251</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="FK"> - <name>Falkland Islands (Malvinas)</name> - <Alpha2>FK</Alpha2> - <Alpha3>FLK</Alpha3> - <IDC>500</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="FO"> - <name>Faroe Islands</name> - <Alpha2>FO</Alpha2> - <Alpha3>FRO</Alpha3> - <IDC>298</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="FJ"> - <name>Fiji</name> - <Alpha2>FJ</Alpha2> - <Alpha3>FJI</Alpha3> - <IDC>679</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="FI"> - <name>Finland</name> - <Alpha2>FI</Alpha2> - <Alpha3>FIN</Alpha3> - <IDC>358</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="FR"> - <name>France</name> - <Alpha2>FR</Alpha2> - <Alpha3>FRA</Alpha3> - <IDC>33</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GF"> - <name>French Guiana</name> - <Alpha2>GF</Alpha2> - <Alpha3>GUF</Alpha3> - <IDC>594</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PF"> - <name>French Polynesia</name> - <Alpha2>PF</Alpha2> - <Alpha3>PYF</Alpha3> - <IDC>689</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TF"> - <name>French Southern Territories</name> - <Alpha2>TF</Alpha2> - <Alpha3>ATF</Alpha3> - <IDC>0</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GA"> - <name>Gabon</name> - <Alpha2>GA</Alpha2> - <Alpha3>GAB</Alpha3> - <IDC>241</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GM"> - <name>Gambia</name> - <Alpha2>GM</Alpha2> - <Alpha3>GMB</Alpha3> - <IDC>220</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GE"> - <name>Georgia</name> - <Alpha2>GE</Alpha2> - <Alpha3>GEO</Alpha3> - <IDC>995</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="DE"> - <name>Germany</name> - <Alpha2>DE</Alpha2> - <Alpha3>DEU</Alpha3> - <IDC>49</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GH"> - <name>Ghana</name> - <Alpha2>GH</Alpha2> - <Alpha3>GHA</Alpha3> - <IDC>233</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GI"> - <name>Gibraltar</name> - <Alpha2>GI</Alpha2> - <Alpha3>GIB</Alpha3> - <IDC>350</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GR"> - <name>Greece</name> - <Alpha2>GR</Alpha2> - <Alpha3>GRC</Alpha3> - <IDC>30</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GL"> - <name>Greenland</name> - <Alpha2>GL</Alpha2> - <Alpha3>GRL</Alpha3> - <IDC>299</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GD"> - <name>Grenada</name> - <Alpha2>GD</Alpha2> - <Alpha3>GRD</Alpha3> - <IDC>1473</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GP"> - <name>Guadeloupe</name> - <Alpha2>GP</Alpha2> - <Alpha3>GLP</Alpha3> - <IDC>590</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GU"> - <name>Guam</name> - <Alpha2>GU</Alpha2> - <Alpha3>GUM</Alpha3> - <IDC>1671</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GT"> - <name>Guatemala</name> - <Alpha2>GT</Alpha2> - <Alpha3>GTM</Alpha3> - <IDC>502</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GG"> - <name>Guernsey</name> - <Alpha2>GG</Alpha2> - <Alpha3>GGY</Alpha3> - <IDC>44</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GN"> - <name>Guinea</name> - <Alpha2>GN</Alpha2> - <Alpha3>GIN</Alpha3> - <IDC>224</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GW"> - <name>Guinea-Bissau</name> - <Alpha2>GW</Alpha2> - <Alpha3>GNB</Alpha3> - <IDC>245</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GY"> - <name>Guyana</name> - <Alpha2>GY</Alpha2> - <Alpha3>GUY</Alpha3> - <IDC>592</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="HT"> - <name>Haiti</name> - <Alpha2>HT</Alpha2> - <Alpha3>HTI</Alpha3> - <IDC>509</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="HM"> - <name>Heard Island and McDonald Islands</name> - <Alpha2>HM</Alpha2> - <Alpha3>HMD</Alpha3> - <IDC>672</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="HN"> - <name>Honduras</name> - <Alpha2>HN</Alpha2> - <Alpha3>HND</Alpha3> - <IDC>504</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="HK"> - <name>Hong Kong</name> - <Alpha2>HK</Alpha2> - <Alpha3>HKG</Alpha3> - <IDC>852</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="HU"> - <name>Hungary</name> - <Alpha2>HU</Alpha2> - <Alpha3>HUN</Alpha3> - <IDC>36</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IS"> - <name>Iceland</name> - <Alpha2>IS</Alpha2> - <Alpha3>ISL</Alpha3> - <IDC>354</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IN"> - <name>India</name> - <Alpha2>IN</Alpha2> - <Alpha3>IND</Alpha3> - <IDC>91</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ID"> - <name>Indonesia</name> - <Alpha2>ID</Alpha2> - <Alpha3>IDN</Alpha3> - <IDC>62</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IR"> - <name>Iran, Islamic Republic of</name> - <Alpha2>IR</Alpha2> - <Alpha3>IRN</Alpha3> - <IDC>98</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IQ"> - <name>Iraq</name> - <Alpha2>IQ</Alpha2> - <Alpha3>IRQ</Alpha3> - <IDC>964</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IE"> - <name>Ireland</name> - <Alpha2>IE</Alpha2> - <Alpha3>IRL</Alpha3> - <IDC>353</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IM"> - <name>Isle of Man</name> - <Alpha2>IM</Alpha2> - <Alpha3>IMN</Alpha3> - <IDC>44</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IL"> - <name>Israel</name> - <Alpha2>IL</Alpha2> - <Alpha3>ISR</Alpha3> - <IDC>972</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="IT"> - <name>Italy</name> - <Alpha2>IT</Alpha2> - <Alpha3>ITA</Alpha3> - <IDC>39</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="JM"> - <name>Jamaica</name> - <Alpha2>JM</Alpha2> - <Alpha3>JAM</Alpha3> - <IDC>1876</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="JP"> - <name>Japan</name> - <Alpha2>JP</Alpha2> - <Alpha3>JPN</Alpha3> - <IDC>81</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="JE"> - <name>Jersey</name> - <Alpha2>JE</Alpha2> - <Alpha3>JEY</Alpha3> - <IDC>44</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="JO"> - <name>Jordan</name> - <Alpha2>JO</Alpha2> - <Alpha3>JOR</Alpha3> - <IDC>962</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KZ"> - <name>Kazakhstan</name> - <Alpha2>KZ</Alpha2> - <Alpha3>KAZ</Alpha3> - <IDC>7</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KE"> - <name>Kenya</name> - <Alpha2>KE</Alpha2> - <Alpha3>KEN</Alpha3> - <IDC>254</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KI"> - <name>Kiribati</name> - <Alpha2>KI</Alpha2> - <Alpha3>KIR</Alpha3> - <IDC>686</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KP"> - <name>Korea, Democratic People's Republic of</name> - <Alpha2>KP</Alpha2> - <Alpha3>PRK</Alpha3> - <IDC>850</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KR"> - <name>Korea, Republic of</name> - <Alpha2>KR</Alpha2> - <Alpha3>KOR</Alpha3> - <IDC>82</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KW"> - <name>Kuwait</name> - <Alpha2>KW</Alpha2> - <Alpha3>KWT</Alpha3> - <IDC>965</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KG"> - <name>Kyrgyzstan</name> - <Alpha2>KG</Alpha2> - <Alpha3>KGZ</Alpha3> - <IDC>996</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LA"> - <name>Lao People's Democratic Republic</name> - <Alpha2>LA</Alpha2> - <Alpha3>LAO</Alpha3> - <IDC>856</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LV"> - <name>Latvia</name> - <Alpha2>LV</Alpha2> - <Alpha3>LVA</Alpha3> - <IDC>371</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LB"> - <name>Lebanon</name> - <Alpha2>LB</Alpha2> - <Alpha3>LBN</Alpha3> - <IDC>961</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LS"> - <name>Lesotho</name> - <Alpha2>LS</Alpha2> - <Alpha3>LSO</Alpha3> - <IDC>266</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LR"> - <name>Liberia</name> - <Alpha2>LR</Alpha2> - <Alpha3>LBR</Alpha3> - <IDC>231</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LY"> - <name>Libyan Arab Jamahiriya</name> - <Alpha2>LY</Alpha2> - <Alpha3>LBY</Alpha3> - <IDC>218</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LI"> - <name>Liechtenstein</name> - <Alpha2>LI</Alpha2> - <Alpha3>LIE</Alpha3> - <IDC>423</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LT"> - <name>Lithuania</name> - <Alpha2>LT</Alpha2> - <Alpha3>LTU</Alpha3> - <IDC>370</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LU"> - <name>Luxembourg</name> - <Alpha2>LU</Alpha2> - <Alpha3>LUX</Alpha3> - <IDC>352</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MO"> - <name>Macau</name> - <Alpha2>MO</Alpha2> - <Alpha3>MAC</Alpha3> - <IDC>853</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MK"> - <name>Macedonia, The Former Yugoslav Republic of</name> - <Alpha2>MK</Alpha2> - <Alpha3>MKD</Alpha3> - <IDC>389</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MG"> - <name>Madagascar</name> - <Alpha2>MG</Alpha2> - <Alpha3>MDG</Alpha3> - <IDC>261</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MW"> - <name>Malawi</name> - <Alpha2>MW</Alpha2> - <Alpha3>MWI</Alpha3> - <IDC>265</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MY"> - <name>Malaysia</name> - <Alpha2>MY</Alpha2> - <Alpha3>MYS</Alpha3> - <IDC>60</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MV"> - <name>Maldives</name> - <Alpha2>MV</Alpha2> - <Alpha3>MDV</Alpha3> - <IDC>960</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ML"> - <name>Mali</name> - <Alpha2>ML</Alpha2> - <Alpha3>MLI</Alpha3> - <IDC>223</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MT"> - <name>Malta</name> - <Alpha2>MT</Alpha2> - <Alpha3>MLT</Alpha3> - <IDC>356</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MH"> - <name>Marshall Islands</name> - <Alpha2>MH</Alpha2> - <Alpha3>MHL</Alpha3> - <IDC>692</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MQ"> - <name>Martinique</name> - <Alpha2>MQ</Alpha2> - <Alpha3>MTQ</Alpha3> - <IDC>596</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MR"> - <name>Mauritania</name> - <Alpha2>MR</Alpha2> - <Alpha3>MRT</Alpha3> - <IDC>222</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MU"> - <name>Mauritius</name> - <Alpha2>MU</Alpha2> - <Alpha3>MUS</Alpha3> - <IDC>230</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="YT"> - <name>Mayotte</name> - <Alpha2>YT</Alpha2> - <Alpha3>MYT</Alpha3> - <IDC>262</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MX"> - <name>Mexico</name> - <Alpha2>MX</Alpha2> - <Alpha3>MEX</Alpha3> - <IDC>52</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="FM"> - <name>Micronesia, Federated States of</name> - <Alpha2>FM</Alpha2> - <Alpha3>FSM</Alpha3> - <IDC>691</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MD"> - <name>Moldova, Republic of</name> - <Alpha2>MD</Alpha2> - <Alpha3>MDA</Alpha3> - <IDC>373</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MC"> - <name>Monaco</name> - <Alpha2>MC</Alpha2> - <Alpha3>MCO</Alpha3> - <IDC>377</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MN"> - <name>Mongolia</name> - <Alpha2>MN</Alpha2> - <Alpha3>MNG</Alpha3> - <IDC>976</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ME"> - <name>Montenegro</name> - <Alpha2>ME</Alpha2> - <Alpha3>MNE</Alpha3> - <IDC>382</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MS"> - <name>Montserrat</name> - <Alpha2>MS</Alpha2> - <Alpha3>MSR</Alpha3> - <IDC>1664</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MA"> - <name>Morocco</name> - <Alpha2>MA</Alpha2> - <Alpha3>MAR</Alpha3> - <IDC>212</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MZ"> - <name>Mozambique</name> - <Alpha2>MZ</Alpha2> - <Alpha3>MOZ</Alpha3> - <IDC>258</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MM"> - <name>Myanmar</name> - <Alpha2>MM</Alpha2> - <Alpha3>MMR</Alpha3> - <IDC>95</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NA"> - <name>Namibia</name> - <Alpha2>NA</Alpha2> - <Alpha3>NAM</Alpha3> - <IDC>264</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NR"> - <name>Nauru</name> - <Alpha2>NR</Alpha2> - <Alpha3>NRU</Alpha3> - <IDC>674</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NP"> - <name>Nepal</name> - <Alpha2>NP</Alpha2> - <Alpha3>NPL</Alpha3> - <IDC>977</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NL"> - <name>Netherlands</name> - <Alpha2>NL</Alpha2> - <Alpha3>NLD</Alpha3> - <IDC>31</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AN"> - <name>Netherlands Antilles</name> - <Alpha2>AN</Alpha2> - <Alpha3>ANT</Alpha3> - <IDC>599</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NC"> - <name>New Caledonia</name> - <Alpha2>NC</Alpha2> - <Alpha3>NCL</Alpha3> - <IDC>687</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NZ"> - <name>New Zealand</name> - <Alpha2>NZ</Alpha2> - <Alpha3>NZL</Alpha3> - <IDC>64</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NI"> - <name>Nicaragua</name> - <Alpha2>NI</Alpha2> - <Alpha3>NIC</Alpha3> - <IDC>505</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NE"> - <name>Niger</name> - <Alpha2>NE</Alpha2> - <Alpha3>NER</Alpha3> - <IDC>227</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NG"> - <name>Nigeria</name> - <Alpha2>NG</Alpha2> - <Alpha3>NGA</Alpha3> - <IDC>234</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NU"> - <name>Niue</name> - <Alpha2>NU</Alpha2> - <Alpha3>NIU</Alpha3> - <IDC>683</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NF"> - <name>Norfolk Island</name> - <Alpha2>NF</Alpha2> - <Alpha3>NFK</Alpha3> - <IDC>6723</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MP"> - <name>Northern Mariana Islands</name> - <Alpha2>MP</Alpha2> - <Alpha3>MNP</Alpha3> - <IDC>1670</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="NO"> - <name>Norway</name> - <Alpha2>NO</Alpha2> - <Alpha3>NOR</Alpha3> - <IDC>47</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="OM"> - <name>Oman</name> - <Alpha2>OM</Alpha2> - <Alpha3>OMN</Alpha3> - <IDC>968</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PK"> - <name>Pakistan</name> - <Alpha2>PK</Alpha2> - <Alpha3>PAK</Alpha3> - <IDC>92</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PW"> - <name>Palau</name> - <Alpha2>PW</Alpha2> - <Alpha3>PLW</Alpha3> - <IDC>680</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PS"> - <name>Palestinian Territory, Occupied</name> - <Alpha2>PS</Alpha2> - <Alpha3>PSE</Alpha3> - <IDC>970</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PA"> - <name>Panama</name> - <Alpha2>PA</Alpha2> - <Alpha3>PAN</Alpha3> - <IDC>507</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PG"> - <name>Papua New Guinea</name> - <Alpha2>PG</Alpha2> - <Alpha3>PNG</Alpha3> - <IDC>675</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PY"> - <name>Paraguay</name> - <Alpha2>PY</Alpha2> - <Alpha3>PRY</Alpha3> - <IDC>595</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PE"> - <name>Peru</name> - <Alpha2>PE</Alpha2> - <Alpha3>PER</Alpha3> - <IDC>51</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PH"> - <name>Philippines</name> - <Alpha2>PH</Alpha2> - <Alpha3>PHL</Alpha3> - <IDC>63</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PN"> - <name>Pitcairn</name> - <Alpha2>PN</Alpha2> - <Alpha3>PCN</Alpha3> - <IDC>64</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PL"> - <name>Poland</name> - <Alpha2>PL</Alpha2> - <Alpha3>POL</Alpha3> - <IDC>48</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PT"> - <name>Portugal</name> - <Alpha2>PT</Alpha2> - <Alpha3>PRT</Alpha3> - <IDC>351</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PR"> - <name>Puerto Rico</name> - <Alpha2>PR</Alpha2> - <Alpha3>PRI</Alpha3> - <IDC>1787</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="QA"> - <name>Qatar</name> - <Alpha2>QA</Alpha2> - <Alpha3>QAT</Alpha3> - <IDC>974</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="RE"> - <name>Reunion</name> - <Alpha2>RE</Alpha2> - <Alpha3>REU</Alpha3> - <IDC>262</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="RO"> - <name>Romania</name> - <Alpha2>RO</Alpha2> - <Alpha3>ROU</Alpha3> - <IDC>40</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="RU"> - <name>Russian Federation</name> - <Alpha2>RU</Alpha2> - <Alpha3>RUS</Alpha3> - <IDC>7</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="RW"> - <name>Rwanda</name> - <Alpha2>RW</Alpha2> - <Alpha3>RWA</Alpha3> - <IDC>250</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="BL"> - <name>Saint Barthélemy</name> - <Alpha2>BL</Alpha2> - <Alpha3>BLM</Alpha3> - <IDC>590</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SH"> - <name>Saint Helena</name> - <Alpha2>SH</Alpha2> - <Alpha3>SHN</Alpha3> - <IDC>290</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="KN"> - <name>Saint Kitts and Nevis</name> - <Alpha2>KN</Alpha2> - <Alpha3>KNA</Alpha3> - <IDC>1869</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LC"> - <name>Saint Lucia</name> - <Alpha2>LC</Alpha2> - <Alpha3>LCA</Alpha3> - <IDC>1758</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="MF"> - <name>Saint Martin</name> - <Alpha2>MF</Alpha2> - <Alpha3>MAF</Alpha3> - <IDC>590</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="PM"> - <name>Saint Pierre and Miquelon</name> - <Alpha2>PM</Alpha2> - <Alpha3>SPM</Alpha3> - <IDC>508</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="VC"> - <name>Saint Vincent and The Grenadines</name> - <Alpha2>VC</Alpha2> - <Alpha3>VCT</Alpha3> - <IDC>1784</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="WS"> - <name>Samoa</name> - <Alpha2>WS</Alpha2> - <Alpha3>WSM</Alpha3> - <IDC>685</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SM"> - <name>San Marino</name> - <Alpha2>SM</Alpha2> - <Alpha3>SMR</Alpha3> - <IDC>378</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ST"> - <name>Sao Tome and Principe</name> - <Alpha2>ST</Alpha2> - <Alpha3>STP</Alpha3> - <IDC>239</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SA"> - <name>Saudi Arabia</name> - <Alpha2>SA</Alpha2> - <Alpha3>SAU</Alpha3> - <IDC>966</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SN"> - <name>Senegal</name> - <Alpha2>SN</Alpha2> - <Alpha3>SEN</Alpha3> - <IDC>221</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="RS"> - <name>Serbia</name> - <Alpha2>RS</Alpha2> - <Alpha3>SRB</Alpha3> - <IDC>381</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SC"> - <name>Seychelles</name> - <Alpha2>SC</Alpha2> - <Alpha3>SYC</Alpha3> - <IDC>248</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SL"> - <name>Sierra Leone</name> - <Alpha2>SL</Alpha2> - <Alpha3>SLE</Alpha3> - <IDC>232</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SG"> - <name>Singapore</name> - <Alpha2>SG</Alpha2> - <Alpha3>SGP</Alpha3> - <IDC>65</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SK"> - <name>Slovakia</name> - <Alpha2>SK</Alpha2> - <Alpha3>SVK</Alpha3> - <IDC>421</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SI"> - <name>Slovenia</name> - <Alpha2>SI</Alpha2> - <Alpha3>SVN</Alpha3> - <IDC>386</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SB"> - <name>Solomon Islands</name> - <Alpha2>SB</Alpha2> - <Alpha3>SLB</Alpha3> - <IDC>677</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SO"> - <name>Somalia</name> - <Alpha2>SO</Alpha2> - <Alpha3>SOM</Alpha3> - <IDC>252</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ZA"> - <name>South Africa</name> - <Alpha2>ZA</Alpha2> - <Alpha3>ZAF</Alpha3> - <IDC>27</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GS"> - <name>South Georgia and The South Sandwich Islands</name> - <Alpha2>GS</Alpha2> - <Alpha3>SGS</Alpha3> - <IDC>500</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ES"> - <name>Spain</name> - <Alpha2>ES</Alpha2> - <Alpha3>ESP</Alpha3> - <IDC>34</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="LK"> - <name>Sri Lanka</name> - <Alpha2>LK</Alpha2> - <Alpha3>LKA</Alpha3> - <IDC>94</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SD"> - <name>Sudan</name> - <Alpha2>SD</Alpha2> - <Alpha3>SDN</Alpha3> - <IDC>249</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SR"> - <name>Suriname</name> - <Alpha2>SR</Alpha2> - <Alpha3>SUR</Alpha3> - <IDC>597</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SJ"> - <name>Svalbard and Jan Mayen</name> - <Alpha2>SJ</Alpha2> - <Alpha3>SJM</Alpha3> - <IDC>47</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SZ"> - <name>Swaziland</name> - <Alpha2>SZ</Alpha2> - <Alpha3>SWZ</Alpha3> - <IDC>268</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SE"> - <name>Sweden</name> - <Alpha2>SE</Alpha2> - <Alpha3>SWE</Alpha3> - <IDC>46</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="CH"> - <name>Switzerland</name> - <Alpha2>CH</Alpha2> - <Alpha3>CHE</Alpha3> - <IDC>41</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="SY"> - <name>Syrian Arab Republic</name> - <Alpha2>SY</Alpha2> - <Alpha3>SYR</Alpha3> - <IDC>963</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TW"> - <name>Taiwan</name> - <Alpha2>TW</Alpha2> - <Alpha3>TWN</Alpha3> - <IDC>886</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TJ"> - <name>Tajikistan</name> - <Alpha2>TJ</Alpha2> - <Alpha3>TJK</Alpha3> - <IDC>992</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TZ"> - <name>Tanzania, United Republic of</name> - <Alpha2>TZ</Alpha2> - <Alpha3>TZA</Alpha3> - <IDC>255</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TH"> - <name>Thailand</name> - <Alpha2>TH</Alpha2> - <Alpha3>THA</Alpha3> - <IDC>66</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TL"> - <name>Timor-Leste</name> - <Alpha2>TL</Alpha2> - <Alpha3>TLS</Alpha3> - <IDC>670</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TG"> - <name>Togo</name> - <Alpha2>TG</Alpha2> - <Alpha3>TGO</Alpha3> - <IDC>228</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TK"> - <name>Tokelau</name> - <Alpha2>TK</Alpha2> - <Alpha3>TKL</Alpha3> - <IDC>690</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TO"> - <name>Tonga</name> - <Alpha2>TO</Alpha2> - <Alpha3>TON</Alpha3> - <IDC>676</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TT"> - <name>Trinidad and Tobago</name> - <Alpha2>TT</Alpha2> - <Alpha3>TTO</Alpha3> - <IDC>1868</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TN"> - <name>Tunisia</name> - <Alpha2>TN</Alpha2> - <Alpha3>TUN</Alpha3> - <IDC>216</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TR"> - <name>Turkey</name> - <Alpha2>TR</Alpha2> - <Alpha3>TUR</Alpha3> - <IDC>90</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TM"> - <name>Turkmenistan</name> - <Alpha2>TM</Alpha2> - <Alpha3>TKM</Alpha3> - <IDC>993</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TC"> - <name>Turks and Caicos Islands</name> - <Alpha2>TC</Alpha2> - <Alpha3>TCA</Alpha3> - <IDC>1649</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="TV"> - <name>Tuvalu</name> - <Alpha2>TV</Alpha2> - <Alpha3>TUV</Alpha3> - <IDC>688</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="UG"> - <name>Uganda</name> - <Alpha2>UG</Alpha2> - <Alpha3>UGA</Alpha3> - <IDC>256</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="UA"> - <name>Ukraine</name> - <Alpha2>UA</Alpha2> - <Alpha3>UKR</Alpha3> - <IDC>380</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="AE"> - <name>United Arab Emirates</name> - <Alpha2>AE</Alpha2> - <Alpha3>ARE</Alpha3> - <IDC>971</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="GB"> - <name>United Kingdom</name> - <Alpha2>GB</Alpha2> - <Alpha3>GBR</Alpha3> - <IDC>44</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="UM"> - <name>United States Minor Outlying Islands</name> - <Alpha2>UM</Alpha2> - <Alpha3>UMI</Alpha3> - <IDC>1</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="US"> - <name>United States of America</name> - <Alpha2>US</Alpha2> - <Alpha3>USA</Alpha3> - <IDC>1</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="UY"> - <name>Uruguay</name> - <Alpha2>UY</Alpha2> - <Alpha3>URY</Alpha3> - <IDC>598</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="UZ"> - <name>Uzbekistan</name> - <Alpha2>UZ</Alpha2> - <Alpha3>UZB</Alpha3> - <IDC>998</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="VU"> - <name>Vanuatu</name> - <Alpha2>VU</Alpha2> - <Alpha3>VUT</Alpha3> - <IDC>678</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="VA"> - <name>Holy See (Vatican City State)</name> - <Alpha2>VA</Alpha2> - <Alpha3>VAT</Alpha3> - <IDC>3906</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="VE"> - <name>Venezuela</name> - <Alpha2>VE</Alpha2> - <Alpha3>VEN</Alpha3> - <IDC>58</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="VN"> - <name>Viet Nam</name> - <Alpha2>VN</Alpha2> - <Alpha3>VNM</Alpha3> - <IDC>84</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="VG"> - <name>Virgin Islands, British</name> - <Alpha2>VG</Alpha2> - <Alpha3>VGB</Alpha3> - <IDC>1284</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="VI"> - <name>Virgin Islands, U.S.</name> - <Alpha2>VI</Alpha2> - <Alpha3>VIR</Alpha3> - <IDC>1340</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="WF"> - <name>Wallis and Futuna</name> - <Alpha2>WF</Alpha2> - <Alpha3>WLF</Alpha3> - <IDC>681</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="EH"> - <name>Western Sahara</name> - <Alpha2>EH</Alpha2> - <Alpha3>ESH</Alpha3> - <IDC>212</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="YE"> - <name>Yemen</name> - <Alpha2>YE</Alpha2> - <Alpha3>YEM</Alpha3> - <IDC>967</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ZM"> - <name>Zambia</name> - <Alpha2>ZM</Alpha2> - <Alpha3>ZMB</Alpha3> - <IDC>260</IDC> - </Country> - <Country media-type="application/vnd.ibexa.api.Country+xml" id="ZW"> - <name>Zimbabwe</name> - <Alpha2>ZW</Alpha2> - <Alpha3>ZWE</Alpha3> - <IDC>263</IDC> - </Country> -</CountryList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipments/GET/ShipmentRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/shipments/GET/ShipmentRefList.json.example deleted file mode 100644 index 0aa9caffa9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipments/GET/ShipmentRefList.json.example +++ /dev/null @@ -1,24 +0,0 @@ -{ - "ShipmentRefList": { - "_media-type": "application\/vnd.ibexa.api.ShipmentRefList+json", - "_href": "\/api\/ibexa\/v2\/shipments", - "shipmentRefList": [ - { - "_media-type": "application\/vnd.ibexa.api.Shipment+json", - "_href": "\/api\/ibexa\/v2\/shipments\/foo" - }, - { - "_media-type": "application\/vnd.ibexa.api.Shipment+json", - "_href": "\/api\/ibexa\/v2\/shipments\/bar" - }, - { - "_media-type": "application\/vnd.ibexa.api.Shipment+json", - "_href": "\/api\/ibexa\/v2\/shipments\/baz" - }, - { - "_media-type": "application\/vnd.ibexa.api.Shipment+json", - "_href": "\/api\/ibexa\/v2\/shipments\/qux" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipments/GET/ShipmentRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/shipments/GET/ShipmentRefList.xml.example deleted file mode 100644 index a6d1d0581e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipments/GET/ShipmentRefList.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ShipmentRefList media-type="application/vnd.ibexa.api.ShipmentRefList+xml" href="/api/ibexa/v2/shipments"> - <ShipmentRef media-type="application/vnd.ibexa.api.Shipment+xml" href="/api/ibexa/v2/shipments/foo"/> - <ShipmentRef media-type="application/vnd.ibexa.api.Shipment+xml" href="/api/ibexa/v2/shipments/bar"/> - <ShipmentRef media-type="application/vnd.ibexa.api.Shipment+xml" href="/api/ibexa/v2/shipments/baz"/> - <ShipmentRef media-type="application/vnd.ibexa.api.Shipment+xml" href="/api/ibexa/v2/shipments/qux"/> -</ShipmentRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/GET/Shipment.json.example b/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/GET/Shipment.json.example deleted file mode 100644 index f6beedc4c0..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/GET/Shipment.json.example +++ /dev/null @@ -1,33 +0,0 @@ -{ - "Shipment": { - "_media-type": "application\/vnd.ibexa.api.Shipment+json", - "_href": "\/api\/ibexa\/v2\/shipments\/ae741491-e80c-49f2-8a44-5163b4afa144", - "id": 1, - "identifier": "ae741491-e80c-49f2-8a44-5163b4afa144", - "status": "pending", - "transitions": { - "transitionList": [ - "prepare", - "cancel" - ] - }, - "Order": { - "_media-type": "application\/vnd.ibexa.api.Order+json", - "_href": "\/api\/ibexa\/v2\/orders\/order\/33f6db52-478f-41f1-afbe-6d38f6a4704f" - }, - "Amount": { - "value": "2257", - "currency": "EUR" - }, - "createdAt": "2023-06-26T15:40:28+02:00", - "updatedAt": "2023-06-26T15:40:28+02:00", - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "Method": { - "_media-type": "application\/vnd.ibexa.api.ShippingMethod+json", - "_href": "\/api\/ibexa\/v2\/shipping\/methods\/parcel_locker_delivery" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/GET/Shipment.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/GET/Shipment.xml.example deleted file mode 100644 index c4405a91eb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/GET/Shipment.xml.example +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Shipment media-type="application/vnd.ibexa.api.Shipment+xml" href="/api/ibexa/v2/shipments/ae741491-e80c-49f2-8a44-5163b4afa144"> - <id>1</id> - <identifier>ae741491-e80c-49f2-8a44-5163b4afa144</identifier> - <status>pending</status> - <transitions> - <transition>prepare</transition> - <transition>cancel</transition> - </transitions> - <Order media-type="application/vnd.ibexa.api.Order+xml" href="/api/ibexa/v2/orders/order/33f6db52-478f-41f1-afbe-6d38f6a4704f"/> - <Amount> - <value>2257</value> - <currency>EUR</currency> - </Amount> - <createdAt>2023-06-26T15:40:28+02:00</createdAt> - <updatedAt>2023-06-26T15:40:28+02:00</updatedAt> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Method media-type="application/vnd.ibexa.api.ShippingMethod+xml" href="/api/ibexa/v2/shipping/methods/parcel_locker_delivery"/> -</Shipment> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/Shipment.json.example b/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/Shipment.json.example deleted file mode 100644 index b894a3211a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/Shipment.json.example +++ /dev/null @@ -1,33 +0,0 @@ -{ - "Shipment": { - "_media-type": "application\/vnd.ibexa.api.Shipment+json", - "_href": "\/api\/ibexa\/v2\/shipments\/new_identifier", - "id": 1, - "identifier": "new_identifier", - "status": "prepared", - "transitions": { - "transitionList": [ - "send-to-carrier", - "cancel" - ] - }, - "Order": { - "_media-type": "application\/vnd.ibexa.api.Order+json", - "_href": "\/api\/ibexa\/v2\/orders\/order\/33f6db52-478f-41f1-afbe-6d38f6a4704f" - }, - "Amount": { - "value": "2257", - "currency": "EUR" - }, - "createdAt": "2023-06-26T15:40:28+02:00", - "updatedAt": "2023-06-26T15:40:28+02:00", - "Owner": { - "_media-type": "application\/vnd.ibexa.api.User+json", - "_href": "\/api\/ibexa\/v2\/user\/users\/14" - }, - "Method": { - "_media-type": "application\/vnd.ibexa.api.ShippingMethod+json", - "_href": "\/api\/ibexa\/v2\/shipping\/methods\/parcel_locker_delivery" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/Shipment.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/Shipment.xml.example deleted file mode 100644 index de61b2fe01..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/Shipment.xml.example +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Shipment media-type="application/vnd.ibexa.api.Shipment+xml" href="/api/ibexa/v2/shipments/new_identifier"> - <id>1</id> - <identifier>new_identifier</identifier> - <status>prepared</status> - <transitions> - <transition>send-to-carrier</transition> - <transition>cancel</transition> - </transitions> - <Order media-type="application/vnd.ibexa.api.Order+xml" href="/api/ibexa/v2/orders/order/33f6db52-478f-41f1-afbe-6d38f6a4704f"/> - <Amount> - <value>2257</value> - <currency>EUR</currency> - </Amount> - <createdAt>2023-06-26T15:40:28+02:00</createdAt> - <updatedAt>2023-06-26T15:40:28+02:00</updatedAt> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <Method media-type="application/vnd.ibexa.api.ShippingMethod+xml" href="/api/ibexa/v2/shipping/methods/parcel_locker_delivery"/> -</Shipment> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/ShipmentUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/ShipmentUpdate.json.example deleted file mode 100644 index 64f8e0a503..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/ShipmentUpdate.json.example +++ /dev/null @@ -1,14 +0,0 @@ -{ - "ShipmentUpdate": { - "identifier": "new_identifier", - "transition": "prepare", - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "Context": { - "item1": "value1", - "item2": "value2" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/ShipmentUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/ShipmentUpdate.xml.example deleted file mode 100644 index f4ac180786..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipments/identifier/PATCH/ShipmentUpdate.xml.example +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<ShipmentUpdate> - <identifier>new_identifier</identifier> - <transition>prepare</transition> - <Owner media-type='application/vnd.ibexa.api.User+json' href='/api/ibexa/v2/user/users/14'/> - <Context> - <item1>value1</item1> - <item2>value2</item2> - </Context> -</ShipmentUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/GET/ShippingMethodTypesList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/GET/ShippingMethodTypesList.json.example deleted file mode 100644 index 6fc75064f3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/GET/ShippingMethodTypesList.json.example +++ /dev/null @@ -1,20 +0,0 @@ -{ - "ShippingMethodTypesList": { - "_media-type": "application\/vnd.ibexa.api.ShippingMethodTypesList+json", - "_href": "\/api\/ibexa\/v2\/shipping\/method-types", - "ShippingMethodTypes": [ - { - "_media-type": "application\/vnd.ibexa.api.ShippingMethodType+json", - "_href": "\/api\/ibexa\/v2\/shipping\/method-types\/flat_rate", - "identifier": "flat_rate", - "name": "Flat rate" - }, - { - "_media-type": "application\/vnd.ibexa.api.ShippingMethodType+json", - "_href": "\/api\/ibexa\/v2\/shipping\/method-types\/free", - "identifier": "free", - "name": "Free shipping" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/GET/ShippingMethodTypesList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/GET/ShippingMethodTypesList.xml.example deleted file mode 100644 index 46c64c169e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/GET/ShippingMethodTypesList.xml.example +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ShippingMethodTypesList media-type="application/vnd.ibexa.api.ShippingMethodTypesList+xml" href="/api/ibexa/v2/shipping/method-types"> - <ShippingMethodType media-type="application/vnd.ibexa.api.ShippingMethodType+xml" href="/api/ibexa/v2/shipping/method-types/flat_rate"> - <identifier>flat_rate</identifier> - <name>Flat rate</name> - </ShippingMethodType> - <ShippingMethodType media-type="application/vnd.ibexa.api.ShippingMethodType+xml" href="/api/ibexa/v2/shipping/method-types/free"> - <identifier>free</identifier> - <name>Free shipping</name> - </ShippingMethodType> -</ShippingMethodTypesList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/identifier/GET/ShippingMethodType.json.example b/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/identifier/GET/ShippingMethodType.json.example deleted file mode 100644 index 24645eba59..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/identifier/GET/ShippingMethodType.json.example +++ /dev/null @@ -1,8 +0,0 @@ -{ - "ShippingMethodType": { - "_media-type": "application\/vnd.ibexa.api.ShippingMethodType+json", - "_href": "\/api\/ibexa\/v2\/shipping\/method-types\/flat_rate", - "identifier": "flat_rate", - "name": "Flat rate" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/identifier/GET/ShippingMethodType.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/identifier/GET/ShippingMethodType.xml.example deleted file mode 100644 index 229bbc934a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipping/method-types/identifier/GET/ShippingMethodType.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ShippingMethodType media-type="application/vnd.ibexa.api.ShippingMethodType+xml" href="/api/ibexa/v2/shipping/method-types/flat_rate"> - <identifier>flat_rate</identifier> - <name>Flat rate</name> -</ShippingMethodType> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/GET/ShippingMethodRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/GET/ShippingMethodRefList.json.example deleted file mode 100644 index 8ecbff094f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/GET/ShippingMethodRefList.json.example +++ /dev/null @@ -1,16 +0,0 @@ -{ - "ShippingMethodRefList": { - "_media-type": "application\/vnd.ibexa.api.ShippingMethodRefList+json", - "_href": "\/api\/ibexa\/v2\/shipping\/methods", - "ShippingMethodRefs": [ - { - "_media-type": "application\/vnd.ibexa.api.ShippingMethod+json", - "_href": "\/api\/ibexa\/v2\/shipping\/methods\/parcel_delivery" - }, - { - "_media-type": "application\/vnd.ibexa.api.ShippingMethod+json", - "_href": "\/api\/ibexa\/v2\/shipping\/methods\/parcel_locker_delivery" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/GET/ShippingMethodRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/GET/ShippingMethodRefList.xml.example deleted file mode 100644 index c623326382..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/GET/ShippingMethodRefList.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ShippingMethodRefList media-type="application/vnd.ibexa.api.ShippingMethodRefList+xml" href="/api/ibexa/v2/shipping/methods"> - <ShippingMethodRef media-type="application/vnd.ibexa.api.ShippingMethod+xml" href="/api/ibexa/v2/shipping/methods/parcel_delivery"/> - <ShippingMethodRef media-type="application/vnd.ibexa.api.ShippingMethod+xml" href="/api/ibexa/v2/shipping/methods/parcel_locker_delivery"/> -</ShippingMethodRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/identifier/GET/ShippingMethod.json.example b/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/identifier/GET/ShippingMethod.json.example deleted file mode 100644 index 93eff491b7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/identifier/GET/ShippingMethod.json.example +++ /dev/null @@ -1,58 +0,0 @@ -{ - "ShippingMethod": { - "_media-type": "application\/vnd.ibexa.api.ShippingMethod+json", - "_href": "\/api\/ibexa\/v2\/shipping\/methods\/method1", - "identifier": "method1", - "name": "AmE Method 1", - "names": { - "value": [ - { - "_languageCode": "eng-US", - "#text": "AmE Method 1" - }, - { - "_languageCode": "eng-GB", - "#text": "BrE Method 1" - } - ] - }, - "description": "AmE Description of Method 1", - "descriptions": { - "value": [ - { - "_languageCode": "eng-US", - "#text": "AmE Description of Method 1" - }, - { - "_languageCode": "eng-GB", - "#text": "BrE Description of Method 1" - } - ] - }, - "enabled": true, - "options": { - "option": [ - { - "_key": "price", - "#text": "20.0000" - }, - { - "_key": "currency", - "#text": "EUR" - } - ] - }, - "regions": { - "RegionRefList": [ - { - "_media-type": "application\/vnd.ibexa.api.Region+json", - "_href": "\/api\/ibexa\/v2\/product\/catalog\/regions\/default" - } - ] - }, - "type": { - "_media-type": "application\/vnd.ibexa.api.ShippingMethodType+json", - "_href": "\/api\/ibexa\/v2\/shipping\/method-types\/flat_rate" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/identifier/GET/ShippingMethod.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/identifier/GET/ShippingMethod.xml.example deleted file mode 100644 index 62d82010a1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/shipping/methods/identifier/GET/ShippingMethod.xml.example +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ShippingMethod media-type="application/vnd.ibexa.api.ShippingMethod+xml" href="/api/ibexa/v2/shipping/methods/method1"> - <identifier>method1</identifier> - <name>AmE Method 1</name> - <names> - <value languageCode="eng-US">AmE Method 1</value> - <value languageCode="eng-GB">BrE Method 1</value> - </names> - <description>AmE Description of Method 1</description> - <descriptions> - <value languageCode="eng-US">AmE Description of Method 1</value> - <value languageCode="eng-GB">BrE Description of Method 1</value> - </descriptions> - <enabled>true</enabled> - <options> - <value key="price">20.0000</value> - <value key="currency">EUR</value> - </options> - <regions> - <RegionRef media-type="application/vnd.ibexa.api.Region+xml" href="/api/ibexa/v2/product/catalog/regions/default"/> - </regions> - <type media-type="application/vnd.ibexa.api.ShippingMethodType+xml" href="/api/ibexa/v2/shipping/method-types/flat_rate"/> -</ShippingMethod> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/GET/EntryAssignmentCollection.json.example b/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/GET/EntryAssignmentCollection.json.example deleted file mode 100644 index 1f4da980d3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/GET/EntryAssignmentCollection.json.example +++ /dev/null @@ -1,118 +0,0 @@ -{ - "EntryAssignmentCollection": { - "_media-type": "application/vnd.ibexa.api.EntryAssignmentCollection+json", - "content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/1", - "_remoteId": "9459d3c29e15006e45197295722c7ade", - "_id": 1, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1" - }, - "Name": "Ibexa Platform", - "TranslatedName": "Ibexa Platform", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/1/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/1/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/1/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2023-01-01T00:00:00+00:00", - "publishedDate": "2015-11-30T13:10:46+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 10, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/1/objectstates" - } - } - }, - "assignments": [ - { - "_media-type": "application/vnd.ibexa.api.TaxonomyEntryAssignment+json", - "id": 1, - "content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/1", - "_remoteId": "9459d3c29e15006e45197295722c7ade", - "_id": 1, - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/1" - }, - "Name": "Ibexa Platform", - "TranslatedName": "Ibexa Platform", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/1/versions" - }, - "CurrentVersion": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/1/currentversion" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/1" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/1/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "lastModificationDate": "2023-01-01T00:00:00+00:00", - "publishedDate": "2015-11-30T13:10:46+00:00", - "mainLanguageCode": "eng-GB", - "currentVersionNo": 10, - "alwaysAvailable": true, - "isHidden": false, - "status": "PUBLISHED", - "ObjectStates": { - "_media-type": "application/vnd.ibexa.api.ContentObjectStates+json", - "_href": "/api/ibexa/v2/content/objects/1/objectstates" - } - } - }, - "entry": { - "_media-type": "application/vnd.ibexa.api.TaxonomyEntry+json", - "TaxonomyEntry": { - "_media-type": "application/vnd.ibexa.api.TaxonomyEntry+json", - "id": 3, - "identifier": "example", - "name": "Example", - "contentId": 65, - "content": { - "_media-type": "application/vnd.ibexa.api.Content+json", - "_href": "/api/ibexa/v2/content/objects/65" - }, - "taxonomy": "tags" - } - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/GET/EntryAssignmentCollection.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/GET/EntryAssignmentCollection.xml.example deleted file mode 100644 index 08ed4e57a0..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/GET/EntryAssignmentCollection.xml.example +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<EntryAssignmentCollection media-type="application/vnd.ibexa.api.EntryAssignmentCollection+xml"> - <content media-type="application/vnd.ibexa.api.Content+xml"> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/1" remoteId="9459d3c29e15006e45197295722c7ade" id="1"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"/> - <Name>Ibexa Platform</Name> - <TranslatedName>Ibexa Platform</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/1/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/1/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/1/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2023-01-01T00:00:00+00:00</lastModificationDate> - <publishedDate>2015-11-30T13:10:46+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>10</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/1/objectstates"/> - </Content> - </content> - <TaxonomyEntryAssignment media-type="application/vnd.ibexa.api.TaxonomyEntryAssignment+xml"> - <id>1</id> - <content media-type="application/vnd.ibexa.api.Content+xml"> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/1" remoteId="9459d3c29e15006e45197295722c7ade" id="1"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/1"/> - <Name>Ibexa Platform</Name> - <TranslatedName>Ibexa Platform</TranslatedName> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/1/versions"/> - <CurrentVersion media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/1/currentversion"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/1"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/1/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <lastModificationDate>2023-01-01T00:00:00+00:00</lastModificationDate> - <publishedDate>2015-11-30T13:10:46+00:00</publishedDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <currentVersionNo>10</currentVersionNo> - <alwaysAvailable>true</alwaysAvailable> - <isHidden>false</isHidden> - <status>PUBLISHED</status> - <ObjectStates media-type="application/vnd.ibexa.api.ContentObjectStates+xml" href="/api/ibexa/v2/content/objects/1/objectstates"/> - </Content> - </content> - <entry media-type="application/vnd.ibexa.api.TaxonomyEntry+xml"> - <TaxonomyEntry media-type="application/vnd.ibexa.api.TaxonomyEntry+xml"> - <id>3</id> - <identifier>example</identifier> - <name>Example</name> - <contentId>65</contentId> - <content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/65"/> - <taxonomy>tags</taxonomy> - </TaxonomyEntry> - </entry> - </TaxonomyEntryAssignment> -</EntryAssignmentCollection> \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/POST/TaxonomyEntryAssignToContent.json.example b/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/POST/TaxonomyEntryAssignToContent.json.example deleted file mode 100644 index 20e97775eb..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/POST/TaxonomyEntryAssignToContent.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "TaxonomyEntryAssignToContent": { - "content": 130, - "entries": - [ - 2, 3 - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/POST/TaxonomyEntryUnassignFromContent.json.example b/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/POST/TaxonomyEntryUnassignFromContent.json.example deleted file mode 100644 index b27764b95c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/POST/TaxonomyEntryUnassignFromContent.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "TaxonomyEntryUnassignFromContent": { - "content": 130, - "entries": - [ - 2, 3 - ] - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/entries/DELETE/TaxonomyEntryBulkRemove.json.example b/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/entries/DELETE/TaxonomyEntryBulkRemove.json.example deleted file mode 100644 index d2cb465ee3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/entries/DELETE/TaxonomyEntryBulkRemove.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "TaxonomyEntryBulkRemove": { - "entries": [ 2, 3 ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/entries/move/POST/TaxonomyEntryBulkMove.json.example b/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/entries/move/POST/TaxonomyEntryBulkMove.json.example deleted file mode 100644 index e9bae9613f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/taxonomy/entries/move/POST/TaxonomyEntryBulkMove.json.example +++ /dev/null @@ -1,16 +0,0 @@ -{ - "TaxonomyEntryBulkMove": { - "entries": [ - { - "entry": 2, - "sibling": 1, - "position": "next" - }, - { - "entry": 3, - "sibling": 1, - "position": "prev" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/GET/UserGroupList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/GET/UserGroupList.json.example deleted file mode 100644 index afe640263e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/GET/UserGroupList.json.example +++ /dev/null @@ -1,156 +0,0 @@ -{ - "UserGroupList": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/groups", - "UserGroup": [ - { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/15", - "_id": 14, - "_remoteId": "1bb4fe25487f05527efa8bfd394cecc7", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/4" - }, - "name": "Administrator User", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/14/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/13/15" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/14/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "publishDate": "2002-10-06T16:13:50+00:00", - "lastModificationDate": "2011-03-25T14:07:04+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/14/versions/3", - "VersionInfo": { - "id": 499, - "versionNo": 3, - "status": "PUBLISHED", - "modificationDate": "2011-03-25T14:07:04+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2011-03-25T14:03:03+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Administrator User" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/14" - } - }, - "Fields": { - "field": [ - { - "id": 28, - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Administrator" - }, - { - "id": 29, - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "User" - }, - { - "id": 30, - "fieldDefinitionIdentifier": "user_account", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezuser", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 14, - "login": "admin", - "email": "admin@link.invalid", - "passwordUpdatedAt": null, - "enabled": true, - "maxLogin": 10, - "plainPassword": null - } - }, - { - "id": 178, - "fieldDefinitionIdentifier": "signature", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "eztext", - "fieldValue": null - }, - { - "id": 180, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimage", - "fieldValue": null - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/14/versions/3/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "ParentUserGroup": { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13" - }, - "Subgroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/15/subgroups" - }, - "Users": { - "_media-type": "application/vnd.ibexa.api.UserList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/15/users" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/15/roles" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/GET/UserGroupList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/GET/UserGroupList.xml.example deleted file mode 100644 index a6ea1d93f6..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/GET/UserGroupList.xml.example +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroupList media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups"> - <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13/15" id="14" remoteId="1bb4fe25487f05527efa8bfd394cecc7"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> - <name>Administrator User</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/14/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/13/15"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/14/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <publishDate>2002-10-06T16:13:50+00:00</publishDate> - <lastModificationDate>2011-03-25T14:07:04+00:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/14/versions/3"> - <VersionInfo> - <id>499</id> - <versionNo>3</versionNo> - <status>PUBLISHED</status> - <modificationDate>2011-03-25T14:07:04+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2011-03-25T14:03:03+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Administrator User</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/14"/> - </VersionInfo> - <Fields> - <field> - <id>28</id> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Administrator</fieldValue> - </field> - <field> - <id>29</id> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>User</fieldValue> - </field> - <field> - <id>30</id> - <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezuser</fieldTypeIdentifier> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">14</value> - <value key="login">admin</value> - <value key="email">admin@link.invalid</value> - <value key="passwordUpdatedAt"/> - <value key="enabled">true</value> - <value key="maxLogin">10</value> - <value key="plainPassword"/> - </fieldValue> - </field> - <field> - <id>178</id> - <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>eztext</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>180</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimage</fieldTypeIdentifier> - <fieldValue/> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/14/versions/3/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13"/> - <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/subgroups"/> - <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/users"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/13/15/roles"/> - </UserGroup> -</UserGroupList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/subgroups/GET/UserGroupRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/subgroups/GET/UserGroupRefList.json.example deleted file mode 100644 index 56b569809d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/subgroups/GET/UserGroupRefList.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "UserGroupRefList": { - "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json", - "_href": "/api/ibexa/v2/user/groups/13/subgroups", - "UserGroup": [ - { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/112" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/subgroups/GET/UserGroupRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/subgroups/GET/UserGroupRefList.xml.example deleted file mode 100644 index 2ec89ff11e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/subgroups/GET/UserGroupRefList.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroupRefList media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/groups/13/subgroups"> - <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13/112"/> -</UserGroupRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/users/GET/UserRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/users/GET/UserRefList.json.example deleted file mode 100644 index 1df6338d78..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/users/GET/UserRefList.json.example +++ /dev/null @@ -1,16 +0,0 @@ -{ - "UserRefList": { - "_media-type": "application/vnd.ibexa.api.UserRefList+json", - "_href": "/api/ibexa/v2/user/groups/13/users", - "User": [ - { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/113" - }, - { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/users/GET/UserRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/users/GET/UserRefList.xml.example deleted file mode 100644 index 633e04a033..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/id/users/GET/UserRefList.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserRefList media-type="application/vnd.ibexa.api.UserRefList+xml" href="/api/ibexa/v2/user/groups/13/users"> - <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/113"/> - <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> -</UserRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/GET/UserGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/GET/UserGroup.json.example deleted file mode 100644 index 56f81323ad..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/GET/UserGroup.json.example +++ /dev/null @@ -1,120 +0,0 @@ -{ - "UserGroup": { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13", - "_id": 12, - "_remoteId": "9b47a45624b023b1a76c73b74d704acf", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/3" - }, - "name": "Administrator users", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/12/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/13" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/12/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "publishDate": "2002-10-06T16:12:55+00:00", - "lastModificationDate": "2002-10-06T16:12:55+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/12/versions/1", - "VersionInfo": { - "id": 440, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2002-10-06T16:12:55+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2002-10-06T16:12:40+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Administrator users" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/12" - } - }, - "Fields": { - "field": [ - { - "id": 24, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Administrator users" - }, - { - "id": 25, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": null - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/12/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user_group", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "ParentUserGroup": { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5" - }, - "Subgroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/subgroups" - }, - "Users": { - "_media-type": "application/vnd.ibexa.api.UserList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/users" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/roles" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/GET/UserGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/GET/UserGroup.xml.example deleted file mode 100644 index 2145db50af..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/GET/UserGroup.xml.example +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13" id="12" remoteId="9b47a45624b023b1a76c73b74d704acf"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/3"/> - <name>Administrator users</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/12/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/13"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/12/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <publishDate>2002-10-06T16:12:55+00:00</publishDate> - <lastModificationDate>2002-10-06T16:12:55+00:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/12/versions/1"> - <VersionInfo> - <id>440</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2002-10-06T16:12:55+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2002-10-06T16:12:40+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Administrator users</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/12"/> - </VersionInfo> - <Fields> - <field> - <id>24</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Administrator users</fieldValue> - </field> - <field> - <id>25</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue/> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/12/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user_group</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5"/> - <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/13/subgroups"/> - <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/13/users"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/13/roles"/> -</UserGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroup.json.example deleted file mode 100644 index 56f81323ad..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroup.json.example +++ /dev/null @@ -1,120 +0,0 @@ -{ - "UserGroup": { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13", - "_id": 12, - "_remoteId": "9b47a45624b023b1a76c73b74d704acf", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/3" - }, - "name": "Administrator users", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/12/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/13" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/12/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "publishDate": "2002-10-06T16:12:55+00:00", - "lastModificationDate": "2002-10-06T16:12:55+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/12/versions/1", - "VersionInfo": { - "id": 440, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2002-10-06T16:12:55+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2002-10-06T16:12:40+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Administrator users" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/12" - } - }, - "Fields": { - "field": [ - { - "id": 24, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Administrator users" - }, - { - "id": 25, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": null - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/12/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user_group", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "ParentUserGroup": { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5" - }, - "Subgroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/subgroups" - }, - "Users": { - "_media-type": "application/vnd.ibexa.api.UserList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/users" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13/roles" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroup.xml.example deleted file mode 100644 index 2145db50af..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroup.xml.example +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13" id="12" remoteId="9b47a45624b023b1a76c73b74d704acf"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/3"/> - <name>Administrator users</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/12/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/13"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/12/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <publishDate>2002-10-06T16:12:55+00:00</publishDate> - <lastModificationDate>2002-10-06T16:12:55+00:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/12/versions/1"> - <VersionInfo> - <id>440</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2002-10-06T16:12:55+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2002-10-06T16:12:40+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Administrator users</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/12"/> - </VersionInfo> - <Fields> - <field> - <id>24</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Administrator users</fieldValue> - </field> - <field> - <id>25</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue/> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/12/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user_group</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5"/> - <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/13/subgroups"/> - <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/13/users"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/13/roles"/> -</UserGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroupUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroupUpdate.json.example deleted file mode 100644 index 2705265452..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroupUpdate.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "UserGroupUpdate":{ - "Section": { - "_href": "/api/ibexa/v2/content/sections/2" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroupUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroupUpdate.xml.example deleted file mode 100644 index 1cda91de1f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/PATCH/UserGroupUpdate.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroupUpdate> - <Section href="/api/ibexa/v2/content/sections/2" /> -</UserGroupUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/GET/RoleAssigmentList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/GET/RoleAssigmentList.json.example deleted file mode 100644 index 2a429ff570..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/GET/RoleAssigmentList.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "RoleAssignment": { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/groups/1/42/44/roles/1", - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/1" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/GET/RoleAssignmentList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/GET/RoleAssignmentList.xml.example deleted file mode 100644 index 4441ea6dd2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/GET/RoleAssignmentList.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/groups/1/42/44/roles/1"> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/1"/> -</RoleAssignment> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignInput.json.example deleted file mode 100644 index ede4f8fc34..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignInput.json.example +++ /dev/null @@ -1,22 +0,0 @@ -{ - "RoleAssignInput": { - "Role": { - "_href": "/api/ibexa/v2/user/roles/2" - }, - "limitation": { - "_identifier": "Section", - "values": { - "ref": [ - { - "_href": "/api/ibexa/v2/content/sections/1", - "_media-type": "application/vnd.ibexa.api.Section+json" - }, - { - "_href": "/api/ibexa/v2/content/sections/4", - "_media-type": "application/vnd.ibexa.api.Section+json" - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignInput.xml.example deleted file mode 100644 index ddaefdad16..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignInput.xml.example +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignInput> - <Role href="/api/ibexa/v2/user/roles/10" media-type="application/vnd.ibexa.api.RoleAssignInput+xml"/> - <limitation identifier="Section"> - <values> - <ref href="/api/ibexa/v2/content/sections/1" media-type="application/vnd.ibexa.api.Section+xml" /> - <ref href="/api/ibexa/v2/content/sections/4" media-type="application/vnd.ibexa.api.Section+xml" /> - </values> - </limitation> -</RoleAssignInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignmentList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignmentList.json.example deleted file mode 100644 index 4be3810501..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignmentList.json.example +++ /dev/null @@ -1,16 +0,0 @@ -{ - "RoleAssignmentList": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/groups/1/12/2/roles", - "RoleAssignment": [ - { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/groups/1/12/2/roles/2", - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/2" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignmentList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignmentList.xml.example deleted file mode 100644 index 28f7279ec3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignmentList.xml.example +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignmentList media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/65/roles"> -<RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/groups/1/5/65/roles/3"> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1"/> - </values> - </limitation> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/3"/> -</RoleAssignment> -<RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/groups/1/5/65/roles/10"> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1"/> - </values> - </limitation> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/10"/> -</RoleAssignment> -<RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/groups/1/5/65/roles/10"> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="4"/> - </values> - </limitation> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/10"/> -</RoleAssignment> -</RoleAssignmentList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/DELETE/RoleAssignmentList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/DELETE/RoleAssignmentList.json.example deleted file mode 100644 index 98d139c129..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/DELETE/RoleAssignmentList.json.example +++ /dev/null @@ -1,27 +0,0 @@ -{ - "RoleAssignmentList": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/groups/1/57/58/roles", - "RoleAssignment": [ - { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/groups/1/57/58/roles/3", - "limitation": { - "_identifier": "Section", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "1" - } - ] - } - }, - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/3" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/DELETE/RoleAssignmentList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/DELETE/RoleAssignmentList.xml.example deleted file mode 100644 index 5c7da74a6f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/DELETE/RoleAssignmentList.xml.example +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignmentList media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/65/roles"> -<RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/groups/1/5/65/roles/3"> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1"/> - </values> - </limitation> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/3"/> -</RoleAssignment> -</RoleAssignmentList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/GET/RoleAssignment.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/GET/RoleAssignment.json.example deleted file mode 100644 index 3db7d95a4b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/GET/RoleAssignment.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "RoleAssignment": { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/groups/1/11/12/roles/1", - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/1" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/GET/RoleAssignment.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/GET/RoleAssignment.xml.example deleted file mode 100644 index 3676220009..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/role_id/GET/RoleAssignment.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/groups/1/11/12/roles/1"> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/1"/> -</RoleAssignment> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroup.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroup.json.example deleted file mode 100644 index ffa7a38f48..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroup.json.example +++ /dev/null @@ -1,120 +0,0 @@ -{ - "UserGroup": { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/81", - "_id": 87, - "_remoteId": "remoteId-qwert098", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/3" - }, - "name": "UserGroup2", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/87/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/81" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/87/locations" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "publishDate": "2021-08-09T09:06:49+00:00", - "lastModificationDate": "2021-08-09T09:06:49+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/87/versions/1", - "VersionInfo": { - "id": 578, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2021-08-09T09:06:49+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2021-08-09T09:06:49+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "UserGroup2" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/87" - } - }, - "Fields": { - "field": [ - { - "id": 384, - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "UserGroup2" - }, - { - "id": 385, - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "This is the description of the user group" - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/87/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user_group", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "ParentUserGroup": { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5" - }, - "Subgroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/81/subgroups" - }, - "Users": { - "_media-type": "application/vnd.ibexa.api.UserList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/81/users" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/groups/1/5/81/roles" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroup.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroup.xml.example deleted file mode 100644 index 7f182f8de9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroup.xml.example +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/79" id="85" remoteId="remoteId-qwert098"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/3"/> - <name>UserGroup2</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/85/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/79"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/85/locations"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <publishDate>2021-08-09T09:03:35+00:00</publishDate> - <lastModificationDate>2021-08-09T09:03:35+00:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/85/versions/1"> - <VersionInfo> - <id>576</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2021-08-09T09:03:35+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2021-08-09T09:03:35+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">UserGroup2</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/85"/> - </VersionInfo> - <Fields> - <field> - <id>380</id> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>UserGroup2</fieldValue> - </field> - <field> - <id>381</id> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>This is the description of the user group</fieldValue> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/85/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user_group</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <ParentUserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5"/> - <Subgroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/groups/1/5/79/subgroups"/> - <Users media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/groups/1/5/79/users"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/groups/1/5/79/roles"/> -</UserGroup> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroupCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroupCreate.json.example deleted file mode 100644 index 876e65bdf2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroupCreate.json.example +++ /dev/null @@ -1,20 +0,0 @@ -{ - "UserGroupCreate": { - "mainLanguageCode": "eng-GB", - "remoteId": "remoteId-qwert098", - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "name", - "languageCode": "eng-GB", - "fieldValue": "UserGroup2" - }, - { - "fieldDefinitionIdentifier": "description", - "languageCode": "eng-GB", - "fieldValue": "This is the description of the user group" - } - ] - } - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroupCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroupCreate.xml.example deleted file mode 100644 index 2ae0b4aaab..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/subgroups/POST/UserGroupCreate.xml.example +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroupCreate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <remoteId>remoteId-qwert098</remoteId> - <fields> - <field> - <fieldDefinitionIdentifier>name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldValue>UserGroup</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>description</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldValue>This is the description of the user group</fieldValue> - </field> - </fields> -</UserGroupCreate> \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/User.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/User.json.example deleted file mode 100644 index c0866de65f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/User.json.example +++ /dev/null @@ -1,149 +0,0 @@ -{ - "User": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/57", - "_id": 57, - "_remoteId": "remoteId-qwert426", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/4" - }, - "name": "Yura Rajzer", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/57/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/13/58" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/57/locations" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json", - "_href": "/api/ibexa/v2/user/users/57/groups" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "publishDate": "2021-08-11T13:52:13+00:00", - "lastModificationDate": "2021-08-11T13:52:13+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/57/versions/1", - "VersionInfo": { - "id": 517, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2021-08-11T13:52:13+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2021-08-11T13:52:13+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Yura Rajzer" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/57" - } - }, - "Fields": { - "field": [ - { - "id": 262, - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Yura" - }, - { - "id": 263, - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Rajzer" - }, - { - "id": 264, - "fieldDefinitionIdentifier": "user_account", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezuser", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 57, - "login": "yura", - "email": "yurarajzer@example.net", - "passwordUpdatedAt": 1628689933, - "enabled": true, - "maxLogin": 0, - "plainPassword": null - } - }, - { - "id": 265, - "fieldDefinitionIdentifier": "signature", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "eztext", - "fieldValue": null - }, - { - "id": 266, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimage", - "fieldValue": null - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/57/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "login": "yura", - "email": "yurarajzer@example.net", - "enabled": true, - "UserGroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/users/57/groups" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/users/57/roles" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/User.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/User.xml.example deleted file mode 100644 index bbe48cbe9e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/User.xml.example +++ /dev/null @@ -1,86 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/59" id="59" remoteId="remoteId-qwert426"> -<ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> -<name>Yura Rajzer</name> -<Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/59/versions"/> -<Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> -<MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/65/67"/> -<Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/59/locations"/> -<Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/59/groups"/> -<Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> -<publishDate>2019-02-27T11:23:42+01:00</publishDate> -<lastModificationDate>2019-02-27T11:23:42+01:00</lastModificationDate> -<mainLanguageCode>eng-GB</mainLanguageCode> -<alwaysAvailable>true</alwaysAvailable> -<Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/59/versions/1"> - <VersionInfo> - <id>515</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2019-02-27T11:23:42+01:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2019-02-27T11:23:42+01:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Yura Rajzer</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/59"/> - </VersionInfo> - <Fields> - <field> - <id>207</id> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Yura</fieldValue> - </field> - <field> - <id>208</id> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Rajzer</fieldValue> - </field> - <field> - <id>209</id> - <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezuser</fieldTypeIdentifier> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">59</value> - <value key="login">yura</value> - <value key="email">yurarajzer@example.net</value> - <value key="enabled">true</value> - <value key="maxLogin">0</value> - </fieldValue> - </field> - <field> - <id>210</id> - <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>eztext</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>211</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimage</fieldTypeIdentifier> - <fieldValue/> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/59/versions/1/relations"/> -</Version> -<login>yura</login> -<email>yurarajzer@example.net</email> -<enabled>true</enabled> -<UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/59/groups"/> -<Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/59/roles"/> -</User> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/UserCreate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/UserCreate.json.example deleted file mode 100644 index d403e53245..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/UserCreate.json.example +++ /dev/null @@ -1,35 +0,0 @@ -{ - "UserCreate": { - "mainLanguageCode": "eng-GB", - "remoteId": "remoteId-23456789", - "login": "johnsmith2", - "email": "example@example.com", - "password": "Secrepassword5!", - "fields": { - "field": [ - { - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldValue": "John" - }, - { - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldValue": "Smith" - }, - { - "fieldDefinitionIdentifier": "user_account", - "languageCode": "eng-GB", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 14, - "login": "johnsmith", - "email": "example@example.com", - "enabled": true, - "maxLogin": 10 - } - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/UserCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/UserCreate.xml.example deleted file mode 100644 index 1c281381e2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/users/POST/UserCreate.xml.example +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserCreate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <remoteId>remoteId-23456789</remoteId> - <login>johnsmith</login> - <email>example@example.com</email> - <password>Secrepassword5!</password> - <fields> - <field> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldValue>John</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldValue>Smith</fieldValue> - </field> - <field> - <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">14</value> - <value key="login">johnsmith</value> - <value key="email">example@example.com</value> - <value key="enabled">true</value> - <value key="maxLogin">10</value> - </fieldValue> - </field> - </fields> -</UserCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/policies/GET/PolicyList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/policies/GET/PolicyList.json.example deleted file mode 100644 index 05f6b541d4..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/policies/GET/PolicyList.json.example +++ /dev/null @@ -1,104 +0,0 @@ -{ - "PolicyList": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/policies", - "Policy": [ - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/349", - "id": 349, - "module": "content", - "function": "read", - "limitations": { - "limitation": [ - { - "_identifier": "Section", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "1" - }, - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "3" - }, - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "6" - } - ] - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/350", - "id": 350, - "module": "user", - "function": "login", - "limitations": { - "limitation": [ - { - "_identifier": "SiteAccess", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "2282622326" - }, - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "1766001124" - } - ] - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/351", - "id": 351, - "module": "content", - "function": "view_embed", - "limitations": { - "limitation": [ - { - "_identifier": "Class", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "5" - }, - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "12" - } - ] - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/352", - "id": 352, - "module": "user", - "function": "register" - }, - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/353", - "id": 353, - "module": "user", - "function": "password" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/policies/GET/PolicyList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/policies/GET/PolicyList.xml.example deleted file mode 100644 index 6f546c316b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/policies/GET/PolicyList.xml.example +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<PolicyList media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/policies"> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/349"> - <id>349</id> - <module>content</module> - <function>read</function> - <limitations> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1"/> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="3"/> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="6"/> - </values> - </limitation> - </limitations> - </Policy> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/350"> - <id>350</id> - <module>user</module> - <function>login</function> - <limitations> - <limitation identifier="SiteAccess"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="2282622326"/> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1766001124"/> - </values> - </limitation> - </limitations> - </Policy> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/351"> - <id>351</id> - <module>content</module> - <function>view_embed</function> - <limitations> - <limitation identifier="Class"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="5"/> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="12"/> - </values> - </limitation> - </limitations> - </Policy> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/352"> - <id>352</id> - <module>user</module> - <function>register</function> - </Policy> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/353"> - <id>353</id> - <module>user</module> - <function>password</function> - </Policy> -</PolicyList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/GET/RoleList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/GET/RoleList.json.example deleted file mode 100644 index 6cdbc21f21..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/GET/RoleList.json.example +++ /dev/null @@ -1,71 +0,0 @@ -{ - "RoleList": { - "_media-type": "application/vnd.ibexa.api.RoleList+json", - "_href": "/api/ibexa/v2/user/roles", - "Role": [ - { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/1", - "identifier": "Anonymous", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/1/policies" - } - }, - { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/2", - "identifier": "Administrator", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/2/policies" - } - }, - { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/3", - "identifier": "Editor", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/3/policies" - } - }, - { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/4", - "identifier": "Member", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/4/policies" - } - }, - { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/10", - "identifier": "NewRole", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/10/policies" - } - }, - { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/14", - "identifier": "NewRole5", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/14/policies" - } - }, - { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/15", - "identifier": "NewRole7", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/15/policies" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/GET/RoleList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/GET/RoleList.xml.example deleted file mode 100644 index a408cb4262..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/GET/RoleList.xml.example +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleList media-type="application/vnd.ibexa.api.RoleList+xml" href="/api/ibexa/v2/user/roles"> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/1"> - <identifier>Anonymous</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/1/policies"/> - </Role> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/2"> - <identifier>Administrator</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/2/policies"/> - </Role> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/3"> - <identifier>Editor</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/3/policies"/> - </Role> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/4"> - <identifier>Member</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/4/policies"/> - </Role> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/10"> - <identifier>NewRole</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/10/policies"/> - </Role> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/14"> - <identifier>NewRole5</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/14/policies"/> - </Role> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/15"> - <identifier>NewRole7</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/15/policies"/> - </Role> -</RoleList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/Role.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/Role.json.example deleted file mode 100644 index f262428111..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/Role.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/21", - "identifier": "NewRole", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/21/policies" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/Role.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/Role.xml.example deleted file mode 100644 index 0d7808c865..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/Role.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/19"> - <identifier>NewRole</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/19/policies"/> -</Role> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/RoleInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/RoleInput.json.example deleted file mode 100644 index c2cfef57ef..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/RoleInput.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "RoleInput": { - "identifier": "NewRole" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/RoleInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/RoleInput.xml.example deleted file mode 100644 index febdc5635e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/POST/RoleInput.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleInput> - <identifier>NewRole</identifier> -</RoleInput> \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/GET/Role.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/GET/Role.json.example deleted file mode 100644 index f262428111..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/GET/Role.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/21", - "identifier": "NewRole", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/21/policies" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/GET/Role.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/GET/Role.xml.example deleted file mode 100644 index 7909c201af..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/GET/Role.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/21"> - <identifier>NewRole</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/21/policies"/> -</Role> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/Role.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/Role.json.example deleted file mode 100644 index e7295d9796..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/Role.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/21", - "identifier": "NewIdentifier", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/21/policies" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/Role.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/Role.xml.example deleted file mode 100644 index bf7ef54383..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/Role.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/5"> - <identifier>NewIdentifier</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/5/policies"/> -</Role> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/RoleInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/RoleInput.json.example deleted file mode 100644 index d318744692..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/RoleInput.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "RoleInput": { - "identifier": "NewIdentifier" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/RoleInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/RoleInput.xml.example deleted file mode 100644 index ffe9e53bb2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/PATCH/RoleInput.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleInput> - <identifier>NewIdentifier</identifier> -</RoleInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/POST/RoleDraft.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/POST/RoleDraft.json.example deleted file mode 100644 index 8bdccb5a3a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/POST/RoleDraft.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/6", - "identifier": "Editor", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/6/policies" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/POST/RoleDraft.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/POST/RoleDraft.xml.example deleted file mode 100644 index ba485b8055..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/POST/RoleDraft.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Role href="/user/roles/11" media-type="application/vnd.ibexa.api.RoleDraft+xml"> - <identifier>MyRole</identifier> - <Policies href="/user/roles/11/policies" media-type="application/vnd.ibexa.api.PolicyList+xml"/> -</Role> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/GET/Role.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/GET/Role.json.example deleted file mode 100644 index 9d3c937ee3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/GET/Role.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/27", - "identifier": "Anonymous", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/27/policies" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/GET/Role.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/GET/Role.xml.example deleted file mode 100644 index 79aa775ecf..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/GET/Role.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/27"> - <identifier>Anonymous</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/27/policies"/> -</Role> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/Role.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/Role.json.example deleted file mode 100644 index cfd1b3d0c7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/Role.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/6", - "identifier": "UpdatedIdentifier", - "Policies": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/6/policies" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/Role.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/Role.xml.example deleted file mode 100644 index 66e1a057a7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/Role.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/9"> - <identifier>UpdatedIdentifier</identifier> - <Policies media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/9/policies"/> -</Role> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/RoleInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/RoleInput.json.example deleted file mode 100644 index 23bed0ebf3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/RoleInput.json.example +++ /dev/null @@ -1,5 +0,0 @@ -{ - "RoleInput": { - "identifier": "UpdatedIdentifier" - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/RoleInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/RoleInput.xml.example deleted file mode 100644 index 1796642eaf..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/draft/PATCH/RoleInput.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleInput> - <identifier>UpdatedIdentifier</identifier> -</RoleInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/GET/PolicyList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/GET/PolicyList.json.example deleted file mode 100644 index 9b48841e32..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/GET/PolicyList.json.example +++ /dev/null @@ -1,104 +0,0 @@ -{ - "PolicyList": { - "_media-type": "application/vnd.ibexa.api.PolicyList+json", - "_href": "/api/ibexa/v2/user/roles/1/policies", - "Policy": [ - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/349", - "id": 349, - "module": "content", - "function": "read", - "limitations": { - "limitation": [ - { - "_identifier": "Section", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "1" - }, - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "3" - }, - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "6" - } - ] - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/350", - "id": 350, - "module": "user", - "function": "login", - "limitations": { - "limitation": [ - { - "_identifier": "SiteAccess", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "2282622326" - }, - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "1766001124" - } - ] - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/351", - "id": 351, - "module": "content", - "function": "view_embed", - "limitations": { - "limitation": [ - { - "_identifier": "Class", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "5" - }, - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "12" - } - ] - } - } - ] - } - }, - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/352", - "id": 352, - "module": "user", - "function": "register" - }, - { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/353", - "id": 353, - "module": "user", - "function": "password" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/GET/PolicyList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/GET/PolicyList.xml.example deleted file mode 100644 index 8a8b328e59..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/GET/PolicyList.xml.example +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<PolicyList media-type="application/vnd.ibexa.api.PolicyList+xml" href="/api/ibexa/v2/user/roles/1/policies"> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/349"> - <id>349</id> - <module>content</module> - <function>read</function> - <limitations> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1"/> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="3"/> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="6"/> - </values> - </limitation> - </limitations> - </Policy> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/350"> - <id>350</id> - <module>user</module> - <function>login</function> - <limitations> - <limitation identifier="SiteAccess"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="2282622326"/> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1766001124"/> - </values> - </limitation> - </limitations> - </Policy> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/351"> - <id>351</id> - <module>content</module> - <function>view_embed</function> - <limitations> - <limitation identifier="Class"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="5"/> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="12"/> - </values> - </limitation> - </limitations> - </Policy> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/352"> - <id>352</id> - <module>user</module> - <function>register</function> - </Policy> - <Policy media-type="application/vnd.ibexa.api.Policy+xml" href="/api/ibexa/v2/user/roles/1/policies/353"> - <id>353</id> - <module>user</module> - <function>password</function> - </Policy> -</PolicyList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/POST/Policy.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/POST/Policy.xml.example deleted file mode 100644 index d3db9de1a7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/POST/Policy.xml.example +++ /dev/null @@ -1,17 +0,0 @@ -<Policy href="/user/roles/11/policies/55" media-type="application/vnd.ibexa.api.Policy+xml"> - <id>55</id> - <module>content</module> - <function>create</function> - <limitations> - <limitation identifier="Class"> - <values> - <ref href="/content/types/13"/> - </values> - </limitation> - <limitation identifier="ParentClass"> - <values> - <ref href="/content/types/12"/> - </values> - </limitation> - </limitations> - </Policy> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/POST/PolicyCreate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/POST/PolicyCreate.xml.example deleted file mode 100644 index 1bb0100144..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/POST/PolicyCreate.xml.example +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<PolicyCreate> - <module>content</module> - <function>create</function> - <limitations> - <limitation identifier="Class"> - <values> - <ref href="2"/> - </values> - </limitation> - <limitation identifier="ParentClass"> - <values> - <ref href="1"/> - </values> - </limitation> - </limitations> -</PolicyCreate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/GET/Policy.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/GET/Policy.json.example deleted file mode 100644 index dd22b0a2d8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/GET/Policy.json.example +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Policy": { - "_media-type": "application/vnd.ibexa.api.Policy+json", - "_href": "/api/ibexa/v2/user/roles/1/policies/352", - "id": 352, - "module": "user", - "function": "register" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/GET/Policy.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/GET/Policy.xml.example deleted file mode 100644 index 8240b87505..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/GET/Policy.xml.example +++ /dev/null @@ -1,19 +0,0 @@ -<Policy href="/user/roles/11/policies/45" media-type="application/vnd.ibexa.api.Policy+xml"> - <id>45</id> - <module>content</module> - <function>create</function> - <limitations> - <limitation identifier="Class"> - <values> - <ref href="/content/types/10" media-type="application/vnd.ibexa.api.ContentType+xml" /> - <ref href="/content/types/11" media-type="application/vnd.ibexa.api.ContentType+xml" /> - <ref href="/content/types/12" media-type="application/vnd.ibexa.api.ContentType+xml" /> - </values> - </limitation> - <limitation identifier="ParentClass"> - <values> - <ref href="/content/types/4" media-type="application/vnd.ibexa.api.ContentType+xml" /> - </values> - </limitation> - </limitations> -</Policy> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/PATCH/Policy.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/PATCH/Policy.xml.example deleted file mode 100644 index 86cfd7746d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/PATCH/Policy.xml.example +++ /dev/null @@ -1,17 +0,0 @@ -<Policy href="/user/roles/11/policies/55" media-type="application/vnd.ibexa.api.Policy+xml"> - <id>55</id> - <module>content</module> - <function>create</function> - <limitations> - <limitation identifier="Class"> - <values> - <ref href="/content/types/14"/> - </values> - </limitation> - <limitation identifier="ParentClass"> - <values> - <ref href="/content/types/10"/> - </values> - </limitation> - </limitations> - </Policy> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/PATCH/PolicyUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/PATCH/PolicyUpdate.xml.example deleted file mode 100644 index 47ff30ff30..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/roles/id/policies/id/PATCH/PolicyUpdate.xml.example +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<PolicyUpdate> - <limitations> - <limitation identifier="Class"> - <values> - <ref href="2"/> - </values> - </limitation> - <limitation identifier="ParentClass"> - <values> - <ref href="1"/> - </values> - </limitation> - </limitations> -</PolicyUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/Session.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/Session.json.example deleted file mode 100644 index de2a1ff4f1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/Session.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Session": { - "name": "eZSSID", - "identifier": "go327ij2cirpo59pb6rrv2a4el2", - "csrfToken": "23lkneri34ijajedfw39orj3j93", - "User": { - "_href": "/user/users/14", - "_media-type": "application/vnd.ibexa.api.User+json" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/Session.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/Session.xml.example deleted file mode 100644 index ad24186061..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/Session.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Session href="/user/sessions/sessionID" media-type="application/vnd.ibexa.api.Session+xml"> - <name>eZSSID</name> - <identifier>go327ij2cirpo59pb6rrv2a4el2</identifier> - <csrfToken>23lkneri34ijajedfw39orj3j93</csrfToken> - <User href="/user/users/14" media-type="vnd.ibexa.api.User+xml"/> -</Session> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/SessionInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/SessionInput.json.example deleted file mode 100644 index f86713dde0..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/SessionInput.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "SessionInput": { - "login": "admin", - "password": "secret" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/SessionInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/SessionInput.xml.example deleted file mode 100644 index ae0f88db02..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/SessionInput.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<SessionInput> - <login>admin</login> - <password>secret</password> -</SessionInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/session_id/refresh/POST/Session.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/session_id/refresh/POST/Session.json.example deleted file mode 100644 index de2a1ff4f1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/session_id/refresh/POST/Session.json.example +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Session": { - "name": "eZSSID", - "identifier": "go327ij2cirpo59pb6rrv2a4el2", - "csrfToken": "23lkneri34ijajedfw39orj3j93", - "User": { - "_href": "/user/users/14", - "_media-type": "application/vnd.ibexa.api.User+json" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/session_id/refresh/POST/Session.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/session_id/refresh/POST/Session.xml.example deleted file mode 100644 index 039aa875cc..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/sessions/session_id/refresh/POST/Session.xml.example +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Session href="user/sessions/go327ij2cirpo59pb6rrv2a4el2/refresh" media-type="application/vnd.ibexa.api.Session+xml"> - <name>eZSSID</name> - <identifier>go327ij2cirpo59pb6rrv2a4el2</identifier> - <csrfToken>23lkneri34ijajedfw39orj3j93</csrfToken> - <User href="/user/users/14" media-type="vnd.ibexa.api.User+xml"/> -</Session> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWT.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWT.json.example deleted file mode 100644 index 3de11a92cf..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWT.json.example +++ /dev/null @@ -1,7 +0,0 @@ -{ - "JWT": { - "_media-type": "application/vnd.ibexa.api.JWT+json", - "_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDI4NDA3ODAsImV4cCI6MTYwMjg0NDM4MCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiYWRtaW4ifQ.0LHa799HwSwwfDBZd2V0q2xHwGt86PpyZamKnXHQyYI", - "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDI4NDA3ODAsImV4cCI6MTYwMjg0NDM4MCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiYWRtaW4ifQ.0LHa799HwSwwfDBZd2V0q2xHwGt86PpyZamKnXHQyYI" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWT.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWT.xml.example deleted file mode 100644 index 7d59afac23..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWT.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<JWT media-type="application/vnd.ibexa.api.JWT+xml" token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDI4NDA3NjEsImV4cCI6MTYwMjg0NDM2MSwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiYWRtaW4ifQ.LsmdVjad7wMwVQUo4vSftT0zHbJyArOMd23b417E2jI"> - <token>eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDI4NDA3NjEsImV4cCI6MTYwMjg0NDM2MSwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiYWRtaW4ifQ.LsmdVjad7wMwVQUo4vSftT0zHbJyArOMd23b417E2jI</token> -</JWT> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWTInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWTInput.json.example deleted file mode 100644 index fd5e55c7fd..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWTInput.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "JWTInput": { - "username": "admin", - "password": "publish" - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWTInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWTInput.xml.example deleted file mode 100644 index b7a0534789..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWTInput.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<JWTInput> - <password>publish</password> - <username>admin</username> -</JWTInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserList.json.example deleted file mode 100644 index bd915b1cc7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserList.json.example +++ /dev/null @@ -1,155 +0,0 @@ -{ - "UserList": { - "_media-type": "application/vnd.ibexa.api.UserList+json", - "_href": "/api/ibexa/v2/user/users", - "User": [ - { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14", - "_id": 14, - "_remoteId": "1bb4fe25487f05527efa8bfd394cecc7", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/4" - }, - "name": "Administrator User", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/14/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/13/15" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/14/locations" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json", - "_href": "/api/ibexa/v2/user/users/14/groups" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "publishDate": "2002-10-06T16:13:50+00:00", - "lastModificationDate": "2011-03-25T14:07:04+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/14/versions/3", - "VersionInfo": { - "id": 499, - "versionNo": 3, - "status": "PUBLISHED", - "modificationDate": "2011-03-25T14:07:04+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2011-03-25T14:03:03+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Administrator User" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/14" - } - }, - "Fields": { - "field": [ - { - "id": 28, - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Administrator" - }, - { - "id": 29, - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "User" - }, - { - "id": 30, - "fieldDefinitionIdentifier": "user_account", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezuser", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 14, - "login": "admin", - "email": "admin@link.invalid", - "passwordUpdatedAt": null, - "enabled": true, - "maxLogin": 10, - "plainPassword": null - } - }, - { - "id": 178, - "fieldDefinitionIdentifier": "signature", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "eztext", - "fieldValue": null - }, - { - "id": 180, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimage", - "fieldValue": null - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/14/versions/3/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "login": "admin", - "email": "admin@link.invalid", - "enabled": true, - "UserGroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/users/14/groups" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/users/14/roles" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserList.xml.example deleted file mode 100644 index 6dbef3cdf2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserList.xml.example +++ /dev/null @@ -1,88 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserList media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/users"> - <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14" id="14" remoteId="1bb4fe25487f05527efa8bfd394cecc7"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> - <name>Administrator User</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/14/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/13/15"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/14/locations"/> - <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/14/groups"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <publishDate>2002-10-06T18:13:50+02:00</publishDate> - <lastModificationDate>2011-03-25T15:07:04+01:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/14/versions/3"> - <VersionInfo> - <id>499</id> - <versionNo>3</versionNo> - <status>PUBLISHED</status> - <modificationDate>2011-03-25T15:07:04+01:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2011-03-25T15:03:03+01:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Administrator User</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/14"/> - </VersionInfo> - <Fields> - <field> - <id>28</id> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Administrator</fieldValue> - </field> - <field> - <id>29</id> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>User</fieldValue> - </field> - <field> - <id>30</id> - <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezuser</fieldTypeIdentifier> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">14</value> - <value key="login">admin</value> - <value key="email">nospam@ibexa.co</value> - <value key="enabled">true</value> - <value key="maxLogin">10</value> - </fieldValue> - </field> - <field> - <id>178</id> - <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>eztext</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>180</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimage</fieldTypeIdentifier> - <fieldValue/> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/14/versions/3/relations"/> - </Version> - <login>admin</login> - <email>nospam@ibexa.co</email> - <enabled>true</enabled> - <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/14/groups"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/14/roles"/> - </User> -</UserList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserRefList.xml.example deleted file mode 100644 index c8cf9a66d1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/GET/UserRefList.xml.example +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserRefList media-type="application/vnd.ibexa.api.UserRefList+xml" href="/api/ibexa/v2/user/users"> - <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> -</UserRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/GET/User.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/GET/User.json.example deleted file mode 100644 index e0318f6dd2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/GET/User.json.example +++ /dev/null @@ -1,155 +0,0 @@ -{ - "UserList": { - "_media-type": "application/vnd.ibexa.api.UserList+json", - "_href": "/api/ibexa/v2/user/users", - "User": [ - { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/79", - "_id": 79, - "_remoteId": "bcf0764b417f05af21852a1f03fb1f13", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/4" - }, - "name": "Jose Vargas", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/79/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/12/79" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/79/locations" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json", - "_href": "/api/ibexa/v2/user/users/79/groups" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/10" - }, - "publishDate": "2021-06-29T08:23:42+00:00", - "lastModificationDate": "2021-06-29T08:23:42+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/79/versions/1", - "VersionInfo": { - "id": 547, - "versionNo": 1, - "status": "PUBLISHED", - "modificationDate": "2021-06-29T08:23:42+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/10" - }, - "creationDate": "2021-06-29T08:23:42+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Jose Vargas" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/79" - } - }, - "Fields": { - "field": [ - { - "id": 342, - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Jose" - }, - { - "id": 343, - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Vargas" - }, - { - "id": 344, - "fieldDefinitionIdentifier": "user_account", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezuser", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 79, - "login": "josevargas", - "email": "aa@bb.cc", - "passwordUpdatedAt": 1624955022, - "enabled": true, - "maxLogin": 0, - "plainPassword": null - } - }, - { - "id": 345, - "fieldDefinitionIdentifier": "signature", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "eztext", - "fieldValue": null - }, - { - "id": 346, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimage", - "fieldValue": null - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/79/versions/1/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "login": "josevargas", - "email": "aa@bb.cc", - "enabled": true, - "UserGroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/users/79/groups" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/users/79/roles" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/GET/User.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/GET/User.xml.example deleted file mode 100644 index fab328704e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/GET/User.xml.example +++ /dev/null @@ -1,96 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserList media-type="application/vnd.ibexa.api.UserList+xml" href="/api/ibexa/v2/user/users"> - <User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/79" id="79" remoteId="bcf0764b417f05af21852a1f03fb1f13"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> - <name>Jose Vargas</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/79/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/12/79"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/79/locations"/> - <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/79/groups"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> - <publishDate>2021-06-29T08:23:42+00:00</publishDate> - <lastModificationDate>2021-06-29T08:23:42+00:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/79/versions/1"> - <VersionInfo> - <id>547</id> - <versionNo>1</versionNo> - <status>PUBLISHED</status> - <modificationDate>2021-06-29T08:23:42+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> - <creationDate>2021-06-29T08:23:42+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Jose Vargas</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/79"/> - </VersionInfo> - <Fields> - <field> - <id>342</id> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Jose</fieldValue> - </field> - <field> - <id>343</id> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Vargas</fieldValue> - </field> - <field> - <id>344</id> - <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezuser</fieldTypeIdentifier> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">79</value> - <value key="login">josevargas</value> - <value key="email">aa@bb.cc</value> - <value key="passwordUpdatedAt">1624955022</value> - <value key="enabled">true</value> - <value key="maxLogin">0</value> - <value key="plainPassword"/> - </fieldValue> - </field> - <field> - <id>345</id> - <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>eztext</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>346</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimage</fieldTypeIdentifier> - <fieldValue/> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/79/versions/1/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <login>josevargas</login> - <email>aa@bb.cc</email> - <enabled>true</enabled> - <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/79/groups"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/79/roles"/> - </User> -</UserList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/User.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/User.json.example deleted file mode 100644 index 8f1a529db5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/User.json.example +++ /dev/null @@ -1,149 +0,0 @@ -{ - "User": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/79", - "_id": 79, - "_remoteId": "bcf0764b417f05af21852a1f03fb1f13", - "ContentType": { - "_media-type": "application/vnd.ibexa.api.ContentType+json", - "_href": "/api/ibexa/v2/content/types/4" - }, - "name": "Jose Vargas", - "Versions": { - "_media-type": "application/vnd.ibexa.api.VersionList+json", - "_href": "/api/ibexa/v2/content/objects/79/versions" - }, - "Section": { - "_media-type": "application/vnd.ibexa.api.Section+json", - "_href": "/api/ibexa/v2/content/sections/2" - }, - "MainLocation": { - "_media-type": "application/vnd.ibexa.api.Location+json", - "_href": "/api/ibexa/v2/content/locations/1/5/12/79" - }, - "Locations": { - "_media-type": "application/vnd.ibexa.api.LocationList+json", - "_href": "/api/ibexa/v2/content/objects/79/locations" - }, - "Groups": { - "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json", - "_href": "/api/ibexa/v2/user/users/79/groups" - }, - "Owner": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/10" - }, - "publishDate": "2021-06-29T08:23:42+00:00", - "lastModificationDate": "2021-07-29T12:00:24+00:00", - "mainLanguageCode": "eng-GB", - "alwaysAvailable": true, - "Version": { - "_media-type": "application/vnd.ibexa.api.Version+json", - "_href": "/api/ibexa/v2/content/objects/79/versions/11", - "VersionInfo": { - "id": 614, - "versionNo": 11, - "status": "PUBLISHED", - "modificationDate": "2021-07-29T12:00:24+00:00", - "Creator": { - "_media-type": "application/vnd.ibexa.api.User+json", - "_href": "/api/ibexa/v2/user/users/14" - }, - "creationDate": "2021-07-29T12:00:24+00:00", - "initialLanguageCode": "eng-GB", - "languageCodes": "eng-GB", - "VersionTranslationInfo": { - "_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json", - "Language": [ - { - "languageCode": "eng-GB" - } - ] - }, - "names": { - "value": [ - { - "_languageCode": "eng-GB", - "#text": "Jose Vargas" - } - ] - }, - "Content": { - "_media-type": "application/vnd.ibexa.api.ContentInfo+json", - "_href": "/api/ibexa/v2/content/objects/79" - } - }, - "Fields": { - "field": [ - { - "id": 342, - "fieldDefinitionIdentifier": "first_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Jose" - }, - { - "id": 343, - "fieldDefinitionIdentifier": "last_name", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezstring", - "fieldValue": "Vargas" - }, - { - "id": 344, - "fieldDefinitionIdentifier": "user_account", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezuser", - "fieldValue": { - "hasStoredLogin": true, - "contentId": 79, - "login": "josevargas", - "email": "aa@bb.cc", - "passwordUpdatedAt": null, - "enabled": false, - "maxLogin": 0, - "plainPassword": null - } - }, - { - "id": 345, - "fieldDefinitionIdentifier": "signature", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "eztext", - "fieldValue": null - }, - { - "id": 346, - "fieldDefinitionIdentifier": "image", - "languageCode": "eng-GB", - "fieldTypeIdentifier": "ezimage", - "fieldValue": null - } - ] - }, - "Relations": { - "_media-type": "application/vnd.ibexa.api.RelationList+json", - "_href": "/api/ibexa/v2/content/objects/79/versions/11/relations", - "Relation": [] - }, - "Thumbnail": { - "_media-type": "application/vnd.ibexa.api.Thumbnail+json", - "resource": "/bundles/ezplatformadminui/img/ez-icons.svg#user", - "width": null, - "height": null, - "mimeType": "image/svg+xml" - } - }, - "login": "josevargas", - "email": "aa@bb.cc", - "enabled": false, - "UserGroups": { - "_media-type": "application/vnd.ibexa.api.UserGroupList+json", - "_href": "/api/ibexa/v2/user/users/79/groups" - }, - "Roles": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/users/79/roles" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/User.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/User.xml.example deleted file mode 100644 index caf3abbafe..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/User.xml.example +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/79" id="79" remoteId="bcf0764b417f05af21852a1f03fb1f13"> - <ContentType media-type="application/vnd.ibexa.api.ContentType+xml" href="/api/ibexa/v2/content/types/4"/> - <name>Jose Vargas</name> - <Versions media-type="application/vnd.ibexa.api.VersionList+xml" href="/api/ibexa/v2/content/objects/79/versions"/> - <Section media-type="application/vnd.ibexa.api.Section+xml" href="/api/ibexa/v2/content/sections/2"/> - <MainLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/5/12/79"/> - <Locations media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/objects/79/locations"/> - <Groups media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/79/groups"/> - <Owner media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/10"/> - <publishDate>2021-06-29T08:23:42+00:00</publishDate> - <lastModificationDate>2021-07-29T11:45:07+00:00</lastModificationDate> - <mainLanguageCode>eng-GB</mainLanguageCode> - <alwaysAvailable>true</alwaysAvailable> - <Version media-type="application/vnd.ibexa.api.Version+xml" href="/api/ibexa/v2/content/objects/79/versions/6"> - <VersionInfo> - <id>609</id> - <versionNo>6</versionNo> - <status>PUBLISHED</status> - <modificationDate>2021-07-29T11:45:07+00:00</modificationDate> - <Creator media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> - <creationDate>2021-07-29T11:45:07+00:00</creationDate> - <initialLanguageCode>eng-GB</initialLanguageCode> - <languageCodes>eng-GB</languageCodes> - <VersionTranslationInfo media-type="application/vnd.ibexa.api.VersionTranslationInfo+xml"> - <Language> - <languageCode>eng-GB</languageCode> - </Language> - </VersionTranslationInfo> - <names> - <value languageCode="eng-GB">Jose Vargas</value> - </names> - <Content media-type="application/vnd.ibexa.api.ContentInfo+xml" href="/api/ibexa/v2/content/objects/79"/> - </VersionInfo> - <Fields> - <field> - <id>342</id> - <fieldDefinitionIdentifier>first_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Jose</fieldValue> - </field> - <field> - <id>343</id> - <fieldDefinitionIdentifier>last_name</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezstring</fieldTypeIdentifier> - <fieldValue>Vargas</fieldValue> - </field> - <field> - <id>344</id> - <fieldDefinitionIdentifier>user_account</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezuser</fieldTypeIdentifier> - <fieldValue> - <value key="hasStoredLogin">true</value> - <value key="contentId">79</value> - <value key="login">josevargas</value> - <value key="email">aa@bb.cc</value> - <value key="passwordUpdatedAt"/> - <value key="enabled">false</value> - <value key="maxLogin">0</value> - <value key="plainPassword"/> - </fieldValue> - </field> - <field> - <id>345</id> - <fieldDefinitionIdentifier>signature</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>eztext</fieldTypeIdentifier> - <fieldValue/> - </field> - <field> - <id>346</id> - <fieldDefinitionIdentifier>image</fieldDefinitionIdentifier> - <languageCode>eng-GB</languageCode> - <fieldTypeIdentifier>ezimage</fieldTypeIdentifier> - <fieldValue/> - </field> - </Fields> - <Relations media-type="application/vnd.ibexa.api.RelationList+xml" href="/api/ibexa/v2/content/objects/79/versions/6/relations"/> - <Thumbnail media-type="application/vnd.ibexa.api.Thumbnail+xml"> - <resource>/bundles/ezplatformadminui/img/ez-icons.svg#user</resource> - <width></width> - <height></height> - <mimeType>image/svg+xml</mimeType> - </Thumbnail> - </Version> - <login>josevargas</login> - <email>aa@bb.cc</email> - <enabled>false</enabled> - <UserGroups media-type="application/vnd.ibexa.api.UserGroupList+xml" href="/api/ibexa/v2/user/users/79/groups"/> - <Roles media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/79/roles"/> -</User> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/UserUpdate.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/UserUpdate.json.example deleted file mode 100644 index fd43e1d7f2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/UserUpdate.json.example +++ /dev/null @@ -1,6 +0,0 @@ -{ - "UserUpdate": { - "login": "josevargas", - "enabled": false - } -} \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/UserUpdate.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/UserUpdate.xml.example deleted file mode 100644 index fe09ab444e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/PATCH/UserUpdate.xml.example +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserUpdate> - <login>josevargas</login> - <enabled>false</enabled> -</UserUpdate> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/GET/UserGroupRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/GET/UserGroupRefList.xml.example deleted file mode 100644 index dc45cf331c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/GET/UserGroupRefList.xml.example +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroupRefList media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/55/groups"> - <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/12"> - <unassign href="/api/ibexa/v2/user/users/55/groups/12" method="DELETE"/> - </UserGroup> - <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/14"> - <unassign href="/api/ibexa/v2/user/users/55/groups/14" method="DELETE"/> - </UserGroup> -</UserGroupRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/POST/UserGroupRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/POST/UserGroupRefList.json.example deleted file mode 100644 index 8e7c8f7cbc..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/POST/UserGroupRefList.json.example +++ /dev/null @@ -1,24 +0,0 @@ -{ - "UserGroupRefList": { - "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json", - "_href": "/api/ibexa/v2/user/users/115/groups", - "UserGroup": [ - { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/12", - "unassign": { - "_href": "/api/ibexa/v2/user/users/115/groups/12", - "_method": "DELETE" - } - }, - { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13", - "unassign": { - "_href": "/api/ibexa/v2/user/users/115/groups/13", - "_method": "DELETE" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/POST/UserGroupRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/POST/UserGroupRefList.xml.example deleted file mode 100644 index ed2ceff01d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/POST/UserGroupRefList.xml.example +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroupRefList media-type="application/vnd.ibexa.api.UserGroupRefList+xml" href="/api/ibexa/v2/user/users/115/groups"> - <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/12"> - <unassign href="/api/ibexa/v2/user/users/79/groups/12" method="DELETE"/> - </UserGroup> - <UserGroup media-type="application/vnd.ibexa.api.UserGroup+xml" href="/api/ibexa/v2/user/groups/1/5/13"> - <unassign href="/api/ibexa/v2/user/users/115/groups/13" method="DELETE"/> - </UserGroup> -</UserGroupRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/group_id/DELETE/UserGroupRefList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/group_id/DELETE/UserGroupRefList.xml.example deleted file mode 100644 index f0e5f585e5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/group_id/DELETE/UserGroupRefList.xml.example +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<UserGroupRefList href="/user/users/45/groups" - media-type="application/vnd.ibexa.api.UserGroupRefList"> - <UserGroup href="/user/groups/1/5/34" media-type="application/vnd.ibexa.api.UserGroup"> - <unassign href="/user/users/45/groups/34" method="DELETE" /> - </UserGroup> - <UserGroup href="/user/groups/1/5/88" media-type="application/vnd.ibexa.api.UserGroup"> - <unassign href="/user/users/45/groups/88" method="DELETE" /> - </UserGroup> -</UserGroupRefList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/group_id/UserGroupRefList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/group_id/UserGroupRefList.json.example deleted file mode 100644 index 1d5808dc12..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/groups/group_id/UserGroupRefList.json.example +++ /dev/null @@ -1,12 +0,0 @@ -{ - "UserGroupRefList": { - "_media-type": "application/vnd.ibexa.api.UserGroupRefList+json", - "_href": "/api/ibexa/v2/user/users/57/groups", - "UserGroup": [ - { - "_media-type": "application/vnd.ibexa.api.UserGroup+json", - "_href": "/api/ibexa/v2/user/groups/1/5/13" - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/GET/RoleAssignmentList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/GET/RoleAssignmentList.json.example deleted file mode 100644 index b265f016e7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/GET/RoleAssignmentList.json.example +++ /dev/null @@ -1,27 +0,0 @@ -{ - "RoleAssignmentList": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/users/115/roles", - "RoleAssignment": [ - { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/users/115/roles/2", - "limitation": { - "_identifier": "Section", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "1" - } - ] - } - }, - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/2" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/GET/RoleAssignmentList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/GET/RoleAssignmentList.xml.example deleted file mode 100644 index 1fb30959a1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/GET/RoleAssignmentList.xml.example +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignmentList media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/115/roles"> - <RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/users/115/roles/2"> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1"/> - </values> - </limitation> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/2"/> - </RoleAssignment> -</RoleAssignmentList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignInput.json.example deleted file mode 100644 index 929e897f7e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignInput.json.example +++ /dev/null @@ -1,20 +0,0 @@ -{ - "RoleAssignInput": { - "Role": { - "_href": "/api/ibexa/v2/user/roles/2" - }, - "limitation": { - "_identifier": "Section", - "values": { - "ref": [ - { - "_href": "/api/ibexa/v2/content/sections/1" - }, - { - "_href": "/api/ibexa/v2/content/sections/2" - } - ] - } - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignInput.xml.example deleted file mode 100644 index 243f3ff7d9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignInput.xml.example +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignInput> - <Role href="/api/ibexa/v2/user/roles/2" media-type="application/vnd.ibexa.api.RoleAssignInput+xml"/> - <limitation identifier="Section"> - <values> - <ref href="/api/ibexa/v2/content/sections/1" media-type="application/vnd.ibexa.api.Section+xml" /> - <ref href="/api/ibexa/v2/content/sections/2" media-type="application/vnd.ibexa.api.Section+xml" /> - </values> - </limitation> -</RoleAssignInput> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignmentList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignmentList.json.example deleted file mode 100644 index 22b919336f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignmentList.json.example +++ /dev/null @@ -1,46 +0,0 @@ -{ - "RoleAssignmentList": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/users/115/roles", - "RoleAssignment": [ - { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/users/115/roles/2", - "limitation": { - "_identifier": "Section", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "2" - } - ] - } - }, - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/2" - } - }, - { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/users/115/roles/2", - "limitation": { - "_identifier": "Section", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "1" - } - ] - } - }, - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/2" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignmentList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignmentList.xml.example deleted file mode 100644 index 4800db41dd..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/POST/RoleAssignmentList.xml.example +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignmentList media-type="application/vnd.ibexa.api.RoleAssignmentList+xml" href="/api/ibexa/v2/user/users/115/roles"> - <RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/users/115/roles/2"> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="1"/> - </values> - </limitation> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/2"/> - </RoleAssignment> - <RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/users/115/roles/2"> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="2"/> - </values> - </limitation> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/2"/> - </RoleAssignment> -</RoleAssignmentList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/DELETE/RoleAssignmentList.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/DELETE/RoleAssignmentList.json.example deleted file mode 100644 index 16dc023346..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/DELETE/RoleAssignmentList.json.example +++ /dev/null @@ -1,24 +0,0 @@ -{ - "RoleAssignmentList": { - "_media-type": "application/vnd.ibexa.api.RoleAssignmentList+json", - "_href": "/api/ibexa/v2/user/users/57/roles", - "RoleAssignment": [ - { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/users/57/roles/1", - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/1" - } - }, - { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/users/57/roles/2", - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/2" - } - } - ] - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/DELETE/RoleAssignmentList.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/DELETE/RoleAssignmentList.xml.example deleted file mode 100644 index 2c74de4537..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/DELETE/RoleAssignmentList.xml.example +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignmentList href="/user/groups/1/5/65/roles" media-type="application/vnd.ibexa.api.RoleAssignmentList+xml"> - <RoleAssignment href="/user/groups/1/5/65/roles/5" media-type="application/vnd.ibexa.api.RoleAssignment+xml"> - <Role href="/user/roles/5" media-type="application/vnd.ibexa.api.Role+xml"/> - </RoleAssignment> - <RoleAssignment href="/user/groups/1/5/65/roles/11" media-type="application/vnd.ibexa.api.RoleAssignment+xml"> - <limitation identifier="Section"> - <values> - <ref href="/content/sections/1" media-type="application/vnd.ibexa.api.Section+xml" /> - <ref href="/content/sections/4" media-type="application/vnd.ibexa.api.Section+xml" /> - </values> - </limitation> - <Role href="/user/roles/11" media-type="application/vnd.ibexa.api.Role+xml"/> - </RoleAssignment> -</RoleAssignmentList> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/GET/RoleAssignment.json.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/GET/RoleAssignment.json.example deleted file mode 100644 index 5272441576..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/GET/RoleAssignment.json.example +++ /dev/null @@ -1,21 +0,0 @@ -{ - "RoleAssignment": { - "_media-type": "application/vnd.ibexa.api.RoleAssignment+json", - "_href": "/api/ibexa/v2/user/users/113/roles/3", - "limitation": { - "_identifier": "Section", - "values": { - "ref": [ - { - "_media-type": "application/vnd.ibexa.api.ref+json", - "_href": "6" - } - ] - } - }, - "Role": { - "_media-type": "application/vnd.ibexa.api.Role+json", - "_href": "/api/ibexa/v2/user/roles/3" - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/GET/RoleAssignment.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/GET/RoleAssignment.xml.example deleted file mode 100644 index 0511e11c5b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/user/users/user_id/roles/role_id/GET/RoleAssignment.xml.example +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<RoleAssignment media-type="application/vnd.ibexa.api.RoleAssignment+xml" href="/api/ibexa/v2/user/users/113/roles/3"> - <limitation identifier="Section"> - <values> - <ref media-type="application/vnd.ibexa.api.ref+xml" href="6"/> - </values> - </limitation> - <Role media-type="application/vnd.ibexa.api.Role+xml" href="/api/ibexa/v2/user/roles/3"/> -</RoleAssignment> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/views/POST/View.xml.v11.example b/docs/api/rest_api/rest_api_reference/input/examples/views/POST/View.xml.v11.example deleted file mode 100644 index d476a11c8e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/views/POST/View.xml.v11.example +++ /dev/null @@ -1,67 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<View href="/views/TitleView" media-type="application/vnd.ibexa.api.View+xml; version=1.1"> - <identifier>TitleView</identifier> - <User href="/user/users/14" media-type="vnd.ibexa.api.User+xml"/> - <public>false</public> - <LocationQuery> - <Filter> - <ParentLocationIdCriterion>2</ParentLocationIdCriterion> - </Filter> - <limit>10</limit> - <offset>0</offset> - <SortClauses> - <ContentName>ascending</ContentName> - </SortClauses> - <FacetBuilders> - <contentTypeFacetBuilder/> - </FacetBuilders> - </LocationQuery> - <Result href="/content/views/view1234/results" - media-type="application/vnd.ibexa.api.ViewResult+xml" count="34" time="31" maxScore="1.0"> - <searchHits> - <searchHit score="1.0" index="installid1234567890"> - <hightlight/> - <value> - <Location media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1/2"> - <id>2</id> - <priority>0</priority> - <hidden>false</hidden> - <invisible>false</invisible> - <ParentLocation media-type="application/vnd.ibexa.api.Location+xml" href="/api/ibexa/v2/content/locations/1"/> - <pathString>/1/2/</pathString> - <depth>1</depth> - <childCount>8</childCount> - <remoteId>f3e90596361e31d496d4026eb624c983</remoteId> - <Children media-type="application/vnd.ibexa.api.LocationList+xml" href="/api/ibexa/v2/content/locations/1/2/children"/> - <Content media-type="application/vnd.ibexa.api.Content+xml" href="/api/ibexa/v2/content/objects/57"/> - <sortField>PRIORITY</sortField> - <sortOrder>ASC</sortOrder> - <UrlAliases media-type="application/vnd.ibexa.api.UrlAliasRefList+xml" href="/api/ibexa/v2/content/locations/1/2/urlaliases"/> - </Location> - - </value> - </searchHit> - <!-- ... --> - </searchHits> - <facets> - <contentTypeFacet> - <contentTypeFacetEntry> - <contentType href="/content/types/1" media-type="application/vnd.ibexa.api.ContentType+xml"/> - <count>3</count> - </contentTypeFacetEntry> - <contentTypeFacetEntry> - <contentType href="/content/types/7" media-type="application/vnd.ibexa.api.ContentType+xml"/> - <count>9</count> - </contentTypeFacetEntry> - <contentTypeFacetEntry> - <contentType href="/content/types/11" media-type="application/vnd.ibexa.api.ContentType+xml"/> - <count>1</count> - </contentTypeFacetEntry> - <contentTypeFacetEntry> - <contentType href="/content/types/15" media-type="application/vnd.ibexa.api.ContentType+xml"/> - <count>8</count> - </contentTypeFacetEntry> - </contentTypeFacet> - </facets> - </Result> -</View> diff --git a/docs/api/rest_api/rest_api_reference/input/examples/views/POST/ViewInput.json.example b/docs/api/rest_api/rest_api_reference/input/examples/views/POST/ViewInput.json.example deleted file mode 100644 index eb4514cc91..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/views/POST/ViewInput.json.example +++ /dev/null @@ -1,28 +0,0 @@ -{ - "ViewInput": { - "identifier": "TitleView", - "Query": { - "Filter": { - "ContentTypeIdentifierCriterion": "image", - "SectionIdentifierCriterion": "media", - "DateMetadataCriterion": { - "Target": "modified", - "Value": 1675681020, - "Operator": "gte" - } - }, - "limit": 10, - "offset": 0, - "SortClauses": { - "ContentName": "ascending" - }, - "Aggregations": [ - { - "ContentTypeTermAggregation": { - "name": "some name" - } - } - ] - } - } -} diff --git a/docs/api/rest_api/rest_api_reference/input/examples/views/POST/ViewInput.xml.example b/docs/api/rest_api/rest_api_reference/input/examples/views/POST/ViewInput.xml.example deleted file mode 100644 index 45cc1f4897..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/examples/views/POST/ViewInput.xml.example +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ViewInput> - <identifier>TitleView</identifier> - <Query> - <Filter> - <ContentTypeIdentifierCriterion>image</ContentTypeIdentifierCriterion> - <SectionIdentifierCriterion>media</SectionIdentifierCriterion> - <DateMetadataCriterion> - <Target>modified</Target> - <Value>1675681020</Value> - <Operator>gte</Operator> - </DateMetadataCriterion> - </Filter> - <limit>10</limit> - <offset>0</offset> - <SortClauses> - <ContentName>ascending</ContentName> - </SortClauses> - <Aggregations> - <Aggregation> - <ContentTypeTermAggregation> - <name>some name</name> - </ContentTypeTermAggregation> - </Aggregation> - </Aggregations> - </Query> -</ViewInput> diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-activityloggroup.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-activityloggroup.raml deleted file mode 100644 index c8e33aef29..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-activityloggroup.raml +++ /dev/null @@ -1,94 +0,0 @@ -displayName: Monitoring activity -/list: - get: - displayName: List of activity log groups - description: Lists last activity log groups and their entries. - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ActivityLogGroupList+xml - application/vnd.ibexa.api.ActivityLogGroupList+json - queryParameters: - offset: - type: string - description: | - (default: <code>offset=0</code>) - limit: - type: string - description: | - Maximum number of returned log groups (default: <code>limit=25</code>) - - Example: <code>limit=10</code> - filter: - type: array - description: | - List of filters (no filter by default). - A filter is a type and parameters depending on this type. - - - type: `object_class`, parameter: `class` (a FQCN) - - type: `action`, parameter: `value` (the action) - - type: `logged_at`, parameters: `value` and `operator` - - `logged_at` `value` value can be anything accepted by `DateTimeImmutable` - - `logged_at` `operator` value can be one of the following: - - | Comparison | Value | - |-----------------------|-------| - | Equal | `=` | - | Not equal | `<>` | - | Less than | `<` | - | Less than or equal | `<=` | - | Greater than | `>` | - | Greater than or equal | `>=` | - - Example: `filter[0][type]=object_class&filter[0][class]=Ibexa\Contracts\Core\Repository\Values\Content\Content&filter[1][type]=action&filter[1][value]=create&filter[2][type]=logged_at&filter[2][value]=-1hour&filter[2][operator]=>=` - sort: - type: array - description: | - List of sort clause and direction pairs - (default: <code>sort[0][type]=logged_at&sort[0][direction]=ASC</code>) - - Example: <code>sort[0][type]=logged_at&sort[0][direction]=DESC</code> - responses: - 200: - body: - application/vnd.ibexa.api.ActivityLogGroupList+xml: - type: ActivityLogGroupList - example: !include examples/activityloggroup/GET/ActivityLogGroupList.xml.example - application/vnd.ibexa.api.ActivityLogGroupList+json: - type: ActivityLogGroupListWrapper - example: !include examples/activityloggroup/GET/ActivityLogGroupList.json.example - 401: - description: Error - the user is not authorized to list activities. - post: - displayName: List of filtered activity log groups - description: Lists activity log groups of entries filtered according to the input payload. List input reflects the criteria model of the PHP API. See Activity Log Search reference. - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ActivityLogGroupList+xml - application/vnd.ibexa.api.ActivityLogGroupList+json - Content-Type: - description: The ActivityLogListInput query schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ActivityLogGroupListInput+xml - application/vnd.ibexa.api.ActivityLogGroupListInput+json - body: - application/vnd.ibexa.api.ActivityLogGroupListInput+xml: - type: ActivityLogGroupListInput - example: !include examples/activityloggroup/POST/ActivityLogGroupListInput.xml.example - application/vnd.ibexa.api.ActivityLogGroupListInput+json: - type: ActivityLogGroupListInputWrapper - example: !include examples/activityloggroup/POST/ActivityLogGroupListInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.ActivityLogGroupList+xml: - type: ActivityLogGroupList - example: !include examples/activityloggroup/POST/ActivityLogGroupList.xml.example - application/vnd.ibexa.api.ActivityLogGroupList+json: - type: ActivityLogGroupListWrapper - example: !include examples/activityloggroup/POST/ActivityLogGroupList.json.example - 401: - description: Error - the user is not authorized to list activities. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-ai.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-ai.raml deleted file mode 100644 index 224f6b676e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-ai.raml +++ /dev/null @@ -1,182 +0,0 @@ -displayName: AI actions -/actions/{actionConfiguration}/execute: - post: - displayName: Execute AI Action - description: Executes an AI action using the specified Action Configuration identifier. - headers: - Accept: - description: Specifies the expected response type. If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ai.AltText+json - application/vnd.ibexa.api.ai.AltText+xml - application/vnd.ibexa.api.ai.RefineText+json - application/vnd.ibexa.api.ai.RefineText+xml - Content-Type: - description: Specifies the input type. - example: | - application/vnd.ibexa.api.ai.GenerateAltText+json - application/vnd.ibexa.api.ai.GenerateAltText+xml - application/vnd.ibexa.api.ai.RefineText+json - application/vnd.ibexa.api.ai.RefineText+xml - body: - application/vnd.ibexa.api.ai.AltText+json: - type: GenerateAltTextWrapper - example: !include examples/ai/actions/execute/POST/GenerateAltText.json.example - application/vnd.ibexa.api.ai.AltText+xml: - type: GenerateAltTextWrapper - example: !include examples/ai/actions/execute/POST/GenerateAltText.xml.example - application/vnd.ibexa.api.ai.RefineText+json: - type: RefineTextInputWrapper - example: !include examples/ai/actions/execute/POST/RefineTextInput.json.example - application/vnd.ibexa.api.ai.RefineText+xml: - type: RefineTextInputWrapper - example: !include examples/ai/actions/execute/POST/RefineTextInput.xml.example - responses: - 200: - description: Action executed successfuly. - body: - application/vnd.ibexa.api.ai.AltText+json: - type: AltTextWrapper - example: !include examples/ai/actions/execute/POST/AltText.json.example - application/vnd.ibexa.api.ai.AltText+xml: - type: AltTextWrapper - example: !include examples/ai/actions/execute/POST/AltText.xml.example - application/vnd.ibexa.api.ai.RefineText+json: - type: RefineTextWrapper - example: !include examples/ai/actions/execute/POST/RefineText.json.example - application/vnd.ibexa.api.ai.RefineText+xml: - type: RefineTextWrapper - example: !include examples/ai/actions/execute/POST/RefineText.xml.example - 400: - description: Error - the request is invalid. - 401: - description: Error - the user is not authorized to execute an AI action. - 404: - description: Error - the given Action Configuration identifier does not exist. - -/actions: - get: - displayName: List action configurations - description: Returns a list of action configurations. - queryParameters: - limit: - description: The number of results per page. - type: integer - page: - description: The page for which the results should be returned. - type: integer - default: 1 - enabled: - description: Return only enabled (1) or disabled (0) action configurations. - type: integer - action_type_identifier: - description: Return action configurations for the specified action type identifier. - type: string - query: - type: string - description: Return action configurations with identifier matching the given value, or the name starting with given value. - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ai.ActionConfigurationList+json - application/vnd.ibexa.api.ai.ActionConfigurationList+xml - responses: - 200: - body: - application/vnd.ibexa.api.ai.ActionConfigurationList+json: - type: ActionConfigurationListWrapper - example: !include examples/ai/actions/GET/ActionConfigurationList.json.example - application/vnd.ibexa.api.ai.ActionConfigurationList+xml: - type: ActionConfigurationListWrapper - example: !include examples/ai/actions/GET/ActionConfigurationList.xml.example - post: - displayName: List action configurations (POST) - description: Returns a list of action configurations, the same data as the GET endpoint. - headers: - Accept: - description: Specifies the expected response type. If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ai.ActionConfigurationList+json - application/vnd.ibexa.api.ai.ActionConfigurationList+xml - Content-Type: - description: Specifies the input type. - example: | - application/vnd.ibexa.api.ai.ActionConfigurationListInput+json - application/vnd.ibexa.api.ai.ActionConfigurationListInput+xml - body: - application/vnd.ibexa.api.ai.ActionConfigurationListInput+json: - type: ActionConfigurationListInputWrapper - example: !include examples/ai/actions/POST/ActionConfigurationListInput.json.example - application/vnd.ibexa.api.ai.ActionConfigurationListInput+xml: - type: ActionConfigurationListInputWrapper - example: !include examples/ai/actions/POST/ActionConfigurationListInput.xml.example - responses: - 200: - body: - application/vnd.ibexa.api.ai.ActionConfigurationList+json: - type: ActionConfigurationListWrapper - example: !include examples/ai/actions/GET/ActionConfigurationList.json.example - application/vnd.ibexa.api.ai.ActionConfigurationList+xml: - type: ActionConfigurationListWrapper - example: !include examples/ai/actions/GET/ActionConfigurationList.xml.example - - /{identifier}: - get: - displayName: Get an action configuration - description: Returns an action configuration with specified identifier. - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ai.ActionConfiguration+json - application/vnd.ibexa.api.ai.ActionConfiguration+xml - responses: - 200: - body: - application/vnd.ibexa.api.ai.ActionConfigurationList+json: - type: ActionConfiguration - example: !include examples/ai/actions/GET/ActionConfiguration.json.example - application/vnd.ibexa.api.ai.ActionConfigurationList+xml: - type: ActionConfiguration - example: !include examples/ai/actions/GET/ActionConfiguration.xml.example - -/action-types: - get: - displayName: List action types - description: Returns a list of AI action types. - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ai.ActionTypeList+json - application/vnd.ibexa.api.ai.ActionTypeList+xml - responses: - 200: - body: - application/vnd.ibexa.api.ai.ActionTypeList+json: - type: ActionTypeListWrapper - example: !include examples/ai/action-types/GET/ActionTypeList.json.example - application/vnd.ibexa.api.ai.ActionTypeList+xml: - type: ActionTypeListWrapper - example: !include examples/ai/action-types/GET/ActionTypeList.xml.example - - /{identifier}: - get: - displayName: Get action type - description: Returns the AI action type with given identifier. - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ai.ActionType+json - application/vnd.ibexa.api.ai.ActionType+xml - responses: - 200: - body: - application/vnd.ibexa.api.ai.ActionType+json: - type: ActionType - example: !include examples/ai/action-types/GET/ActionType.json.example - application/vnd.ibexa.api.ai.ActionType+xml: - type: ActionType - example: !include examples/ai/action-types/GET/ActionType.xml.example diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-bookmark.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-bookmark.raml deleted file mode 100644 index 4fd96924c5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-bookmark.raml +++ /dev/null @@ -1,63 +0,0 @@ -displayName: Managing bookmarks -get: - displayName: List of bookmarks - description: Lists bookmarked Locations for the current user. - queryParameters: - offset: - description: The offset of the result set. - type: integer - default: 0 - limit: - description: The number of returned bookmarks. - type: integer - default: 25 - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.BookmarkList+xml - application/vnd.ibexa.api.BookmarkList+json - responses: - 200: - body: - application/vnd.ibexa.api.BookmarkList+xml: - type: BookmarkList - example: !include examples/bookmark/GET/BookmarkList.xml.example - application/vnd.ibexa.api.BookmarkList+json: - type: BookmarkListWrapper - example: !include examples/bookmark/GET/BookmarkList.json.example - 401: - description: Error - the user is not authorized to list bookmarks. -/{locationId}: - post: - displayName: Create bookmark - description: Add given Location to bookmarks of the current user. - responses: - 201: - description: Created. - 401: - description: Error - the user is not authorized to given Location. - 404: - description: Error - the given Location does not exist. - 409: - description: Error - Location is already bookmarked. - head: - displayName: Check if Location is bookmarked - description: Checks if the given Location is bookmarked by the current user. - responses: - 200: - description: OK - bookmarked. - 401: - description: Error - the user is not authorized for the given Location. - 404: - description: Error - the given Location does not exist / is not bookmarked. - delete: - displayName: Delete bookmark - description: Deletes the given Location from bookmarks of the current user. - responses: - 204: - description: Deleted - no content. - 401: - description: Error - the user is not authorized for the given Location. - 404: - description: Error - the given Location does not exist / is not bookmarked. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-calendar.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-calendar.raml deleted file mode 100644 index c70b31b1a8..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-calendar.raml +++ /dev/null @@ -1,95 +0,0 @@ -displayName: Calendar -/event: - get: - displayName: Calendar list - description: Calendar event list. - queryParameters: - start: - description: Query start date. - type: datetime - end: - description: Query end date. - type: datetime - types: - description: The types of events that are displayed. - type: string - languages: - description: Language code. Restricts the output of translatable Fields to the given languages. - type: string - count: - description: Number of parameters that are returned in the list. - type: string - cursor: - description: Starting point of calendar event list. It should be taken from the URL. - type: string - headers: - Accept: - description: If set, the calendar event list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.EventList+xml - application/vnd.ibexa.api.EventList+json - responses: - 200: - body: - application/vnd.ibexa.api.EventList+xml: - type: EventList - example: !include examples/calendar/event/GET/EventList.xml.example - application/vnd.ibexa.api.EventList+json: - type: EventListWrapper - example: !include examples/calendar/event/GET/EventList.json.example - /grouped-by-day: - get: - displayName: Calendar list grouped by day - description: Calendar event list grouped by day. - queryParameters: - start: - description: Query start date. - type: integer - end: - description: Query end date. - type: integer - types: - description: The types of events that are displayed. - type: string - languages: - description: Language code. Restricts the output of event list to the given languages. - type: string - count: - description: Number of parameters that are returned in the list. - type: integer - cursor: - description: Starting point of calendar event list. It should be taken from the URL. - type: string - headers: - Accept: - description: If set, the calendar event list grouped by day is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.EventGroupList+xml - application/vnd.ibexa.api.EventGroupList+json - responses: - 200: - body: - application/vnd.ibexa.api.EventGroupList+xml: - type: EventGroupList - example: !include examples/calendar/event/grouped-by-day/GET/EventGroupList.xml.example - application/vnd.ibexa.api.EventGroupList+json: - type: EventGroupListWrapper - example: !include examples/calendar/event/grouped-by-day/GET/EventGroupList.json.example - /{eventType}: - post: - displayName: Calendar action - description: A calendar action that e.g. reschedules or unschedules calendar events. The event type should always be copied from an event. - headers: - Content-Type: - example: | - application/vnd.ibexa.api.calendar.future_publication.UnscheduleAction+json - application/vnd.ibexa.api.calendar.future_hide.UnscheduleAction+json - body: - application/vnd.ibexa.api.calendar.future_publication.UnscheduleAction+json: - type: UnscheduleActionWrapper - example: !include examples/calendar/event/eventType/POST/future_publication.UnscheduleAction.json.example - application/vnd.ibexa.api.calendar.future_hide.UnscheduleAction+json: - type: UnscheduleActionWrapper - responses: - 204: - description: No Content - the action has been unscheduled. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-cart.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-cart.raml deleted file mode 100644 index 1868a4391a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-cart.raml +++ /dev/null @@ -1,218 +0,0 @@ -displayName: Managing Commerce carts -post: - displayName: Create Cart - description: Creates Cart from payload. - headers: - Content-Type: - description: The CartCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CartCreate+xml - application/vnd.ibexa.api.CartCreate+json - Accept: - description: If set, the created Cart is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Cart+xml - application/vnd.ibexa.api.Cart+json - body: - application/vnd.ibexa.api.CartCreate+xml: - type: CartCreate - example: !include examples/cart/POST/CartCreate.xml.example - application/vnd.ibexa.api.CartCreate+json: - type: CartCreateWrapper - example: !include examples/cart/POST/CartCreate.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Cart+xml: - type: Cart - example: !include examples/cart/POST/Cart.xml.example - application/vnd.ibexa.api.Cart+json: - type: CartWrapper - example: !include examples/cart/POST/Cart.json.example - 400: - description: Error - The input does not match the input schema definition. -/view: - post: - displayName: Filter carts - description: Executes a query and returns a View including the results. - headers: - Accept: - description: The CartView schema is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CartView+xml - application/vnd.ibexa.api.CartView+json - Content-Type: - description: The CartViewInput schema is posted in XML or JSON format. - example: | - application/vnd.ibexa.api.CartViewInput+xml - application/vnd.ibexa.api.CartViewInput+json - body: - application/vnd.ibexa.api.CartViewInput+xml: - type: CartViewInput - example: !include examples/cart/view/CartViewInput.xml.example - application/vnd.ibexa.api.CartViewInput+json: - type: CartViewInputWrapper - example: !include examples/cart/view/CartViewInput.json.example - responses: - 200: - description: OK - returns a view and its results - body: - application/vnd.ibexa.api.CartView+xml: - type: CartView - application/vnd.ibexa.api.CartView+json: - type: CartViewWrapper - example: !include examples/cart/view/CartView.json.example -/{identifier}: - get: - displayName: Get Cart - description: Gets Cart by its identifier. - headers: - Accept: - description: The Cart is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Cart+xml - application/vnd.ibexa.api.Cart+json - responses: - 200: - description: OK - return the cart - body: - application/vnd.ibexa.api.Cart+xml: - type: Cart - example: !include examples/cart/POST/Cart.xml.example - application/vnd.ibexa.api.Cart+json: - type: CartWrapper - example: !include examples/cart/POST/Cart.json.example - 401: - description: Error - the user is not authorized to get this cart. - 404: - description: Error - The identifier do not match any Cart. - delete: - displayName: Delete Cart - description: Deletes Cart by its identifier. - patch: - displayName: Update Cart's metadata - description: Updates identified Cart's metadata from payload. - headers: - Content-Type: - description: The CartMetadataUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CartMetadataUpdate+xml - application/vnd.ibexa.api.CartMetadataUpdate+json - body: - application/vnd.ibexa.api.CartMetadataUpdate+xml: - type: CartMetadataUpdate - application/vnd.ibexa.api.CartMetadataUpdate+json: - type: CartMetadataUpdateWrapper - /entry: - post: - displayName: Add Entry to Cart - description: Adds an entry to the cart referenced by its identifier - headers: - Content-Type: - description: The CartEntryAdd schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CartEntryAdd+xml - application/vnd.ibexa.api.CartEntryAdd+json - body: - application/vnd.ibexa.api.CartEntryAdd+xml: - type: CartEntryAdd - application/vnd.ibexa.api.CartEntryAdd+json: - type: CartEntryAddWrapper - example: !include examples/cart/entry/POST/CartEntryAdd.json.example - /{entryId}: - delete: - displayName: Remove Entry from Cart - description: Removes the given entry from the given Cart. - patch: - displayName: Update Entry from Cart - description: Updates the given entry from the given Cart. - headers: - Content-Type: - description: The CartEntryUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CartEntryUpdate+xml - application/vnd.ibexa.api.CartEntryUpdate+json - body: - application/vnd.ibexa.api.CartEntryUpdate+xml: - type: CartEntryUpdate - application/vnd.ibexa.api.CartEntryUpdate+json: - type: CartEntryUpdateWrapper - /empty: - post: - displayName: Empty Cart - description: Empties the given Cart. - responses: - 204: - description: No Content - Cart emptied. - 401: - description: Error - The user is not authorized to empty this Cart. - 404: - description: Error - Cart not found. - /summary: - get: - displayName: Cart Summary - description: Gets a summary of the given Cart. - headers: - Accept: - description: Use CartSummary only if you require additional product information (such as Product type or Content). Depending on the suffix set, the Cart Summary is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ShortCartSummary+json - application/vnd.ibexa.api.ShortCartSummary+xml - application/vnd.ibexa.api.CartSummary+json - application/vnd.ibexa.api.CartSummary+xml - responses: - 200: - body: - application/vnd.ibexa.api.ShortCartSummary+json: - type: CartSummaryWrapper - example: !include examples/cart/summary/ShortCartSummary.json.example - application/vnd.ibexa.api.ShortCartSummary+xml: - type: CartSummaryWrapper - example: !include examples/cart/summary/ShortCartSummary.xml.example - application/vnd.ibexa.api.CartSummary+json: - type: CartSummaryWrapper - example: !include examples/cart/summary/CartSummary.json.example - application/vnd.ibexa.api.CartSummary+xml: - type: CartSummary - example: !include examples/cart/summary/CartSummary.xml.example - 401: - description: Error - The user is not authorized to read this Cart. - 404: - description: Error - Cart not found. - /validate: - post: - displayName: Cart Validation - description: Validates a Cart against constraints - headers: - Accept: - description: If set, the Cart Constraint Violations are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CartConstraintViolationList+xml - application/vnd.ibexa.api.CartConstraintViolationList+json - responses: - 200: - body: - application/vnd.ibexa.api.CartConstraintViolationList+xml: - type: CartConstraintViolationList - example: !include examples/cart/identifier/validate/CartConstraintViolationList.xml.example - application/vnd.ibexa.api.CartConstraintViolationList+json: - type: CartConstraintViolationListWrapper - example: !include examples/cart/identifier/validate/CartConstraintViolationList.json.example -/authorize: - post: - displayName: Cart Authorization - description: Returns the CSRF token required by anonymous user to interact with their own cart. - headers: - Accept: - example: | - application/vnd.ibexa.api.Token+xml - application/vnd.ibexa.api.Token+json - responses: - 200: - body: - application/vnd.ibexa.api.Token+xml: - type: Token - example: !include examples/cart/authorize/Token.xml.example - application/vnd.ibexa.api.CartConstraintViolationList+json: - type: Token - example: !include examples/cart/authorize/Token.json.example diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-commerce.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-commerce.raml deleted file mode 100644 index 6b87bb610e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-commerce.raml +++ /dev/null @@ -1,334 +0,0 @@ -displayName: eCommerce API (removed) - -/basket: - get: - displayName: Read list of baskets (removed) - description: | - Returns baskets for the current user. Only "storedBasket" and "wishList" types are handled. Others will return validation error. - Removed as of Ibexa DXP 4.4. - queryParameters: - type: - description: Either "storedBasket" or "wishList". "storedBasket" is assumed if not passed. - responses: - 200: - body: - application/vnd.ibexa.api.BasketListResponse+json: - type: BasketListResponseWrapper - example: !include examples/commerce/basket/headers/GET/BasketListResponse.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse: - type: ValidationResponse - - /current: - get: - displayName: Get current basket (removed) - description: | - Returns a Basket instance for the current session. If there isn't one, a new one will be created. - Removed as of Ibexa DXP 4.4. - headers: - Accept: - example: application/vnd.ibexa.api.Basket+json - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - - /{basketId}: - copy: - displayName: Copy basket to user session (removed) - description: |- - Adds basket lines into current basket in user session, if any, using basket stored in permanent storage. - Removed as of Ibexa DXP 4.4. - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - example: !include examples/commerce/basket/current/copyfrom/_basket_id_/POST/ValidationResponse.json.example - - /referencenumber: - patch: - displayName: Save the external reference number in basket (removed) - description: Removed as of Ibexa DXP 4.4. - - /remark: - patch: - displayName: Save the remark in basket (removed) - description: Removed as of Ibexa DXP 4.4. - - /party/{partyType}: - patch: - displayName: Update party information in the basket (removed) - description: Updates party (buyer, delivery, invoice) information in the basket. Removed as of Ibexa DXP 4.4. - body: - application/vnd.ibexa.api.PartyInvoice+json: - type: PartyTypeInputWrapper - example: !include examples/commerce/basket/current/party/invoice/PATCH/PartyInvoice.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - - /shippingmethod: - patch: - displayName: Update shipping information in current basket (removed) - description: Updates shipping information in the current basket. Removed as of Ibexa DXP 4.4. - body: - application/vnd.ibexa.api.ShippingMethodData+json: - type: ShippingMethodData - example: !include examples/commerce/basket/current/shippingmethod/PATCH/ShippingMethodData.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - - /paymentmethod: - patch: - displayName: Update payment information in current basket (removed) - description: Updates payment information in the current basket. Removed as of Ibexa DXP 4.4. - body: - application/vnd.ibexa.api.PaymentMethodData.json: - type: PaymentMethodDataWrapper - example: !include examples/commerce/basket/current/paymentmethod/PATCH/PaymentMethodData.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - - /voucher: - patch: - displayName: Update and check voucher in current basket (removed) - description: Updates and checks voucher in current basket. Removed as of Ibexa DXP 4.4. - body: - application/vnd.ibexa.api.VoucherData.json: - type: VoucherDataWrapper - example: !include examples/commerce/basket/current/voucher/PATCH/VoucherData.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - - /line: - post: - displayName: Add products to current basket (removed) - description: Adds products to the current basket. Removed as of Ibexa DXP 4.4. - body: - application/vnd.ibexa.api.BasketLineData+json: - type: BasketLineDataWrapper - example: !include examples/commerce/basket/current/lines/POST/BasketLineData.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - example: !include examples/commerce/basket/current/lines/POST/ValidationResponse.json.example - - /{basketId}: - get: - displayName: Get Basket by ID (removed) - description: Gets basket by ID. Removed as of Ibexa DXP 4.4, use GET /cart/{identifier} instead - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/_id_/GET/Basket.json.example - delete: - displayName: Delete Basket by ID (removed) - description: Deletes basket by ID. Removed as of Ibexa DXP 4.4, use DELETE /cart/{identifier} instead. - responses: - 200: - description: OK - The basket has been deleted - 400: - description: Error - The basket does not exist - 403: - description: Error - Access denied - - /name: - patch: - displayName: Update the name of the stored basket (removed) - description: | - Updates the name of the stored basket. - Removed as of Ibexa DXP 4.4, use PATCH /cart/{identifier} instead. - body: - application/vnd.ibexa.api.BasketHeaderData+json: - type: BasketHeaderDataWrapper - example: !include examples/commerce/basket/_id_/_mode_/POST/BasketHeaderData.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - - /note: - patch: - displayName: Update the note of the stored basket (removed) - description: | - Updates the note of the stored basket. - Removed as of Ibexa DXP 4.4. - body: - application/vnd.ibexa.api.BasketHeaderData+json: - type: BasketHeaderDataWrapper - example: !include examples/commerce/basket/_id_/_mode_/POST/BasketHeaderData.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - - /line: - post: - displayName: Add products to stored basket (removed) - description: Adds products to the stored basket. Removed as of Ibexa DXP 4.4, use POST /cart/{identifier}/entry instead. - body: - application/vnd.ibexa.api.BasketLineData+json: - type: BasketLineDataWrapper - example: !include examples/commerce/basket/current/lines/POST/BasketLineData.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - example: !include examples/commerce/basket/current/lines/POST/ValidationResponse.json.example - - /line/{lineId}: - delete: - displayName: Delete a line from a stored basket (removed) - description: Removed as of Ibexa DXP 4.4, use DELETE /cart/{identifier}/entry/{entryId} instead. - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - example: !include examples/commerce/basket/_id_/line/_line_id_/DELETE/ValidationResponse.json.example - - /{basketName}: - post: - displayName: Create a new persisted basket (removed) - description: Creates a new persisted basket. Removed as of Ibexa DXP 4.4. - responses: - 200: - body: - application/vnd.ibexa.api.Basket+json: - type: BasketWrapper - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ibexa.api.ValidationResponse+json: - type: ValidationResponseWrapper - example: !include examples/commerce/basket/POST/ValidationResponse.json.example - -/checkout: - /paymentmethods: - get: - displayName: Get list of payment methods (removed) - description: Removed as of Ibexa DXP 4.4. - responses: - 200: - body: - application/vnd.ibexa.api.PaymentMethodDataResponse+json: - type: PaymentMethodDataResponseWrapper - example: !include examples/commerce/checkout/payment-methods/GET/PaymentMethodDataResponse.json.example - - /shippingmethods: - get: - displayName: Get list of shipping methods (removed) - description: Removed as of Ibexa DXP 4.4. - responses: - 200: - body: - application/vnd.ibexa.api.ShippingMethodDataResponse+json: - type: ShippingMethodDataResponseWrapper - example: !include examples/commerce/checkout/shipping-methods/GET/ShippingMethodDataResponse.json.example - -/customer/addresses/shipping: - get: - displayName: Get list of shipping addresses (removed) - description: Removed as of Ibexa DXP 4.4. - responses: - 200: - body: - application/json: - type: ShippingAddressesResponseWrapper - example: !include examples/commerce/customer/addresses/shipping/GET/ShippingAddressesResponse.json.example - -/customerprice: - post: - displayName: Get customer prices for products (removed) - description: Gets customer prices for the requested products. Removed as of Ibexa DXP 4.4. - body: - application/json: - type: CustomerPriceDataWrapper - example: !include examples/commerce/customerprice/POST/CustomerPriceData.json.example - responses: - 200: - body: - application/json: - type: PriceResponseWrapper - example: !include examples/commerce/customerprice/POST/PriceResponse.json.example - - -/common/check_sku_file/{mode}: - post: - displayName: Add to basket from CSV or Excel (removed) - description: Adds to basket a line from a CSV or Excel file. Removed as of Ibexa DXP 4.4. - -/country: - get: - displayName: Get list of countries (removed) - description: Removed as of Ibexa DXP 4.4, use GET /services/countries instead. - responses: - 200: - body: - application/json: - type: CountrySelectionResponseWrapper - example: !include examples/commerce/country-selection/GET/CountrySelectionResponse.json.example diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-assets.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-assets.raml deleted file mode 100644 index 53b74853d4..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-assets.raml +++ /dev/null @@ -1,20 +0,0 @@ -displayName: content/assets/images -/images/{assetId}/{assetSource}: - get: - displayName: Fetch image asset value - description: Fetches the image asset value object. Depending on the provider, the asset metadata object can contain different parameters. - headers: - Accept: - description: If set, the value XML object with image asset metadata is returned. - example: | - application/vnd.ibexa.api.Asset+xml - responses: - 200: - body: - application/vnd.ibexa.api.Asset+xml: - type: Asset - example: !include examples/content/assets/images/assetId/assetSource/GET/Asset.xml.example - 401: - description: Error - the user is not authorized to read this image asset. - 404: - description: Error - asset Id/asset source pair does not match any image asset. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-binary.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-binary.raml deleted file mode 100644 index 1df9c4bf90..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-binary.raml +++ /dev/null @@ -1,23 +0,0 @@ -displayName: content/binary/name -/binary/images/{imageId}/variations/{variationIdentifier}: - get: - displayName: Load an image variation - description: Loads an image variation. - headers: - Accept: - description: If set, the image is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentImageVariation+xml - application/vnd.ibexa.api.ContentImageVariation+json - responses: - 200: - body: - application/vnd.ibexa.api.ContentImageVariation+xml: - type: ContentImageVariation - example: !include examples/content/binary/images/image_id/variations/variation_identifier/GET/ImageVariation.xml.example - application/vnd.ibexa.api.ContentImageVariation+json: - type: ContentImageVariation - 401: - description: Error - the user is not authorized to read this content item. - 404: - description: Error - image ID doesn't match any image or variationIdentifier doesn't match any known variation. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-locations.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-locations.raml deleted file mode 100644 index 6a4cc6a72c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-locations.raml +++ /dev/null @@ -1,196 +0,0 @@ -get: - displayName: Load Locations by id/remoteId/urlAlias - description: Loads the Location for a given ID (x), remote ID or URL alias. - queryParameters: - id: - description: The ID of the Location. If present, the Location with the given ID is returned. - remoteId: - description: The remote ID of the Location. If present, the Location with the given remote ID is returned. - urlAlias: - description: One of the URL aliases of the Location. If present, the Location with given URL Alias is returned. - headers: - Accept: - example: | - application/vnd.ibexa.api.LocationList+xml - application/vnd.ibexa.api.LocationList+json - responses: - 307: - description: Temporary redirect to the main resource URL. - 200: - body: - application/vnd.ibexa.api.LocationList+xml: - type: Location - example: !include examples/content/locations/GET/LocationList.xml.example - application/vnd.ibexa.api.LocationList+json: - type: LocationWrapper - example: !include examples/content/locations/GET/LocationList.json.example - 404: - description: Error - the Location with the given ID (remote ID or URL Alias) does not exist. -/{path}: - get: - displayName: Load Location - description: Loads the Location for the given path e.g. '/content/locations/1/2/61'. - headers: - Accept: - description: If set, the new Location is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Location+xml - application/vnd.ibexa.api.Location+json - If-None-Match: - description: ETag - responses: - 200: - body: - application/vnd.ibexa.api.Location+xml: - type: Location - example: !include examples/content/locations/path/GET/Location.xml.example - application/vnd.ibexa.api.Location+json: - type: LocationWrapper - example: !include examples/content/locations/path/GET/Location.json.example - 401: - description: Error - the user is not authorized to read this Location. - 404: - description: Error - the Location with the given path does not exist. - move: - displayName: Move subtree - description: Moves Location to a different parent. The destination can also be '/content/trash' where the Location is put into the trash. (NOTE - Be aware that the user might lose access to the item after it has been moved, for example when read access is limited by a subtree). MOVE or POST with header X-HTTP-Method-Override MOVE. - headers: - Destination: - description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'. - responses: - 201: - description: Created. If destination is '/api/ibexa/v2/content/trash' and content only has one Location (NOTE - Like on normal subtree moves, be aware that the user might lose access to the item after it has been moved to Trash.) - 204: - description: No Content. If destination is '/api/ibexa/v2/content/trash' and content still has other Locations (no trash item is created). - 401: - description: Error - the user is not authorized to move this Location. - 404: - description: Error - the Location with the given ID does not exist. - copy: - displayName: Copy subtree - description: Copies the subtree to a different parent. COPY or POST with header X-HTTP-Method-Override COPY. - headers: - Destination: - description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'. - responses: - 201: - description: Created. Copied the subtree to a different parent. - 401: - description: Error - the user is not authorized to move this Location. - 404: - description: Error - the Location with the given ID does not exist. - delete: - displayName: Delete subtree - description: Deletes the complete subtree for the given path. Every content item which does not have any other Location is deleted. Otherwise the deleted Location is removed from the content item. The children are recursively deleted. - responses: - 204: - description: No Content - deleted. - 401: - description: Error - the user is not authorized to delete this subtree. - 404: - description: Error - the Location with the given ID does not exist. - patch: - displayName: Update Location - description: Updates the Location. This method can also be used to hide/reveal a Location via the hidden field in the LocationUpdate. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the Location is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Location+xml - application/vnd.ibexa.api.Location+json - Content-Type: - description: The LocationUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.LocationUpdate+xml - application/vnd.ibexa.api.LocationUpdate+json - If-Match: - description: ETag - body: - application/vnd.ibexa.api.LocationUpdate+xml: - type: LocationUpdate - example: !include examples/content/locations/location_id/PATCH/LocationUpdate.xml.example - application/vnd.ibexa.api.LocationUpdate+json: - type: LocationUpdateWrapper - example: !include examples/content/locations/location_id/PATCH/LocationUpdate.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Location+xml: - type: Location - example: !include examples/content/locations/location_id/PATCH/Location.xml.example - application/vnd.ibexa.api.Location+json: - type: LocationWrapper - example: !include examples/content/locations/location_id/PATCH/Location.json.example - 401: - description: Error - the user is not authorized to update this Location. - 404: - description: Error - the Location with the given ID does not exist. - swap: - displayName: Swap Location - description: Swaps the Location of a content item with the given Location of another content item. SWAP or POST with header X-HTTP-Method-Override SWAP. - headers: - Destination: - description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'. - responses: - 204: - description: No Content. Swapped the Location of a content item with the given Location of another content item. - 401: - description: Error - the user is not authorized to swap this Location. - 404: - description: Error - the Location with the given ID does not exist. - /children: - get: - displayName: Get child Locations. - description: Loads all child Locations for the given parent Location. - queryParameters: - offset: - description: The offset of the result set. - type: integer - limit: - description: The number of Locations returned. - type: integer - headers: - Accept: - description: If set, the new Location list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.LocationList+xml - application/vnd.ibexa.api.LocationList+json - responses: - 200: - body: - application/vnd.ibexa.api.LocationList+xml: - type: LocationList - example: !include examples/content/locations/path/children/GET/LocationList.xml.example - application/vnd.ibexa.api.LocationList+json: - type: LocationList - 401: - description: Error - the user is not authorized to read this content item. - 404: - description: Error - the content item with the given ID does not exist. - /urlaliases: - get: - displayName: List URL aliases for Location - description: Returns the list of URL aliases for a Location. - queryParameters: - custom: - description: Indicates whether autogenerated (false) or manual URL aliases (true) should be returned (default true). - type: boolean - headers: - Accept: - description: If set, the URL alias list contains only references and is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlAliasRefList+xml - application/vnd.ibexa.api.UrlAliasRefList+json - responses: - 200: - description: OK - returns the list of URL aliases. - body: - application/vnd.ibexa.api.UrlAliasRefList+xml: - type: UrlAliasRefList - example: !include examples/content/locations/path/urlaliases/GET/UrlAliasRefList.xml.example - application/vnd.ibexa.api.UrlAliasRefList+json: - type: UrlAliasRefListWrapper - 400: - description: Error - The user has no permission to read URL aliases. - 401: - description: Error - The Location was not found. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-objects.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-objects.raml deleted file mode 100644 index 763ab99a5d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-objects.raml +++ /dev/null @@ -1,631 +0,0 @@ -post: - displayName: Create content item - description: Creates a draft assigned to the authenticated user. If a different user ID is given in the input, the draft is assigned to the given user but this action requires special permissions for the authenticated user (this is useful for content staging where the transfer process does not have to authenticate with the user who created the content item in the source server). The user needs to publish the content item if it should be visible. - headers: - Accept: - description: Content - If set, all information for the content item including the embedded current version is returned in XML or JSON format. ContentInfo - If set, all information for the content item (excluding the current version) is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Content+xml - application/vnd.ibexa.api.Content+json - application/vnd.ibexa.api.ContentInfo+xml - application/vnd.ibexa.api.ContentInfo+json - Content-Type: - description: The ContentCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentCreate+xml - application/vnd.ibexa.api.ContentCreate+json - body: - application/vnd.ibexa.api.ContentCreate+xml: - type: ContentCreate - example: !include examples/content/objects/POST/ContentCreate.xml.example - application/vnd.ibexa.api.ContentCreate+json: - type: ContentCreateWrapper - example: !include examples/content/objects/POST/ContentCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Content+xml: - type: Content - example: !include examples/content/objects/POST/Content.xml.example - application/vnd.ibexa.api.Content+json: - type: ContentWrapper - example: !include examples/content/objects/POST/Content.json.example - application/vnd.ibexa.api.ContentInfo+xml: - type: ContentInfoWrapper - example: !include examples/content/objects/POST/ContentInfo.xml.example - 400: - description: Error - the input does not match the input schema definition or the validation on a field fails. - 401: - description: Error - the user is not authorized to create this Object in this Location. - 404: - description: Error - the parent Location specified in the request body does not exist. -get: - displayName: Load content by remote ID - description: Loads content item for a given remote ID. - queryParameters: - remoteId: - description: The remote ID of the content item. If present, the content item with the given remote ID is returned. - responses: - 307: - description: Temporary redirect. - 404: - description: Error - the content with the given remote ID does not exist. -/{contentId}: - get: - displayName: Load content - description: Loads the content item for the given ID. Depending on the Accept header the current version is embedded (i.e. the current published version or if it does not exist, the draft of the authenticated user). - queryParameters: - languages: - description: Restricts the output of translatable fields to the given languages. Comma separated list. - type: string - headers: - Accept: - description: Content - If set, all information for the content item including the embedded current version is returned in XML or JSON format. ContentInfo - If set, all information for the content item (excluding the current version) is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Content+xml - application/vnd.ibexa.api.Content+json - application/vnd.ibexa.api.ContentInfo+xml - application/vnd.ibexa.api.ContentInfo+json - If-None-Match: - description: If the provided ETag matches the current ETag then a "304 Not Modified" is returned. The ETag changes if the meta data has changed, this happens also if there is a new published version. - example: ETag - responses: - 200: - body: - application/vnd.ibexa.api.Content+xml: - type: Content - example: !include examples/content/objects/content_id/GET/Content.xml.example - application/vnd.ibexa.api.Content+json: - type: ContentWrapper - example: !include examples/content/objects/content_id/GET/Content.json.example - application/vnd.ibexa.api.ContentInfo+xml: - type: ContentInfo - example: !include examples/content/objects/content_id/GET/ContentInfo.xml.example - application/vnd.ibexa.api.ContentInfo+json: - type: ContentInfoWrapper - 401: - description: Error - the user is not authorized to read this object. This could also happen if there is no published version yet and another user owns a draft of this content item. - 404: - description: Error - the ID is not found. - patch: - displayName: Update content - description: This method updates the content metadata which is independent from a version. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, all information for the content item (excluding the current version) is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentInfo+xml - application/vnd.ibexa.api.ContentInfo+json - If-match: - description: Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. - example: ETag - Content-Type: - description: The ContentUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentUpdate+xml - application/vnd.ibexa.api.ContentUpdate+json - body: - application/vnd.ibexa.api.ContentUpdate+xml: - type: ContentInfo - example: !include examples/content/objects/content_id/PATCH/ContentUpdate.xml.example - application/vnd.ibexa.api.ContentUpdate+json: - type: ContentInfoWrapper - responses: - 200: - body: - application/vnd.ibexa.api.ContentInfo+xml: - type: ContentInfo - example: !include examples/content/objects/content_id/PATCH/ContentInfo.xml.example - application/vnd.ibexa.api.ContentInfo+json: - type: ContentInfoWrapper - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this object. - 404: - description: Error - the content ID does not exist. - 412: - description: Error - the current ETag does not match with the one provided in the If-Match header. - 415: - description: Error - the media-type is not one of those specified in headers. - delete: - displayName: Delete Content - description: Deletes content item. If content item has multiple Locations, all of them will be deleted via delete a subtree. - responses: - 204: - description: The content item is deleted. - 404: - description: Error - content item was not found. - 401: - description: Error - the user is not authorized to delete this content item. - copy: - displayName: Copy content - description: Creates new content item as a copy, under the given parent Location given in the destination header. COPY or POST with header X-HTTP-Method-Override COPY. - headers: - destination: - description: A Location resource to which the content item should be copied. - responses: - 201: - description: Copy created. - 401: - description: Error - the user is not authorized to copy this content item to the given Location. - 404: - description: Error - the source or destination resource does not exist. - /translations/{languageCode}: - delete: - displayName: Delete translation (permanently) - description: Permanently deletes a translation from all versions of a content item. - responses: - 204: - description: No Content - 401: - description: Error - the user is not authorized to delete content item (content/remove policy). - 404: - description: Error - the content item was not found. - 406: - description: Error - the given translation does not exist for the content item. - 409: - description: Error - the specified translation is the only one any version has or is the main translation. - /currentversion: - get: - displayName: Get current version - description: Redirects to the current version of the content item. - responses: - 200: - body: - application/vnd.ibexa.api.Version+xml: - type: Version - example: !include examples/content/objects/content_id/currentversion/GET/Version.xml.example - application/vnd.ibexa.api.Version+json: - type: VersionWrapper - example: !include examples/content/objects/content_id/currentversion/GET/Version.json.example - 307: - description: Temporary redirect. - 404: - description: Error - the resource does not exist. - copy: - displayName: Create a draft from current version - description: The system creates a new draft as a copy of the current version. COPY or POST with header X-HTTP-Method-Override COPY. - headers: - Accept: - description: If set, the updated version is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Version+xml - application/vnd.ibexa.api.Version+json - responses: - 201: - description: Created - body: - application/vnd.ibexa.api.Version+xml: - type: Version - example: !include examples/content/objects/content_id/currentversion/COPY/Version.xml.example - application/vnd.ibexa.api.Version+json: - type: VersionWrapper - example: !include examples/content/objects/content_id/currentversion/COPY/Version.json.example - 401: - description: Error - the user is not authorized to update this content item. - 403: - description: Error - the current version is already a draft. - 404: - description: Error - the content item was not found. - /versions: - get: - displayName: List versions - description: Returns a list of all versions of the content item. This method does not include fields and relations in the version elements of the response. - headers: - Accept: - description: If set, the version list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.VersionList+xml - application/vnd.ibexa.api.VersionList+json - responses: - 200: - body: - application/vnd.ibexa.api.VersionList+xml: - type: VersionList - example: !include examples/content/objects/content_id/versions/GET/VersionList.xml.example - application/vnd.ibexa.api.VersionList+json: - type: VersionListWrapper - example: !include examples/content/objects/content_id/versions/GET/VersionList.json.example - 401: - description: Error - the user has no permission to read the versions. - /{versionNo}: - get: - displayName: Load version - description: Loads a specific version of a content item. This method returns Fields and relations. - queryParameters: - fields: - description: Fields which should be returned in the response. Comma separated list. - type: string - responseGroups: - description: Alternative comma separated lists of predefined Field groups. - type: string - languages: - description: Restricts the output of translatable Fields to the given languages. Comma separated list. - type: string - headers: - If-None-Match: - description: Only return the version if the given ETag is the not current one, otherwise a 304 is returned. - example: ETag - Accept: - description: If set, the version list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Version+xml - application/vnd.ibexa.api.Version+json - responses: - 200: - body: - application/vnd.ibexa.api.Version+xml: - type: Version - example: !include examples/content/objects/content_id/versions/version_no/GET/Version.xml.example - application/vnd.ibexa.api.Version+json: - type: VersionWrapper - example: !include examples/content/objects/content_id/versions/version_no/GET/Version.json.example - 304: - description: Error - the ETag does not match the current one. - 401: - description: Error - the user is not authorized to read this content item. - 404: - description: Error - the ID or version is not found. - patch: - displayName: Update version - description: A specific draft is updated. PATCH or POST with header X-HTTP-Method-Override PATCH. - queryParameters: - languages: - description: Restricts the output of translatable Fields to the given languages. Comma separated list. - type: string - headers: - Accept: - description: If set, the updated version is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Version+xml - application/vnd.ibexa.api.Version+json - If-match: - description: Performs the patch only if the specified ETag is the current one. - Content-Type: - description: The VersionUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.VersionUpdate+xml - application/vnd.ibexa.api.VersionUpdate+json - body: - application/vnd.ibexa.api.VersionUpdate+xml: - type: VersionUpdate - example: !include examples/content/objects/content_id/versions/version_no/PATCH/VersionUpdate.xml.example - application/vnd.ibexa.api.VersionUpdate+json: - type: VersionUpdateWrapper - responses: - 200: - body: - application/vnd.ibexa.api.Version+xml: - type: Version - example: !include examples/content/objects/content_id/versions/version_no/PATCH/Version.xml.example - application/vnd.ibexa.api.Version+json: - type: VersionWrapper - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this version. - 403: - description: Error - the version is not allowed to change - i.e. version is not a DRAFT. - 404: - description: Error - the content ID or version ID does not exist. - 412: - description: Error - the current ETag does not match with the one provided in the If-Match header. - copy: - displayName: Create a draft from a version - description: The system creates a new draft as a copy of the given version. COPY or POST with header X-HTTP-Method-Override COPY. - headers: - Accept: - description: If set, the updated version is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Version+xml - application/vnd.ibexa.api.Version+json - responses: - 201: - description: Created. - body: - application/vnd.ibexa.api.Version+xml: - type: Version - example: !include examples/content/objects/content_id/versions/version_no/COPY/Version.xml.example - application/vnd.ibexa.api.Version+json: - type: VersionWrapper - example: !include examples/content/objects/content_id/versions/version_no/COPY/Version.json.example - 401: - description: Error - the user is not authorized to update this content item. - 404: - description: Error - the content item was not found. - delete: - displayName: Delete content version - description: Deletes the content version. - responses: - 204: - description: No Content - the version is deleted. - 404: - description: Error - the content item or version were not found. - 401: - description: Error - the user is not authorized to delete this version. - 403: - description: Error - the version is in published state. - publish: - displayName: Publish a content version - description: Publishes the content version. PUBLISH or POST with header X-HTTP-Method-Override PUBLISH - responses: - 204: - description: No Content - the content version is published. - 401: - description: Error - the user is not authorized to publish this version. - 403: - description: Error - the version is not a draft. - 404: - description: Error - the content item or version were not found. - /translations/{languageCode}: - delete: - displayName: Delete translation from version draft - description: Removes a translation from a version draft. - responses: - 204: - description: No Content - removes a translation from a version draft. - 401: - description: Error - the user is not authorized to delete this translation. - 403: - description: Error - the version is not in draft state. - 404: - description: Error - the content item or version number were not found. - 406: - description: Error - the given translation does not exist for the version. - 409: - description: Error - the specified translation is the only one the version has or is the main translation. - /relations: - get: - displayName: Load Relations of content item version - description: Loads the Relations of the given version. - queryParameters: - offset: - description: The offset of the result set. - type: integer - limit: - description: The number of bookmarks returned. - type: integer - headers: - Accept: - description: If set, the Relation is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RelationList+xml - application/vnd.ibexa.api.RelationList+json - responses: - 200: - body: - application/vnd.ibexa.api.RelationList+xml: - type: RelationList - example: !include examples/content/objects/content_id/versions/version_no/relations/GET/RelationList.xml.example - application/vnd.ibexa.api.RelationList+json: - type: RelationListWrapper - example: !include examples/content/objects/content_id/versions/version_no/relations/GET/RelationList.json.example - 401: - description: Error - the user is not authorized to read this content item. - 404: - description: Error - the content item was not found. - post: - displayName: Create new Relation - description: Creates a new Relation of type COMMON for the given draft. - headers: - Accept: - description: If set, the updated version is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Relation+xml - application/vnd.ibexa.api.Relation+json - Content-Type: - description: The RelationCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.RelationCreate+xml - application/vnd.ibexa.api.RelationCreate+json - body: - application/vnd.ibexa.api.RelationCreate+xml: - type: RelationCreate - example: !include examples/content/objects/content_id/versions/version_no/relations/POST/RelationCreate.xml.example - application/vnd.ibexa.api.RelationCreate+json: - type: RelationCreateWrapper - example: !include examples/content/objects/content_id/versions/version_no/relations/POST/RelationCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Relation+xml: - type: Relation - example: !include examples/content/objects/content_id/versions/version_no/relations/POST/Relation.xml.example - application/vnd.ibexa.api.Relation+json: - type: RelationWrapper - example: !include examples/content/objects/content_id/versions/version_no/relations/POST/Relation.json.example - /{relationId}: - get: - displayName: Load Relation - description: Loads a Relation for the given content item. - headers: - Accept: - description: If set, the Relation is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Relation+xml - application/vnd.ibexa.api.Relation+json - responses: - 200: - description: OK - loads a Relation for the given content item. - body: - application/vnd.ibexa.api.Relation+xml: - type: Relation - example: !include examples/content/objects/content_id/versions/version_no/relations/relation_id/GET/Relation.xml.example - application/vnd.ibexa.api.Relation+json: - type: RelationWrapper - 401: - description: Error - the user is not authorized to read this content item. - 404: - description: Error - the content item with the given ID or the Relation does not exist. - delete: - displayName: Delete Relation - description: Deletes a Relation of the given draft. - responses: - 204: - description: No Content - deleted a Relation of the given draft. - 401: - description: Error - the user is not authorized to delete this Relation. - 403: - description: Error - the Relation is not of type COMMON or the given version is not a draft. - 404: - description: Error - content item or the Relation were not found in the given version. - /relations: - get: - displayName: Load Relations of content item - description: Redirects to the Relations of the current version. - responses: - 307: - description: Temporary redirect. - 401: - description: Error - the user is not authorized to read this content item. - 404: - description: Error - the content item was not found. - /locations: - post: - displayName: Create new Location for content item - description: Creates a new Location for the given content item. - headers: - Accept: - description: If set, the new Location is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Location+xml - application/vnd.ibexa.api.Location+json - Content-Type: - description: The LocationCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.LocationCreate+json - application/vnd.ibexa.api.LocationCreate+xml - body: - application/vnd.ibexa.api.LocationCreate+xml: - type: LocationCreate - example: !include examples/content/objects/content_id/locations/POST/LocationCreate.xml.example - application/vnd.ibexa.api.LocationCreate+json: - type: LocationCreateWrapper - example: !include examples/content/objects/content_id/locations/POST/LocationCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Location+xml: - type: Location - example: !include examples/content/objects/content_id/locations/POST/Location.xml.example - application/vnd.ibexa.api.Location+json: - type: LocationWrapper - example: !include examples/content/objects/content_id/locations/POST/Location.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this Location. - 403: - description: Error - a Location under the given parent ID already exists. - get: - displayName: Get Locations for content item - description: Loads all Locations for the given content item. - headers: - Accept: - description: If set, the Location list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.LocationList+xml - application/vnd.ibexa.api.LocationList+json - If-None-Match: - description: ETag - responses: - 200: - body: - application/vnd.ibexa.api.LocationList+xml: - type: LocationList - example: !include examples/content/objects/content_id/locations/GET/LocationList.xml.example - application/vnd.ibexa.api.LocationList+json: - type: LocationListWrapper - example: !include examples/content/objects/content_id/locations/GET/LocationList.json.example - 401: - description: Error - the user is not authorized to read this content item. - 404: - description: Error - the content item with the given ID does not exist. - /objectstates: - get: - displayName: Get Object states of content item - description: Returns the Object states of a content item - headers: - Accept: - description: If set, the Object states are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentObjectStates+xml - application/vnd.ibexa.api.ContentObjectStates+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - returns the Object state. - body: - application/vnd.ibexa.api.ContentObjectStates+xml: - type: ContentObjectStates - example: !include examples/content/objects/content_id/objectstates/GET/ContentObjectStates.xml.example - application/vnd.ibexa.api.ContentObjectStates+json: - type: ContentObjectStatesWrapper - example: !include examples/content/objects/content_id/objectstates/GET/ContentObjectStates.json.example - 404: - description: Error - The content item does not exist. - patch: - displayName: Set Object states of content item - description: Updates Object states of a content item. An Object state in the input overrides the state of the Object state group. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated Object state is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentObjectStates+xml - application/vnd.ibexa.api.ContentObjectStates+json - Content-Type: - description: The content item Object states input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentObjectStates+xml - application/vnd.ibexa.api.ContentObjectStates+json - If-Match: - description: ETag - body: - application/vnd.ibexa.api.ContentObjectStates+xml: - type: ContentObjectStates - example: !include examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.request.xml.example - application/vnd.ibexa.api.ContentObjectStates+json: - type: ContentObjectStatesWrapper - example: !include examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.request.json.example - responses: - 204: - description: OK - Object state updated. - body: - application/vnd.ibexa.api.ContentObjectStates+xml: - type: ContentObjectStates - example: !include examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.response.xml.example - application/vnd.ibexa.api.ContentObjectStates+json: - type: ContentObjectStatesWrapper - example: !include examples/content/objects/content_id/objectstates/PATCH/ContentObjectStates.response.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to set an Object state. - 403: - description: Error - The input contains multiple Object states of the same Object state group. - 412: - description: Error - The current ETag does not match the one provided in the If-Match header. - /hide: - post: - displayName: Hide content item - description: Makes or keep the content item invisible - responses: - 204: - description: OK - Object item is hidden. - 401: - description: Error - The user has no permission to change Object item visibility. - 404: - description: Error - The content item was not found. - /reveal: - post: - displayName: Reveal content item - description: Makes or keep the content item visible - responses: - 204: - description: OK - Object item is revealed. - 401: - description: Error - The user has no permission to change Object item visibility. - 404: - description: Error - The content item was not found. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-sections.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-sections.raml deleted file mode 100644 index 53645c4fde..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-sections.raml +++ /dev/null @@ -1,138 +0,0 @@ -post: - displayName: Create new Section - description: Creates a new Section. - headers: - Accept: - description: If set, the new Section is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Section+xml - application/vnd.ibexa.api.Section+json - Content-Type: - description: The Section input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.SectionInput+json - application/vnd.ibexa.api.SectionInput+xml - body: - application/vnd.ibexa.api.SectionInput+xml: - type: SectionInput - example: !include examples/content/sections/POST/SectionInput.xml.example - application/vnd.ibexa.api.SectionInput+json: - type: SectionInputWrapper - example: !include examples/content/sections/POST/SectionInput.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Section+xml: - type: Section - example: !include examples/content/sections/POST/Section.xml.example - application/vnd.ibexa.api.Section+json: - type: SectionWrapper - example: !include examples/content/sections/POST/Section.json.example -get: - displayName: Get Sections - description: Returns a list of all Sections. - queryParameters: - identifer: - description: Only the Section with the given identifier is returned. - headers: - Accept: - description: If set, the Section list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.SectionList+xml - application/vnd.ibexa.api.SectionList+json - If-None-Match: - description: ETag - responses: - 200: - body: - application/vnd.ibexa.api.SectionList+xml: - type: SectionList - example: !include examples/content/sections/GET/SectionList.xml.example - application/vnd.ibexa.api.SectionList+json: - type: SectionListWrapper - example: !include examples/content/sections/GET/SectionList.json.example - 401: - description: Error - The user has no permission to read the Section. -/{sectionId}: - get: - displayName: Get Section - description: Returns the Section by given Section ID. - headers: - Accept: - description: If set, the Section is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Section+xml - application/vnd.ibexa.api.Section+json - If-None-match: - description: ETag - responses: - 200: - body: - application/vnd.ibexa.api.Section+xml: - type: Section - example: !include examples/content/sections/section_id/GET/Section.xml.example - application/vnd.ibexa.api.Section+json: - type: SectionWrapper - example: !include examples/content/sections/section_id/GET/Section.json.example - 401: - description: Error - The user is not authorized to read this Section. - 404: - description: Error - The Section does not exist. - patch: - displayName: Update a Section - description: Updates a Section. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated Section is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Section+xml - application/vnd.ibexa.api.Section+json - Content-Type: - description: The Section input schema encoded in XML or JSON. - example: | - application/vnd.ibexa.api.SectionInput+xml - application/vnd.ibexa.api.SectionInput+json - If-Match: - description: ETag - body: - application/vnd.ibexa.api.SectionInput+xml: - type: SectionInput - example: !include examples/content/sections/section_id/PATCH/SectionInput.xml.example - application/vnd.ibexa.api.SectionInput+json: - type: SectionInputWrapper - example: !include examples/content/sections/section_id/PATCH/SectionInput.json.example - responses: - 200: - description: OK - Section updated. - body: - application/vnd.ibexa.api.Section+xml: - type: Section - example: !include examples/content/sections/section_id/PATCH/Section.xml.example - application/vnd.ibexa.api.Section+json: - type: SectionWrapper - example: !include examples/content/sections/section_id/PATCH/Section.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this Section. - 403: - description: Error - a Section with the given identifier already exists. - 412: - description: Error - the current ETag does not match with the one provided in the If-Match header. - delete: - displayName: Delete Section - description: The given Section is deleted. - #headers: TODO - # a little obvious? - #Accept: - #description: If set, in the case of an error the error message is returned in XML or JSON format - #example: | - #application/vnd.ibexa.api.ErrorMessage+xml - #application/vnd.ibexa.api.ErrorMessage+json - responses: - 204: - description: No Content - given Section is deleted. - 401: - description: Error - the user is not authorized to delete this Section. - 404: - description: Error - the Section does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-trash.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-trash.raml deleted file mode 100644 index 01c3568230..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-trash.raml +++ /dev/null @@ -1,82 +0,0 @@ -get: - displayName: List Trash items - description: Returns a list of all items in the Trash. - queryParameters: - limit: - description: Only limit. Items will be returned, starting with the offset. - offset: - description: Offset of the result set. - headers: - Accept: - description: If set, the Trash item list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Trash+xml - application/vnd.ibexa.api.Trash+json - responses: - 200: - description: OK - returns the list of items in the Trash. - body: - application/vnd.ibexa.api.Trash+xml: - type: Trash - example: !include examples/content/trash/GET/Trash.xml.example - application/vnd.ibexa.api.Trash+json: - type: TrashWrapper - example: !include examples/content/trash/GET/Trash.json.example - 401: - description: Error - The user has no permission to read the Trash. -delete: - displayName: Empty Trash - description: Empties the Trash. - responses: - 204: - description: No Content - Trash emptied. - 401: - description: Error - The user is not authorized to empty all items from Trash. -/{trashItemid}: - get: - displayName: Get Trash item - description: Returns the item in Trash with the provided ID. - headers: - Accept: - description: If set, the item in Trash is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.TrashItem+xml - application/vnd.ibexa.api.TrashItem+json - responses: - 200: - body: - application/vnd.ibexa.api.TrashItem+xml: - type: TrashItem - example: !include examples/content/trash/trash_itemid/GET/TrashItem.xml.example - application/vnd.ibexa.api.TrashItem+json: - type: TrashItemWrapper - example: !include examples/content/trash/trash_itemid/GET/TrashItem.json.example - 401: - description: Error - The user has no permission to read the item in Trash. - 404: - description: Error - An item in Trash with the provided ID does not exist. - move: - displayName: Untrash content item - description: Restores an item from Trash. MOVE or POST with header X-HTTP-Method-Override MOVE. - headers: - Destination: - description: If the destination Location URI is provided, the item from Trash is restored under this Location, otherwise it is restored under its original parent Location. - responses: - 201: - description: Item restored. - 401: - description: Error - The user is not authorized to restore this item from Trash. - 403: - description: Error - The provided parent Location does not exist. - 404: - description: Error - The provided item does not exist in Trash. - delete: - displayName: Delete Trash item - description: Deletes the provided item from Trash. - responses: - 204: - description: No Content - item deleted. - 401: - description: Error - The user is not authorized to delete the provided item. - 404: - description: Error - The provided item does not exist in Trash. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-typegroups.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-typegroups.raml deleted file mode 100644 index ccb92a5929..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-typegroups.raml +++ /dev/null @@ -1,214 +0,0 @@ -displayName: Managing content type groups -get: - displayName: Get content type groups - description: Returns a list of all content type groups. If an identifier is provided, loads the content type group for this identifier. - queryParameters: - identifier: - description: The identifier of the content type group. If present, the content type group with this identifier is returned. - required: false - headers: - Accept: - description: If set, the content type group list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeGroupList+xml - application/vnd.ibexa.api.ContentTypeGroupList+json - responses: - 200: - description: OK - returns a list of content type groups. - body: - application/vnd.ibexa.api.ContentTypeGroupList+xml: - type: ContentTypeGroupList - example: !include examples/content/typegroups/GET/ContentTypeGroupList.xml.example - application/vnd.ibexa.api.ContentTypeGroupList+json: - type: ContentTypeGroupListWrapper - example: !include examples/content/typegroups/GET/ContentTypeGroupList.json.example - 307: - description: Temporary redirect. - 401: - description: Error - The user has no permission to read content types. - 404: - description: Error - The content type group with the given identifier does not exist. -post: - displayName: Create content type group - description: Creates a new content type group. - headers: - Accept: - description: If set, the new content type group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeGroup+xml - application/vnd.ibexa.api.ContentTypeGroup+json - Content-Type: - description: The content type group input schema encoded in XML or JSON. - example: | - application/vnd.ibexa.api.ContentTypeGroupInput+xml - application/vnd.ibexa.api.ContentTypeGroupInput+json - body: - application/vnd.ibexa.api.ContentTypeGroupInput+xml: - type: ContentTypeGroupInput - example: !include examples/content/typegroups/POST/ContentTypeGroupInput.xml.example - application/vnd.ibexa.api.ContentTypeGroupInput+json: - type: ContentTypeGroupInputWrapper - example: !include examples/content/typegroups/POST/ContentTypeGroupInput.json.example - responses: - 201: - description: Content type group created. - body: - application/vnd.ibexa.api.ContentTypeGroup+xml: - type: ContentTypeGroup - example: !include examples/content/typegroups/POST/ContentTypeGroup.xml.example - application/vnd.ibexa.api.ContentTypeGroup+json: - type: ContentTypeGroupWrapper - example: !include examples/content/typegroups/POST/ContentTypeGroup.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to create this content type group. - 403: - description: Error - A content type group with the same identifier already exists. -/{contentTypeGroupId}: - get: - displayName: Get content type group - description: Returns the content type group with provided ID. - headers: - Accept: - description: If set, the content type group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeGroup+xml - application/vnd.ibexa.api.ContentTypeGroup+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - returns the content type group. - body: - application/vnd.ibexa.api.ContentTypeGroup+xml: - type: ContentTypeList - example: !include examples/content/typegroups/content_type_group_id/GET/ContentTypeGroup.xml.example - application/vnd.ibexa.api.ContentTypeGroup+json: - type: ContentTypeListWrapper - example: !include examples/content/typegroups/content_type_group_id/GET/ContentTypeGroup.json.example - 401: - description: Error - The user is not authorized to read this content type group. - 404: - description: Error - The content type group does not exist. - patch: - displayName: Update content type group - description: Updates a content type group. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated content type group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeGroup+xml - application/vnd.ibexa.api.ContentTypeGroup+json - Content-Type: - description: The content type group input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeGroupInput+xml - application/vnd.ibexa.api.ContentTypeGroupInput+json - If-Match: - description: ETag causes patching only if the specified ETag is the current one. Otherwise a 412 is returned. - body: - application/vnd.ibexa.api.ContentTypeGroupInput+xml: - type: ContentTypeGroupInput - example: !include examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroupInput.xml.example - application/vnd.ibexa.api.ContentTypeGroupInput+json: - type: ContentTypeGroupInputWrapper - example: !include examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroupInput.json.example - responses: - 200: - description: Content type group updated. - body: - application/vnd.ibexa.api.ContentTypeGroup+xml: - type: ContentTypeGroup - example: !include examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroup.xml.example - application/vnd.ibexa.api.ContentTypeGroup+json: - type: ContentTypeGroupWrapper - example: !include examples/content/typegroups/content_type_group_id/PATCH/ContentTypeGroup.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to create this content type group. - 403: - description: Error - A content type group with the given identifier already exists. - 412: - description: Error - The current ETag does not match the one provided in the If-Match header. - delete: - displayName: Delete content type group - description: Deletes the provided content type group. - responses: - 204: - description: No Content - content type group deleted. - 401: - description: Error - The user is not authorized to delete this content type group. - 403: - description: Error - The content type group is not empty. - 404: - description: Error - The content type group does not exist. - /types: - get: - displayName: List content types for group - description: Returns a list of content types in the provided group. - headers: - Accept: - description: If set, the list of content type info objects or content types (including Field definitions) is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeInfoList+xml - application/vnd.ibexa.api.ContentTypeInfoList+json - application/vnd.ibexa.api.ContentTypeList+xml - application/vnd.ibexa.api.ContentTypeList+json - responses: - 200: - description: OK - returns a list on content types. - body: - application/vnd.ibexa.api.ContentTypeInfoList+xml: - type: ContentTypeInfoList - example: !include examples/content/typegroups/content_type_group_id/types/GET/ContentTypeInfoList.xml.example - application/vnd.ibexa.api.ContentTypeInfoList+json: - type: ContentTypeInfoListWrapper - example: !include examples/content/typegroups/content_type_group_id/types/GET/ContentTypeInfoList.json.example - application/vnd.ibexa.api.ContentTypeList+xml: - type: ContentTypeList - application/vnd.ibexa.api.ContentTypeList+json: - type: ContentTypeListWrapper - 401: - description: Error - The user has no permission to read the content types. - post: - displayName: Create content type - description: Creates a new content type draft in the given content type group. - queryParameters: - publish: - description: If true, the content type is published after creating (default false). - type: boolean - headers: - Accept: - description: If set, the new content type or draft is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentType+xml - application/vnd.ibexa.api.ContentType+json - Content-Type: - description: The content type Create schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeCreate+xml - application/vnd.ibexa.api.ContentTypeCreate+json - body: - application/vnd.ibexa.api.ContentTypeCreate+xml: - type: ContentTypeCreate - example: !include examples/content/typegroups/content_type_group_id/types/POST/ContentTypeCreate.xml.example - application/vnd.ibexa.api.ContentTypeCreate+json: - type: ContentTypeCreateWrapper - example: !include examples/content/typegroups/content_type_group_id/types/POST/ContentTypeCreate.json.example - responses: - 201: - description: Content type created. - body: - application/vnd.ibexa.api.ContentType+xml: - type: ContentType - example: !include examples/content/typegroups/content_type_group_id/types/POST/ContentType.xml.example - application/vnd.ibexa.api.ContentType+json: - type: ContentTypeWrapper - 400: - description: Error - The input does not match the input schema definition. Validation on a Field definition fails. Validation of the content type fails, e.g. multiple Fields of a same singular Field Type are provided. Publish is set to true and the input is not complete e.g. no Field definitions are provided. - 401: - description: Error - The user is not authorized to create this content type. - 403: - description: Error - A content type with same identifier already exists. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-types.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-types.raml deleted file mode 100644 index a135909845..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-types.raml +++ /dev/null @@ -1,455 +0,0 @@ -displayName: Managing content types -get: - displayName: List content types - description: Returns a list of content types. - queryParameters: - identifier: - description: Retrieves the content type for the given identifer. - remoteId: - description: Retrieves the content type for the given remote ID. - limit: - description: Only 'limit' items will be returned, starting with the offset. - offset: - description: Offset of the result set. - orderby: - description: One of (name|lastmodified). - sort: - description: One of (asc|desc). - headers: - Accept: - description: If set, the list of content type info objects or content types (including Field definitions) is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeInfoList+xml - application/vnd.ibexa.api.ContentTypeInfoList+json - application/vnd.ibexa.api.ContentTypeList+xml - application/vnd.ibexa.api.ContentTypeList+json - responses: - 200: - body: - application/vnd.ibexa.api.ContentTypeInfoList+xml: - type: ContentTypeInfoList - example: !include examples/content/types/GET/ContentTypeInfoList.xml.example - application/vnd.ibexa.api.ContentTypeInfoList+json: - type: ContentTypeInfoListWrapper - example: !include examples/content/types/GET/ContentTypeInfoList.json.example - application/vnd.ibexa.api.ContentTypeList+xml: - type: ContentTypeList - application/vnd.ibexa.api.ContentTypeList+json: - type: ContentTypeListWrapper - description: OK - returns a list of content types. - 401: - description: Error - The user has no permission to read the content types. -/{contentTypeId}: - get: - displayName: Get content type - description: Returns the content type with the provided ID. - headers: - Accept: - description: If set, the content type is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentType+xml - application/vnd.ibexa.api.ContentType+json - If-None-Match: - description: ETag - responses: - 200: - body: - application/vnd.ibexa.api.ContentType+xml: - type: ContentType - example: !include examples/content/types/content_type_id/GET/ContentType.xml.example - application/vnd.ibexa.api.ContentType+json: - type: ContentTypeWrapper - example: !include examples/content/types/content_type_id/GET/ContentType.json.example - description: OK - returns the content type. - 401: - description: Error - The user is not authorized to read this content type. - 404: - description: Error - The content type does not exist. - copy: - displayName: Copy content type - description: Copies a content type. A new remote ID is generated, and the identifier of the copy is set to 'copy_of_originalBaseIdentifier_newTypeId' (or another random string). COPY or POST with header X-HTTP-Method-Override COPY. - responses: - 201: - description: Copy of the content type created. - 401: - description: Error - The user is not authorized to copy this content type. - post: - displayName: Create Draft - description: Creates a draft and updates it with the given data. - headers: - Accept: - description: If set, the new content type draft is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeInfo+xml - application/vnd.ibexa.api.ContentTypeInfo+json - Content-Type: - description: The content type Update schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeUpdate+xml - application/vnd.ibexa.api.ContentTypeUpdate+json - body: - application/vnd.ibexa.api.ContentTypeUpdate+xml: - type: ContentTypeUpdate - example: !include examples/content/types/content_type_id/POST/ContentTypeUpdate.xml.example - application/vnd.ibexa.api.ContentTypeUpdate+json: - type: ContentTypeUpdateWrapper - example: !include examples/content/types/content_type_id/POST/ContentTypeUpdate.json.example - responses: - 201: - description: Draft created. - body: - application/vnd.ibexa.api.ContentTypeInfo+xml: - type: ContentTypeInfo - example: !include examples/content/types/content_type_id/POST/ContentTypeInfo.xml.example - application/vnd.ibexa.api.ContentTypeInfo+json: - type: ContentTypeInfoWrapper - example: !include examples/content/types/content_type_id/POST/ContentTypeInfo.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to create the draft. - 403: - description: Error - A content type with the given new identifier already exists. A draft already exists. - delete: - displayName: Delete content type - description: Deletes the provided content type. - responses: - 204: - description: No Content - content type deleted. - 401: - description: Error - The user is not authorized to delete this content type. - 403: - description: Error - There are object instances of this content type. - 404: - description: Error - The content type does not exist. - /fieldDefinitions: - get: - displayName: Get Field definition list - description: Returns all Field definitions of the provided content type. - headers: - Accept: - description: If set, the Field definitions are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.FieldDefinitionList+xml - application/vnd.ibexa.api.FieldDefinitionList+json - responses: - 200: - description: OK - return a list of Field definitions. - body: - application/vnd.ibexa.api.FieldDefinitionList+xml: - type: FieldDefinitions - application/vnd.ibexa.api.FieldDefinitionList+json: - type: FieldDefinitionsWrapper - 404: - description: Error - The content type does not exist. - /{fieldDefinitionId}: - get: - displayName: Get Field definition - description: Returns the Field definition by the given ID. - headers: - Accept: - description: If set, the Field definition is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.FieldDefinition+xml - application/vnd.ibexa.api.FieldDefinition+json - responses: - 200: - description: OK - returns the Field definition. - body: - application/vnd.ibexa.api.FieldDefinition+xml: - type: FieldDefinition - example: !include examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.xml.example - application/vnd.ibexa.api.FieldDefinition+json: - type: FieldDefinitionWrapper - example: !include examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.json.example - 401: - description: Error - The user is not authorized to read the content type. - 404: - description: Error - The content type does not exist. - /draft: - get: - displayName: Get content type draft - description: Returns the draft of the content type with the provided ID. - headers: - Accept: - description: If set, the content type is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentType+xml - application/vnd.ibexa.api.ContentType+json - responses: - 200: - body: - application/vnd.ibexa.api.ContentType+xml: - type: ContentType - application/vnd.ibexa.api.ContentType+json: - type: ContentTypeWrapper - description: OK - returns the content type. - 401: - description: Error - The user is not authorized to read this content type. - 404: - description: Error - The content type does not exist or does not have a draft. - patch: - displayName: Update content type draft - description: Updates metadata of a draft. This method does not handle Field definitions. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the new content type draft is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeInfo+xml - application/vnd.ibexa.api.ContentTypeInfo+json - Content-Type: - description: The content type update schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeUpdate+xml - application/vnd.ibexa.api.ContentTypeUpdate+json - body: - application/vnd.ibexa.api.ContentTypeUpdate+xml: - type: ContentTypeUpdate - example: !include examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.xml.example - application/vnd.ibexa.api.ContentTypeUpdate+json: - type: ContentTypeUpdateWrapper - example: !include examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.json.example - responses: - 200: - description: Draft metadata updated. - body: - application/vnd.ibexa.api.ContentTypeInfo+xml: - type: ContentTypeInfo - example: !include examples/content/types/content_type_id/draft/PATCH/ContentTypeInfo.xml.example - application/vnd.ibexa.api.ContentTypeInfo+json: - type: ContentTypeInfoWrapper - example: !include examples/content/types/content_type_id/draft/PATCH/ContentTypeInfo.json.example - - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to update the draft. - 403: - description: Error - A content type with the given new identifier already exists. - 404: - description: Error - There is no draft for this content type. - publish: - displayName: Publish content type draft - description: Publishes a content type draft. PUBLISH or POST with header X-HTTP-Method-Override PUBLISH. - responses: - 200: - body: - application/vnd.ibexa.api.ContentType+xml: - type: ContentType - example: !include examples/content/types/content_type_id/draft/PUBLISH/ContentType.xml.example - description: Content type draft published. - 401: - description: Error - The user is not authorized to publish this content type draft. - 403: - description: Error - The content type draft is not complete, e.g. there is no Field definition provided. - 404: - description: Error - If there is no draft or content type with the given ID. - delete: - displayName: Delete content type draft - description: Deletes the provided content type draft. - responses: - 204: - description: No Content - content type draft deleted. - 401: - description: Error - The user is not authorized to delete this content type draft. - 404: - description: Error - The content type draft does not exist. - /fieldDefinitions: - get: - displayName: Get Draft Field definition list - description: Returns all Field definitions of the provided content type Draft. - headers: - Accept: - description: If set, the Field definitions are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.FieldDefinitionList+xml - application/vnd.ibexa.api.FieldDefinitionList+json - responses: - 200: - description: OK - return a list of Field definitions. - body: - application/vnd.ibexa.api.FieldDefinitionList+xml: - type: FieldDefinitions - application/vnd.ibexa.api.FieldDefinitionList+json: - type: FieldDefinitionsWrapper - 404: - description: Error - The content type draft does not exist. - post: - displayName: Add content type Draft Field definition - description: Creates a new Field definition for the given content type. - headers: - Accept: - description: If set, the new Field definition is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.FieldDefinition+xml - application/vnd.ibexa.api.FieldDefinition+json - Content-Type: - description: The Field Definition Create schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.FieldDefinitionCreate+xml - application/vnd.ibexa.api.FieldDefinitionCreate+json - body: - application/vnd.ibexa.api.FieldDefinitionCreate+xml: - type: FieldDefinitionCreate - example: !include examples/content/types/content_type_id/draft/field_definitions/POST/FieldDefinitionCreate.xml.example - application/vnd.ibexa.api.FieldDefinitionCreate+json: - type: FieldDefinitionCreateWrapper - responses: - 201: - description: Field definition created. - body: - application/vnd.ibexa.api.FieldDefinition+xml: - type: FieldDefinition - example: !include examples/content/types/content_type_id/draft/field_definitions/POST/FieldDefinition.xml.example - application/vnd.ibexa.api.FieldDefinition+json: - type: FieldDefinitionWrapper - 400: - description: Error - The input does not match the input schema definition or validation on the Field definition fails. - 401: - description: Error - The user is not authorized to add a Field definition. - 403: - description: Error - A Field definition with the same identifier already exists in the given content type. The Field definition is of singular type, already existing in the given content type. The Field definition you want to add is of a type that can't be added to a content type that already has content instances. - /{fieldDefinitionId}: - get: - displayName: Get content type Draft Field definition - description: Returns the Field definition by the given ID. - headers: - Accept: - description: If set, the Field definition is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.FieldDefinition+xml - application/vnd.ibexa.api.FieldDefinition+json - responses: - 200: - description: OK - returns the Field definition. - body: - application/vnd.ibexa.api.FieldDefinition+xml: - type: FieldDefinition - example: !include examples/content/types/content_type_id/draft/field_definitions/field_definition_id/GET/FieldDefinition.xml.example - application/vnd.ibexa.api.FieldDefinition+json: - type: FieldDefinitionWrapper - example: !include examples/content/types/content_type_id/draft/field_definitions/field_definition_id/GET/FieldDefinition.json.example - 401: - description: Error - The user is not authorized to read the content type draft. - 404: - description: Error - The content type or draft does not exist. - patch: - displayName: Update content type Draft Field definition - description: Updates the attributes of a Field definition. - headers: - Accept: - description: If set, the updated Field definition is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.FieldDefinition+xml - application/vnd.ibexa.api.FieldDefinition+json - Content-Type: - description: The Field definition update schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.FieldDefinitionUpdate+xml - application/vnd.ibexa.api.FieldDefinitionUpdate+json - body: - application/vnd.ibexa.api.FieldDefinitionUpdate+xml: - type: FieldDefinitionUpdate - example: !include examples/content/types/content_type_id/draft/field_definitions/field_definition_id/PATCH/FieldDefinitionUpdate.xml.example - application/vnd.ibexa.api.FieldDefinitionUpdate+json: - type: FieldDefinitionUpdateWrapper - responses: - 200: - description: OK - attributes updated. - body: - application/vnd.ibexa.api.FieldDefinition+xml: - type: FieldDefinition - example: !include examples/content/types/content_type_id/draft/field_definitions/field_definition_id/PATCH/FieldDefinition.xml.example - application/vnd.ibexa.api.FieldDefinition+json: - type: FieldDefinitionWrapper - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to update the Field definition. - 403: - description: Error - A Field definition with the given identifier already exists in the given content type. - delete: - displayName: Delete content type Draft Field definition - description: Deletes the provided Field definition. - responses: - 204: - description: No Content - Field definition deleted. - 401: - description: Error - The user is not authorized to delete this content type. - 403: - description: Error - There is no draft of the content type assigned to the authenticated user. - /groups: - get: - displayName: Get groups of content type - description: Returns the content type group to which content type belongs to. - headers: - Accept: - description: If set, the content type group list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeGroupRefList+xml - application/vnd.ibexa.api.ContentTypeGroupRefList+json - responses: - 200: - body: - application/vnd.ibexa.api.ContentTypeGroupRefList+xml: - type: ContentTypeGroupRefList - example: !include examples/content/types/content_type_id/groups/GET/ContentTypeGroupRefList.xml.example - application/vnd.ibexa.api.ContentTypeGroupRefList+json: - type: ContentTypeGroupRefListWrapper - example: !include examples/content/types/content_type_id/groups/GET/ContentTypeGroupRefList.json.example - 401: - description: Error - The user is not authorized to read this content type. - 404: - description: Error - The content type does not exist. - post: - displayName: Link group to content type - description: Links a content type group to the content type and returns the updated group list. - queryParameters: - group: - description: The URI of the group to which the content type should be linked to. - type: string - headers: - Accept: - description: If set, the updated content type group list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeGroupRefList+xml - application/vnd.ibexa.api.ContentTypeGroupRefList+json - responses: - 200: - body: - application/vnd.ibexa.api.ContentTypeGroupRefList+xml: - type: ContentTypeGroupRefList - example: !include examples/content/types/content_type_id/groups/POST/ContentTypeGroupRefList.xml.example - application/vnd.ibexa.api.ContentTypeGroupRefList+json: - type: ContentTypeGroupRefListWrapper - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to add a group. - 403: - description: Error - The content type is already assigned to the group. - /{id}: - delete: - displayName: Unlink group from content type - description: Removes the given group from the content type and returns the updated group list. - headers: - Accept: - description: If set, the updated content type group list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ContentTypeGroupRefList+xml - application/vnd.ibexa.api.ContentTypeGroupRefList+json - responses: - 200: - body: - application/vnd.ibexa.api.ContentTypeGroupRefList+xml: - type: ContentTypeGroupRefList - example: !include examples/content/types/content_type_id/groups/id/DELETE/ContentTypeGroupRefList.xml.example - application/vnd.ibexa.api.ContentTypeGroupRefList+json: - type: ContentTypeGroupRefListWrapper - example: !include examples/content/types/content_type_id/groups/id/DELETE/ContentTypeGroupRefList.json.example - 401: - description: Error - The user is not authorized to delete this content type. - 403: - description: Error - content type cannot be unlinked from the only remaining group. - 404: - description: Error - The resource does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-urlaliases.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-urlaliases.raml deleted file mode 100644 index cd7148ebe7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-urlaliases.raml +++ /dev/null @@ -1,92 +0,0 @@ -get: - displayName: List global URL aliases - description: Returns the list of global URL aliases. - headers: - Accept: - description: If set, the URL alias list contains only references and is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlAliasRefList+xml - application/vnd.ibexa.api.UrlAliasRefList+json - responses: - 200: - description: OK - returns the list of URL aliases. - body: - application/vnd.ibexa.api.UrlAliasRefList+xml: - type: UrlAliasRefList - example: !include examples/content/urlaliases/GET/UrlAliasRefList.xml.example - application/vnd.ibexa.api.UrlAliasRefList+json: - type: UrlAliasRefListWrapper - example: !include examples/content/urlaliases/GET/UrlAliasRefList.json.example - 401: - description: Error - The user has no permission to read URL aliases. -post: - displayName: Create URL alias - description: Creates a URL alias. - headers: - Accept: - description: If set, the created URL alias is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlAlias+xml - application/vnd.ibexa.api.UrlAlias+json - Content-Type: - description: The URL alias input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlAliasCreate+xml - application/vnd.ibexa.api.UrlAliasCreate+json - body: - application/vnd.ibexa.api.UrlAliasCreate+xml: - type: UrlAliasCreate - example: !include examples/content/urlaliases/POST/UrlAliasCreate.xml.example - application/vnd.ibexa.api.UrlAliasCreate+json: - type: UrlAliasCreateWrapper - example: !include examples/content/urlaliases/POST/UrlAliasCreate.json.example - responses: - 201: - description: URL alias created. - body: - application/vnd.ibexa.api.UrlAlias+xml: - type: UrlAlias - example: !include examples/content/urlaliases/POST/UrlAlias.xml.example - application/vnd.ibexa.api.UrlAlias+json: - type: UrlAliasWrapper - example: !include examples/content/urlaliases/POST/UrlAlias.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to create a URL alias. - 403: - description: Error - A URL alias with the same identifier already exists. -/{urlAliasId}: - get: - displayName: Get URL alias - description: Returns the URL alias with the given ID. - headers: - Accept: - description: If set, the URL alias is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlAlias+xml - application/vnd.ibexa.api.UrlAlias+json - responses: - 200: - description: OK - returns the URL alias. - body: - application/vnd.ibexa.api.UrlAlias+xml: - type: UrlAlias - example: !include examples/content/urlaliases/url_alias_id/GET/UrlAlias.xml.example - application/vnd.ibexa.api.UrlAlias+json: - type: UrlAliasWrapper - example: !include examples/content/urlaliases/url_alias_id/GET/UrlAlias.json.example - 401: - description: Error - The user is not authorized to read URL aliases. - 404: - description: Error - The URL alias does not exist. - delete: - displayName: Delete URL alias - description: Deletes the provided URL alias. - responses: - 204: - description: No Content - URL alias deleted. - 401: - description: Error - The user is not authorized to delete a URL alias. - 404: - description: Error - The URL alias does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-urlwildcards.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-urlwildcards.raml deleted file mode 100644 index e3d04ef08f..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-urlwildcards.raml +++ /dev/null @@ -1,92 +0,0 @@ -get: - displayName: List URL wildcards - description: Returns a list of URL wildcards. - headers: - Accept: - description: If set, the URL wildcard is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlWildcardList+xml - application/vnd.ibexa.api.UrlWildcardList+json - responses: - 200: - description: OK - returns a list of URL wildcards. - body: - application/vnd.ibexa.api.UrlWildcardList+xml: - type: UrlWildcardList - example: !include examples/content/urlwildcards/GET/UrlWildcardList.xml.example - application/vnd.ibexa.api.UrlWildcardList+json: - type: UrlWildcardListWrapper - example: !include examples/content/urlwildcards/GET/UrlWildcardList.json.example - 401: - description: Error - The user has no permission to read URL wildcards. -post: - displayName: Create URL wildcard - description: Creates a new URL wildcard. - headers: - Accept: - description: If set, the new URL wildcard is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlWildcard+xml - application/vnd.ibexa.api.UrlWildcard+json - Content-Type: - description: The URL Wildcard input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlWildcardCreate+xml - application/vnd.ibexa.api.UrlWildcardCreate+json - body: - application/vnd.ibexa.api.UrlWildcardCreate+xml: - type: UrlWildcardCreate - example: !include examples/content/urlwildcards/POST/UrlWildcardCreate.xml.example - application/vnd.ibexa.api.UrlWildcardCreate+json: - type: UrlWildcardCreateWrapper - example: !include examples/content/urlwildcards/POST/UrlWildcardCreate.json.example - responses: - 201: - description: URL wildcard created. - body: - application/vnd.ibexa.api.UrlWildcard+xml: - type: UrlWildcard - example: !include examples/content/urlwildcards/POST/UrlWildcard.xml.example - application/vnd.ibexa.api.UrlWildcard+json: - type: UrlWildcardWrapper - example: !include examples/content/urlwildcards/POST/UrlWildcard.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to create a URL wildcard. - 403: - description: Error - A URL wildcard with the same identifier already exists. -/{wildcardId}: - get: - displayName: Get URL wildcard - description: Returns the URL wildcard with the given ID. - headers: - Accept: - description: If set, the URL wildcard is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UrlWildcard+xml - application/vnd.ibexa.api.UrlWildcard+json - responses: - 200: - description: OK - returns the URL wildcard. - body: - application/vnd.ibexa.api.UrlWildcard+xml: - type: UrlWildcard - example: !include examples/content/urlwildcards/wildcard_id/GET/UrlWildcard.xml.example - application/vnd.ibexa.api.UrlWildcard+json: - type: UrlWildcardWrapper - example: !include examples/content/urlwildcards/wildcard_id/GET/UrlWildcard.json.example - 401: - description: Error - The user is not authorized to read URL wildcards. - 404: - description: Error - The URL wildcard does not exist. - delete: - displayName: Delete URL wildcard - description: Deletes the given URL wildcard. - responses: - 204: - description: No Content - URL wildcard deleted. - 401: - description: Error - The user is not authorized to delete a URL wildcard. - 404: - description: Error - The URL wildcard does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-content-views.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-content-views.raml deleted file mode 100644 index 34757d0b65..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-content-views.raml +++ /dev/null @@ -1,23 +0,0 @@ -post: - displayName: Create View (deprecated) - description: Executes a query and returns View including the results. The View input reflects the criteria model of the public PHP API. Deprecated as of eZ Platform 1.0 and will respond 301, use POST /views instead. - headers: - Accept: - description: The View in XML or JSON format. - example: | - application/vnd.ibexa.api.View+xml - application/vnd.ibexa.api.View+json - application/vnd.ibexa.api.View+xml; version=1.1 - application/vnd.ibexa.api.View+json; version=1.1 - Content-Type: - description: The View input in XML or JSON format. - example: | - application/vnd.ibexa.api.ViewInput+xml - application/vnd.ibexa.api.ViewInput+json - application/vnd.ibexa.api.ViewInput+xml; version=1.1 - application/vnd.ibexa.api.ViewInput+json; version=1.1 - responses: - 301: - description: Moved permanently. - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-corporate.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-corporate.raml deleted file mode 100644 index 571472c53e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-corporate.raml +++ /dev/null @@ -1,389 +0,0 @@ -displayName: Corporate Account -get: - displayName: Root Resource - description: | - Provides basic information about Corporate Account endpoints and configuration. - headers: - Accept: - description: If set, helps to determine response format. - example: | - application/vnd.ibexa.api.CorporateAccountRoot+xml - application/vnd.ibexa.api.CorporateAccountRoot+json - responses: - 200: - description: List of Link objects to specific Corporate Account REST resources - body: - application/vnd.ibexa.api.CorporateAccountRoot+xml: - type: CorporateAccountRoot - example: !include examples/corporate/GET/CorporateAccountRoot.xml.example - application/vnd.ibexa.api.CorporateAccountRoot+json: - type: CorporateAccountRootWrapper - example: !include examples/corporate/GET/CorporateAccountRoot.json.example - -/companies: - get: - displayName: Read list of companies - description: | - Returns paginated list of available companies. - queryParameters: - filter: - type: string - description: | - An array-shaped string representing filtering Criterion. Supported Criteria: - | Criterion | Example | - | --------- | ------- | - | Creation date | `filter[DateMetadataCriterion][Target]=created&filter[DateMetadataCriterion][Value]=1679493636&filter[DateMetadataCriterion][Operator]=gte` | - | Updated date | `filter[DateMetadataCriterion][Target]=modified&filter[DateMetadataCriterion][Value]=1679493636&filter[DateMetadataCriterion][Operator]=gte` | - | Company Name | `filter[CompanyNameCriterion][Operator]=contains&filter[CompanyNameCriterion][Value]=Ibexa` | - | salesRep (id) | `filter[Field][name]=sales_rep&filter[Field][operator]=eq&filter[Field][value]=122` | - | contact (id) | `filter[Field][name]=contact&filter[Field][operator]=eq&filter[Field][value]=74` | - sort: - type: string - description: | - An array-shaped string representing sorting clauses. Supported Clauses: - | Clause | Example | - | ------ | ------- | - | By Content (Company) name | `sort[ContentName]=ascending` | - | By publication date | `sort[DatePublished]=descending` | - | By modification date | `sort[DateModified]=ascending` | - offset: - description: The offset of the result set. - type: integer - default: 0 - limit: - description: The number of returned companies. - type: integer - default: 25 - headers: - Accept: - description: If set, helps to determine response format. - example: | - application/vnd.ibexa.api.CompanyList+xml - application/vnd.ibexa.api.CompanyList+json - responses: - 200: - description: Company list containing Company objects. - body: - application/vnd.ibexa.api.CompanyList+xml: - type: CompanyList - example: !include examples/corporate/companies/GET/CompanyList.xml.example - application/vnd.ibexa.api.CompanyList+json: - type: CompanyListWrapper - example: !include examples/corporate/companies/GET/CompanyList.json.example - 400: - description: Returned when invalid Criterion or Sort clause is used - body: - application/vnd.ibexa.api.ErrorMessage: - type: ErrorMessage - - post: - displayName: Create a company - headers: - Accept: - description: If set, the new company is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Company+xml - application/vnd.ibexa.api.Company+json - Content-Type: - description: The CompanyCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CompanyCreate+json - application/vnd.ibexa.api.CompanyCreate+xml - body: - application/vnd.ibexa.api.CompanyCreate+xml: - type: CompanyCreate - example: !include examples/corporate/companies/POST/CompanyCreate.xml.example - application/vnd.ibexa.api.CompanyCreate+json: - type: CompanyCreateWrapper - example: !include examples/corporate/companies/POST/CompanyCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Company+xml: - type: Company - example: !include examples/corporate/companies/company_id/GET/Company.xml.example - application/vnd.ibexa.api.Company+json: - type: CompanyWrapper - example: !include examples/corporate/companies/company_id/GET/Company.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this Company. - /{companyId}: - get: - displayName: Get company - description: Returns the company by given company ID. - headers: - Accept: - description: If set, the company is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Company+xml - application/vnd.ibexa.api.Company+json - If-None-match: - description: ETag - responses: - 200: - body: - application/vnd.ibexa.api.Company+json: - type: CompanyWrapper - example: !include examples/corporate/companies/company_id/GET/Company.json.example - application/vnd.ibexa.api.Company+xml: - type: Company - example: !include examples/corporate/companies/company_id/GET/Company.xml.example - 401: - description: Error - The user is not authorized to read this company. - 404: - description: Error - The company does not exist. - delete: - displayName: Delete company - description: The given company is deleted. - headers: - Accept: - description: If set, in the case of an error the error message is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ErrorMessage+xml - application/vnd.ibexa.api.ErrorMessage+json - X-CSRF-Token: - description: Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. - responses: - 204: - description: No Content - given company is deleted. - 401: - description: Error - the user is not authorized to delete this company. - 404: - description: Error - the company does not exist. - patch: - displayName: Update a company - description: Updates a company. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated company is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Company+xml - application/vnd.ibexa.api.Company+json - Content-Type: - description: The company input schema encoded in XML or JSON. - example: | - application/vnd.ibexa.api.CompanyUpdate+xml - application/vnd.ibexa.api.CompanyUpdate+json - If-Match: - description: ETag - body: - application/vnd.ibexa.api.CompanyUpdate+xml: - type: CompanyUpdate - example: !include examples/corporate/companies/company_id/PATCH/CompanyUpdate.xml.example - application/vnd.ibexa.api.CompanyUpdate+json: - type: CompanyUpdateWrapper - example: !include examples/corporate/companies/company_id/PATCH/CompanyUpdate.json.example - responses: - 200: - description: OK - company updated. - body: - application/vnd.ibexa.api.Company+xml: - type: Company - example: !include examples/corporate/companies/company_id/GET/Company.xml.example - application/vnd.ibexa.api.Company+json: - type: CompanyWrapper - example: !include examples/corporate/companies/company_id/GET/Company.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this company. - /members: - get: - displayName: Read list of company members - description: | - Returns paginated list of a given company members. - queryParameters: - filter: - description: | - An array-shaped string representing filtering Criterion. Supported Criteria: - | Criterion | Example | - | --------- | ------- | - | Creation date | `filter[DateMetadataCriterion][Target]=created&filter[DateMetadataCriterion][Value]=1679493636&filter[DateMetadataCriterion][Operator]=gte` | - | Updated date | `filter[DateMetadataCriterion][Target]=modified&filter[DateMetadataCriterion][Value]=1679493636&filter[DateMetadataCriterion][Operator]=gte` | - type: array - sort: - description: | - An array-shaped string representing sorting clauses. Supported Clauses: - | Clause | Example | - | ------ | ------- | - | By Content (Member) name | `sort[ContentName]=ascending` | - | By Member account creation date | `sort[DatePublished]=descending` | - | By Member account modification date | `sort[DateModified]=ascending` | - offset: - description: The offset of the result set. - type: integer - default: 0 - limit: - description: The number of returned members. - type: integer - default: 25 - headers: - Accept: - description: If set, helps to determine response format. - example: | - application/vnd.ibexa.api.MemberList+xml - application/vnd.ibexa.api.MemberList+json - responses: - 200: - body: - application/vnd.ibexa.api.MemberList+xml: - type: MemberList - example: !include examples/corporate/companies/company_id/members/GET/MemberList.xml.example - application/vnd.ibexa.api.MemberList+json: - type: MemberListWrapper - example: !include examples/corporate/companies/company_id/members/GET/MemberList.json.example - 400: - body: - application/vnd.ibexa.api.ErrorMessage: - type: ErrorMessage - description: Returned when invalid Criterion or Sort clause is used. - post: - displayName: Create a company member - description: Creates a company member. - headers: - Accept: - description: If set, the new member is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Member+xml - application/vnd.ibexa.api.Member+json - Content-Type: - description: The CompanyCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.MemberCreate+json - application/vnd.ibexa.api.MemberCreate+xml - body: - application/vnd.ibexa.api.MemberCreate+xml: - type: MemberCreate - example: !include examples/corporate/companies/company_id/members/POST/MemberCreate.xml.example - application/vnd.ibexa.api.MemberCreate+json: - type: MemberCreateWrapper - example: !include examples/corporate/companies/company_id/members/POST/MemberCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Member+xml: - type: Member - example: !include examples/corporate/companies/company_id/members/member_id/GET/Member.xml.example - application/vnd.ibexa.api.Member+json: - type: MemberWrapper - example: !include examples/corporate/companies/company_id/members/member_id/GET/Member.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create a company member. - /{memberId}: - get: - displayName: Get company member - description: Returns the company member by given member ID. - headers: - Accept: - description: If set, the company member is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Member+xml - application/vnd.ibexa.api.Member+json - responses: - 200: - body: - application/vnd.ibexa.api.Member+xml: - type: Member - example: !include examples/corporate/companies/company_id/members/member_id/GET/Member.xml.example - application/vnd.ibexa.api.Member+json: - type: MemberWrapper - example: !include examples/corporate/companies/company_id/members/member_id/GET/Member.json.example - 401: - description: Error - The user is not authorized to read this company. - 404: - description: Error - The company does not exist. - delete: - displayName: Delete company member - description: The given company member is deleted. - headers: - Accept: - description: If set, in the case of an error the error message is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ErrorMessage+xml - application/vnd.ibexa.api.ErrorMessage+json - X-CSRF-Token: - description: Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. - responses: - 204: - description: No Content - given company member is deleted. - 401: - description: Error - the user is not authorized to delete this company member. - 404: - description: Error - the company member does not exist. - patch: - displayName: Update a company member - description: Updates a company member. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated company member is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Member+xml - application/vnd.ibexa.api.Member+json - Content-Type: - description: The company input schema encoded in XML or JSON. - example: | - application/vnd.ibexa.api.MemberUpdate+xml - application/vnd.ibexa.api.MemberUpdate+json - If-Match: - description: ETag - body: - application/vnd.ibexa.api.MemberUpdate+xml: - type: MemberUpdate - example: !include examples/corporate/companies/company_id/members/member_id/PATCH/MemberUpdate.xml.example - application/vnd.ibexa.api.MemberUpdate+json: - type: MemberUpdateWrapper - example: !include examples/corporate/companies/company_id/members/member_id/PATCH/MemberUpdate.json.example - responses: - 200: - description: OK - company member updated. - body: - application/vnd.ibexa.api.Member+xml: - type: Member - example: !include examples/corporate/companies/company_id/members/member_id/GET/Member.xml.example - application/vnd.ibexa.api.Member+json: - type: MemberWrapper - example: !include examples/corporate/companies/company_id/members/member_id/GET/Member.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this company member. -/sales-representatives: - get: - displayName: Read list of sales representatives - description: | - Returns paginated list of available sales representatives. - queryParameters: - offset: - description: The offset of the result set. - type: integer - default: 0 - limit: - description: The number of returned representatives. - type: integer - default: 25 - headers: - Accept: - description: If set, helps to determine response format. - example: | - application/vnd.ibexa.api.SalesRepresentativesList+xml - application/vnd.ibexa.api.SalesRepresentativesList+json - - responses: - 200: - description: Sales representatives list containing Company objects. - body: - application/vnd.ibexa.api.SalesRepresentativesList+xml: - type: SalesRepresentativesList - example: !include examples/corporate/sales-representatives/GET/SalesRepresentativesList.xml.example - application/vnd.ibexa.api.SalesRepresentativesList+json: - type: SalesRepresentativesListWrapper - example: !include examples/corporate/sales-representatives/GET/SalesRepresentativesList.json.example - 401: - description: Error - the user is not authorized to read Sales Representatives List. - body: - application/vnd.ibexa.api.ErrorMessage: - type: ErrorMessage diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-languages.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-languages.raml deleted file mode 100644 index bd16171fc2..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-languages.raml +++ /dev/null @@ -1,38 +0,0 @@ -displayName: Languages -get: - displayName: Language list - description: Lists languages - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.LanguageList+xml - application/vnd.ibexa.api.LanguageList+json - responses: - 200: - body: - application/vnd.ibexa.api.LanguageList+xml: - type: LanguageList - example: !include examples/languages/GET/LanguageList.xml.example - application/vnd.ibexa.api.LanguageList+json: - type: LanguageListWrapper - example: !include examples/languages/GET/LanguageList.json.example - -/{code}: - get: - displayName: Get language - headers: - Accept: - description: If set, the language is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Language+xml - application/vnd.ibexa.api.Language+json - responses: - 200: - body: - application/vnd.ibexa.api.Language+xml: - type: Language - example: !include examples/languages/code/GET/Language.xml.example - application/vnd.ibexa.api.Language+json: - type: LanguageWrapper - example: !include examples/languages/code/GET/Language.json.example diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-objectstategroups.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-objectstategroups.raml deleted file mode 100644 index 5a32bb32ed..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-objectstategroups.raml +++ /dev/null @@ -1,276 +0,0 @@ -displayName: Managing Content and Object state groups -get: - displayName: List Object state groups - description: Returns a list of all Object state groups. - headers: - Accept: - description: If set, the Object state group list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateGroupList+xml - application/vnd.ibexa.api.ObjectStateGroupList+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - returns a list of Object state groups. - body: - application/vnd.ibexa.api.ObjectStateGroupList+xml: - type: ObjectStateGroupList - example: !include examples/content/objectstategroups/GET/ObjectStateGroupList.xml.example - application/vnd.ibexa.api.ObjectStateGroupList+json: - type: ObjectStateGroupListWrapper - example: !include examples/content/objectstategroups/GET/ObjectStateGroupList.json.example - 401: - description: Error - The user has no permission to read Object state groups. -post: - displayName: Create Object state group - description: Creates a new Object state group. - headers: - Accept: - description: If set, the new Object state group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateGroup+xml - application/vnd.ibexa.api.ObjectStateGroup+json - Content-Type: - description: The Object state group input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateGroupCreate+json - application/vnd.ibexa.api.ObjectStateGroupCreate+xml - body: - application/vnd.ibexa.api.ObjectStateGroupCreate+xml: - type: ObjectStateGroupCreate - example: !include examples/content/objectstategroups/POST/ObjectStateGroupCreate.xml.example - application/vnd.ibexa.api.ObjectStateGroupCreate+json: - type: ObjectStateGroupCreateWrapper - example: !include examples/content/objectstategroups/POST/ObjectStateGroupCreate.json.example - responses: - 201: - description: Object state group created. - body: - application/vnd.ibexa.api.ObjectStateGroup+xml: - type: ObjectStateGroup - example: !include examples/content/objectstategroups/POST/ObjectStateGroup.xml.example - application/vnd.ibexa.api.ObjectStateGroup+json: - type: ObjectStateGroupWrapper - example: !include examples/content/objectstategroups/POST/ObjectStateGroup.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to create an Object state group. - 403: - description: Error - An Object state group with the same identifier already exists. -/{objectStateGroupId}: - get: - displayName: Get Object state group - description: Returns the Object state group with the provided ID. - headers: - Accept: - description: If set, the Object state group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateGroup+xml - application/vnd.ibexa.api.ObjectStateGroup+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - returns the Object state group. - body: - application/vnd.ibexa.api.ObjectStateGroup+xml: - type: ObjectStateGroup - example: !include examples/content/objectstategroups/object_state_group_id/GET/ObjectStateGroup.xml.example - application/vnd.ibexa.api.ObjectStateGroup+json: - type: ObjectStateGroupWrapper - example: !include examples/content/objectstategroups/object_state_group_id/GET/ObjectStateGroup.json.example - 401: - description: Error - The user is not authorized to read this Object state group. - 404: - description: Error - The Object state group does not exist. - patch: - displayName: Update Object state group - description: Updates an Object state group. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated Object state group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateGroup+xml - application/vnd.ibexa.api.ObjectStateGroup+json - Content-Type: - description: The Object state group input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateGroupUpdate+json - application/vnd.ibexa.api.ObjectStateGroupUpdate+xml - If-Match: - description: ETag - body: - application/vnd.ibexa.api.ObjectStateGroupUpdate+xml: - type: ObjectStateGroupUpdate - example: !include examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroupUpdate.xml.example - application/vnd.ibexa.api.ObjectStateGroupUpdate+json: - type: ObjectStateGroupUpdateWrapper - example: !include examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroupUpdate.json.example - responses: - 200: - description: OK - Object stated group updated. - body: - application/vnd.ibexa.api.ObjectStateGroup+xml: - type: ObjectStateGroup - example: !include examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroup.xml.example - application/vnd.ibexa.api.ObjectStateGroup+json: - type: ObjectStateGroupWrapper - example: !include examples/content/objectstategroups/object_state_group_id/PATCH/ObjectStateGroup.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to update an Object state group. - 403: - description: Error - An Object state group with the provided identifier already exists. - 412: - description: Error - The current ETag does not match the one provided in the If-Match header. - delete: - displayName: Delete Object state group - description: Deletes the given Object state group including Object states. - responses: - 204: - description: No Content - Object state group deleted. - 401: - description: Error - The user is not authorized to delete an Object state group. - 404: - description: Error - The Object state group does not exist. - /objectstates: - get: - displayName: List Object states - description: Returns a list of all Object states of the given group. - headers: - Accept: - description: If set, the Object state list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateList+xml - application/vnd.ibexa.api.ObjectStateList+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - returns a list of Object states. - body: - application/vnd.ibexa.api.ObjectStateList+xml: - type: ObjectStateList - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.xml.example - application/vnd.ibexa.api.ObjectStateList+json: - type: ObjectStateListWrapper - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.json.example - 401: - description: Error - The user has no permission to read Object states. - post: - displayName: Create Object state - description: Creates a new Object state. - headers: - Accept: - description: If set, the new Object state is returned in XML or JSON format. - example: - application/vnd.ibexa.api.ObjectState+xml - application/vnd.ibexa.api.ObjectState+json - Content-Type: - description: The Object state input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateCreate+json - application/vnd.ibexa.api.ObjectStateCreate+xml - body: - application/vnd.ibexa.api.ObjectStateCreate+xml: - type: ObjectStateCreate - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.xml.example - application/vnd.ibexa.api.ObjectStateCreate+json: - type: ObjectStateCreateWrapper - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.json.example - responses: - 201: - description: Object state created. - body: - application/vnd.ibexa.api.ObjectState+xml: - type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.xml.example - application/vnd.ibexa.api.ObjectState+json: - type: ObjectStateWrapper - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to create an Object state. - 403: - description: Error - An Object state with the same identifier already exists in the given group. - /{objectStateId}: - get: - displayName: Get Object state - description: Returns the Object state. - headers: - Accept: - description: If set, the Object State is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectState+xml - application/vnd.ibexa.api.ObjectState+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - returns the Object state. - body: - application/vnd.ibexa.api.ObjectState+xml: - type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.xml.example - application/vnd.ibexa.api.ObjectState+json: - type: ObjectStateWrapper - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.json.example - 401: - description: Error - The user is not authorized to read this Object state. - 404: - description: Error - The Object state does not exist. - patch: - displayName: Update Object state - description: Updates an Object state. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated Object state is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectState+xml - application/vnd.ibexa.api.ObjectState+json - Content-Type: - description: The Object state input schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ObjectStateUpdate+json - application/vnd.ibexa.api.ObjectStateUpdate+xml - If-Match: - description: ETag - body: - application/vnd.ibexa.api.ObjectStateUpdate+xml: - type: ObjectStateUpdate - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.xml.example - application/vnd.ibexa.api.ObjectStateUpdate+json: - type: ObjectStateUpdateWrapper - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.json.example - responses: - 200: - description: OK - Object State updated - body: - application/vnd.ibexa.api.ObjectState+xml: - type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.xml.example - application/vnd.ibexa.api.ObjectState+json: - type: ObjectStateWrapper - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to update the Object state. - 403: - description: Error - An Object state with the provided identifier already exists in this group. - 412: - description: Error - The current ETag does not match the one provided in the If-Match header. - delete: - displayName: Delete Object state - description: Deletes provided Object state. - responses: - 204: - description: No Content - Object state deleted. - 401: - description: Error - The user is not authorized to delete an Object state. - 404: - description: Error - The Object state does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-orders.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-orders.raml deleted file mode 100644 index b487b71fc4..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-orders.raml +++ /dev/null @@ -1,203 +0,0 @@ -displayName: Orders - -/orders: - post: - displayName: Create order - description: Creates a new order. - headers: - Accept: - description: If set, the new order is returned in JSON format. - example: | - application/vnd.ibexa.api.Order+json - Content-Type: - description: The Order schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.OrderCreate+json - body: - application/vnd.ibexa.api.OrderCreate+json: - type: OrderCreateWrapper - example: !include examples/orders/POST/OrderCreate.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Order+json: - type: OrderWrapper - example: !include examples/orders/POST/Order.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this order. - 406: - description: Error - a order with this identifier already exists. - get: - displayName: Load orders - description: Loads a list of orders. - queryParameters: - offset: - description: The offset of the result set. - type: integer - limit: - description: The number of orders returned. - type: integer - headers: - Accept: - description: OrderList - If set, the orders list returned in XML or JSON format. - example: | - application/vnd.ibexa.api.OrderList+xml - application/vnd.ibexa.api.OrderList+json - responses: - 200: - description: OK - loads orders. - body: - application/vnd.ibexa.api.OrderList+xml: - type: OrderList - application/vnd.ibexa.api.OrderList+json: - type: OrderListWrapper - example: !include examples/orders/GET/OrderList.json.example - 401: - description: Error - the user has no permission to read orders. -/order: - /{identifier}: - get: - displayName: Load order by identifier - description: Loads an order by its identifier (UUID). - headers: - Accept: - description: Order - If set, the order returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Order+xml - application/vnd.ibexa.api.Order+json - responses: - 200: - description: OK - loads the order. - body: - application/vnd.ibexa.api.Order+xml: - type: Order - application/vnd.ibexa.api.Order+json: - type: OrderWrapper - example: !include examples/orders/GET/Order.json.example - 401: - description: Error - the user has no permission to read orders. - 404: - description: Error - the order does not exist. - - /shipments: - get: - displayName: Load shipments - description: Loads a order's list of shipments. - headers: - Accept: - description: If set, the shipments are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ShipmentRefList+xml - application/vnd.ibexa.api.ShipmentRefList+json - responses: - 200: - description: OK - loads the shipments. - body: - application/vnd.ibexa.api.ShipmentRefList+xml: - type: ShipmentRefList - example: !include examples/shipments/GET/ShipmentRefList.xml.example - application/vnd.ibexa.api.ShipmentRefList+json: - type: ShipmentRefListWrapper - example: !include examples/shipments/GET/ShipmentRefList.json.example - 401: - description: Error - the user has no permission to read order's shipment lists. - 404: - description: Error - the order does not exist. - post: - displayName: Create shipment - description: Creates and adds a shipment to an order - headers: - Accept: - description: If set, the shipments are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Shipment+xml - application/vnd.ibexa.api.Shipment+json - Content-Type: - description: The shipments schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ShipmentCreate+xml - application/vnd.ibexa.api.ShipmentCreate+json - body: - application/vnd.ibexa.api.ShipmentCreate+xml: - type: ShipmentCreate - example: !include examples/orders/POST/ShipmentCreate.xml.example - application/vnd.ibexa.api.ShipmentCreate+json: - type: ShipmentCreateWrapper - example: !include examples/orders/POST/ShipmentCreate.json.example - responses: - 200: - description: Shipment is created and returned - body: - application/vnd.ibexa.api.Shipment+xml: - type: Shipment - application/vnd.ibexa.api.Shipment+json: - type: ShipmentWrapper - - /{id}: - get: - displayName: Load order by ID - description: Loads an order by its numerical ID. - headers: - Accept: - description: Order - If set, the order returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Order+xml - application/vnd.ibexa.api.Order+json - responses: - 200: - description: OK - loads the order. - body: - application/vnd.ibexa.api.Order+xml: - type: Order - application/vnd.ibexa.api.Order+json: - type: OrderWrapper - example: !include examples/orders/GET/Order.json.example - 401: - description: Error - the user has no permission to read orders. - 404: - description: Error - the order does not exist. - patch: - displayName: Update order - description: Updates an order. - body: - application/vnd.ibexa.api.OrderUpdate+json: - type: OrderUpdateWrapper - example: !include examples/orders/PATCH/OrderUpdate.json.example - headers: - Accept: - description: If set, the updated order is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Order+json - Content-Type: - description: The OrderUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.OrderUpdate+json - responses: - 200: - body: - application/vnd.ibexa.api.Order+json: - type: OrderWrapper - example: !include examples/orders/GET/Order.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this order. - 404: - description: Error - the order with the given ID does not exist. - 406: - description: Error - the order cannot be cancelled due to not-allowed workflow transition - /cancel/{id}: - post: - displayName: Cancel order - description: Cancels the given order. - responses: - 204: - description: No content - the given order is cancelled. - 401: - description: Error - the user is not authorized to delete this order. - 404: - description: Error - the order with the given ID does not exist. - 406: - description: Error - the order cannot be cancelled due to not-allowed workflow transition diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-payment-methods.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-payment-methods.raml deleted file mode 100644 index 5f912f7f11..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-payment-methods.raml +++ /dev/null @@ -1,156 +0,0 @@ -displayName: Payment methods - -post: - displayName: Create payment method - headers: - Accept: - description: If set, the created Payment Method is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.PaymentMethod+xml - application/vnd.ibexa.api.PaymentMethod+json - Content-Type: - description: The Payment Method input schema encoded in XML or JSON. - example: | - application/vnd.ibexa.api.PaymentMethodCreateStruct+xml - application/vnd.ibexa.api.PaymentMethodCreateStruct+json - body: - application/vnd.ibexa.api.PaymentMethodCreateStruct+xml: - type: PaymentMethodCreateStruct - example: !include examples/payment-methods/POST/PaymentMethodCreateStruct.xml.example - application/vnd.ibexa.api.PaymentMethodCreateStruct+json: - type: PaymentMethodCreateStructWrapper - example: !include examples/payment-methods/POST/PaymentMethodCreateStruct.json.example - responses: - 200: - description: OK - body: - application/vnd.ibexa.api.PaymentMethod+xml: - type: PaymentMethod - application/vnd.ibexa.api.PaymentMethod+json: - type: PaymentMethodWrapper - example: !include examples/payment-methods/POST/PaymentMethod.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create Payment Method. - 404: - description: Error - the payment methods does not exist. -/view: - post: - displayName: List payment methods - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.PaymentMethodView+xml - application/vnd.ibexa.api.PaymentMethodView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.PaymentMethodViewInput+xml - application/vnd.ibexa.api.PaymentMethodViewInput+json - body: - application/vnd.ibexa.api.PaymentMethodViewInput+xml: - type: PaymentMethodViewInput - application/vnd.ibexa.api.PaymentMethodViewInput+json: - type: PaymentMethodViewInputWrapper - example: !include examples/payment-methods/view/POST/PaymentMethodViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.PaymentMethodView+xml: - type: PaymentMethodView - application/vnd.ibexa.api.PaymentMethodView+json: - type: PaymentMethodViewWrapper - example: !include examples/payment-methods/view/POST/PaymentMethodView.json.example - 400: - description: Error - the input does not match the input schema definition. - -/{id}: - get: - displayName: Load payment method by id - description: Loads an payment method by its id. - headers: - Accept: - description: Payment Method - If set, the payment method returned in XML or JSON format. - example: | - application/vnd.ibexa.api.PaymentMethod+json - responses: - 200: - description: OK - loads the payment method. - body: - application/vnd.ibexa.api.PaymentMethod+json: - type: PaymentMethodWrapper - example: !include examples/payment-methods/id/GET/PaymentMethod.json.example - 401: - description: Error - the user has no permission to read payment methods. - 404: - description: Error - the payment methods does not exist. -/{identifier}: - get: - displayName: Load payment method by identifier - description: Loads an payment method by its identifier. - headers: - Accept: - description: Payment Method - If set, the payment method returned in XML or JSON format. - example: | - application/vnd.ibexa.api.PaymentMethod+xml - application/vnd.ibexa.api.PaymentMethod+json - responses: - 200: - description: OK - loads the payment method. - body: - application/vnd.ibexa.api.PaymentMethod+xml: - type: PaymentMethod - application/vnd.ibexa.api.PaymentMethod+json: - type: PaymentMethodWrapper - example: !include examples/payment-methods/identifier/GET/PaymentMethod.json.example - 401: - description: Error - the user has no permission to read payment methods. - 404: - description: Error - the payment methods does not exist. - delete: - displayName: Delete payment method - responses: - 204: - description: No Content - 401: - description: Error - the user has no permission to delete payment methods. - 404: - description: Error - the payment methods does not exist. - patch: - displayName: Update payment method - headers: - Accept: - description: If set, the updated Payment Method is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.PaymentMethod+xml - application/vnd.ibexa.api.PaymentMethod+json - Content-Type: - description: The Payment Method input schema encoded in XML or JSON. - example: | - application/vnd.ibexa.api.PaymentMethodUpdateStruct+xml - application/vnd.ibexa.api.PaymentMethodUpdateStruct+json - body: - application/vnd.ibexa.api.PaymentMethodUpdateStruct+xml: - type: PaymentMethodUpdateStruct - example: !include examples/payment-methods/identifier/PATCH/PaymentMethodUpdateStruct.xml.example - application/vnd.ibexa.api.PaymentMethodUpdateStruct+json: - type: PaymentMethodUpdateStructWrapper - example: !include examples/payment-methods/identifier/PATCH/PaymentMethodUpdateStruct.json.example - responses: - 200: - description: OK - body: - application/vnd.ibexa.api.PaymentMethod+xml: - type: PaymentMethod - application/vnd.ibexa.api.PaymentMethod+json: - type: PaymentMethodWrapper - example: !include examples/payment-methods/identifier/PATCH/PaymentMethod.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update Payment Method. - 404: - description: Error - the payment methods does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributegroups.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributegroups.raml deleted file mode 100644 index ccf60ada21..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributegroups.raml +++ /dev/null @@ -1,172 +0,0 @@ -get: - displayName: Load attribute groups (deprecated) - description: Returns a list of attribute groups. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/attribute_groups/view instead. - body: - application/vnd.ibexa.api.AttributeGroupListGet+json: - type: AttributeGroupListGetWrapper - example: !include examples/product/catalog/attribute_groups/GET/AttributeGroupListGet.json.example - headers: - Accept: - description: AttributeGroupList - If set, the attribute group list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroupList+xml - application/vnd.ibexa.api.AttributeGroupList+json - Content-Type: - description: The AttributeGroupListGet schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroupListGet+json - application/vnd.ibexa.api.AttributeGroupListGet+json - responses: - 200: - body: - application/vnd.ibexa.api.AttributeGroupList+xml: - type: AttributeGroupList - application/vnd.ibexa.api.AttributeGroupList+json: - type: AttributeGroupListWrapper - example: !include examples/product/catalog/attribute_groups/GET/AttributeGroupList.json.example - 401: - description: Error - the user has no permission to read attribute groups. -post: - displayName: Create attribute group - description: Creates a new attribute group. - headers: - Accept: - description: If set, the new attribute group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroupCreate+json - Content-Type: - description: The AttributeGroup schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroupCreate+json - body: - application/vnd.ibexa.api.AttributeGroupCreate+json: - type: AttributeGroupCreateWrapper - example: !include examples/product/catalog/attribute_groups/POST/AttributeGroupCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.AttributeGroup+json: - type: AttributeGroupWrapper - example: !include examples/product/catalog/attribute_groups/POST/AttributeGroup.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this attribute group. - 403: - description: Error - an attribute group with the same identifier already exists. -/{id}: - get: - displayName: Load attribute group - description: Returns the given attribute group. - body: - application/vnd.ibexa.api.AttributeGroupGet+xml: - type: AttributeGroupGet - application/vnd.ibexa.api.AttributeGroupGet+json: - type: AttributeGroupGetWrapper - example: !include examples/product/catalog/attribute_groups/id/GET/AttributeGroupGet.json.example - headers: - Accept: - description: AttributeGroupGet - If set, the attribute group List is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroup+xml - application/vnd.ibexa.api.AttributeGroup+json - Content-Type: - description: An optional AttributeGroupGet schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroupGet+xml - application/vnd.ibexa.api.AttributeGroupGet+json - responses: - 200: - body: - application/vnd.ibexa.api.AttributeGroup+xml: - type: AttributeGroup - application/vnd.ibexa.api.AttributeGroup+json: - type: AttributeGroupWrapper - example: !include examples/product/catalog/attribute_groups/id/GET/AttributeGroup.json.example - 401: - description: Error - the user has no permission to read attribute groups. - patch: - displayName: Update attribute group - description: Updates an attribute group. - headers: - Accept: - description: If set, the updated attribute group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroup+xml - application/vnd.ibexa.api.AttributeGroup+json - Content-Type: - description: The attribute group update schema is sent in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroupUpdate+xml - application/vnd.ibexa.api.AttributeGroupUpdate+json - body: - application/vnd.ibexa.api.AttributeGroupUpdate+xml: - type: AttributeGroupUpdate - application/vnd.ibexa.api.AttributeGroupUpdate+json: - type: AttributeGroupUpdateWrapper - example: !include examples/product/catalog/attribute_groups/id/PATCH/AttributeGroupUpdate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.AttributeGroup+xml: - type: AttributeGroup - application/vnd.ibexa.api.AttributeGroup+json: - type: AttributeGroupWrapper - example: !include examples/product/catalog/attribute_groups/id/PATCH/AttributeGroup.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this attribute group. - 403: - description: Error - an attribute group with the same identifier already exists. - 404: - description: Error - the group with the given ID does not exist. - delete: - displayName: Delete attribute group - description: Deletes an attribute group. - responses: - 204: - description: No content - the given attribute group is deleted. - 401: - description: Error - the user is not authorized to delete this attribute group. -/translation/{id}/{languageCode}: - delete: - displayName: Delete attribute group translation - description: Deletes given translation from attribute group. - responses: - 200: - description: No content - the given attribute group translation is deleted. - 401: - description: Error - the user is not authorized to delete this attribute group translation assignment. - -/view: - post: - displayName: Filter attribute groups - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroupView+xml - application/vnd.ibexa.api.AttributeGroupView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeGroupViewInput+xml - application/vnd.ibexa.api.AttributeGroupViewInput+json - body: - application/vnd.ibexa.api.AttributeGroupViewInput+xml: - type: AttributeGroupViewInput - application/vnd.ibexa.api.AttributeGroupViewInput+json: - type: AttributeGroupViewInputWrapper - example: !include examples/product/catalog/attribute_groups/POST/AttributeGroupViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.AttributeGroupView+xml: - type: AttributeGroupView - application/vnd.ibexa.api.AttributeGroupView+json: - type: AttributeGroupViewWrapper - example: !include examples/product/catalog/attribute_groups/POST/AttributeGroupView.json.example - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributes.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributes.raml deleted file mode 100644 index 200932d04e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributes.raml +++ /dev/null @@ -1,146 +0,0 @@ -post: - displayName: Create attribute - description: Creates a new attribute. - headers: - Accept: - description: If set, the new attribute is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeCreate+json - Content-Type: - description: The attribute schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeCreate+json - body: - application/vnd.ibexa.api.AttributeCreate+json: - type: AttributeCreateWrapper - example: !include examples/product/catalog/attributes/POST/AttributeCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Attribute+json: - type: AttributeWrapper - example: !include examples/product/catalog/attributes/POST/Attribute.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this attribute. - 403: - description: Error - an attribute with the same name already exists. -/{id}: - get: - displayName: Load attribute - description: Loads given attribute. - headers: - Accept: - description: Attribute - If set, the given attribute is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Attribute+xml - application/vnd.ibexa.api.Attribute+json - responses: - 200: - body: - application/vnd.ibexa.api.Attribute+xml: - type: Attribute - application/vnd.ibexa.api.Attribute+json: - type: AttributeWrapper - example: !include examples/product/catalog/attributes/id/GET/Attribute.json.example - 401: - description: Error - the user has no permission to read the attribute. - delete: - displayName: Delete attribute - description: The given attribute is removed from the attribute group. - responses: - 200: - description: No Content. - 401: - description: Error - the user is not authorized to delete this attribute. -/{id}/{group_id}: - patch: - displayName: Update attribute - description: Updates an attribute. - headers: - Accept: - description: If set, the updated attribute is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeUpdate+json - Content-Type: - description: If set, the updated attribute group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeUpdate+json - body: - application/vnd.ibexa.api.AttributeUpdate+json: - type: AttributeUpdateWrapper - example: !include examples/product/catalog/attributes/id/group_id/PATCH/AttributeUpdate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Attribute+json: - type: AttributeWrapper - example: !include examples/product/catalog/attributes/id/group_id/PATCH/Attribute.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this attribute. - 403: - description: Error - an attribute with the same name already exists. - 404: - description: Error - the attribute with the given ID does not exist. -/translation/{id}/{languageCode}: - delete: - displayName: Delete attribute translation - description: The given translation is removed from the attribute. - responses: - 200: - description: No Content. - 401: - description: Error - the user is not authorized to delete this translation. -get: - displayName: Load attributes (deprecated) - description: Loads list of all attributes. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/attributes/view instead. - headers: - Accept: - description: AttributeList - If set, the attributes list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeList+xml - application/vnd.ibexa.api.AttributeList+json - responses: - 200: - body: - application/vnd.ibexa.api.AttributeList+xml: - type: AttributeList - application/vnd.ibexa.api.AttributeList+json: - type: AttributeListWrapper - example: !include examples/product/catalog/attributes/GET/AttributeList.json.example - 401: - description: Error - the user has no permission to read user groups. -/view: - post: - displayName: Filter attributes - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeView+xml - application/vnd.ibexa.api.AttributeView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeViewInput+xml - application/vnd.ibexa.api.AttributeViewInput+json - body: - application/vnd.ibexa.api.AttributeViewInput+xml: - type: AttributeViewInput - application/vnd.ibexa.api.AttributeViewInput+json: - type: AttributeViewInputWrapper - example: !include examples/product/catalog/attributes/POST/AttributeViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.AttributeView+xml: - type: AttributeView - application/vnd.ibexa.api.AttributeView+json: - type: AttributeViewWrapper - example: !include examples/product/catalog/attributes/POST/AttributeView.json.example - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributetypes.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributetypes.raml deleted file mode 100644 index d7ed3cebe7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-attributetypes.raml +++ /dev/null @@ -1,37 +0,0 @@ -get: - displayName: List Attribute Types - description: Lists all Attribute Types. - headers: - Accept: - description: If set, the list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeTypeList+xml - application/vnd.ibexa.api.AttributeTypeList+json - responses: - 200: - description: OK - returns a list of Attribute Types - body: - application/vnd.ibexa.api.AttributeTypeList+xml: - type: AttributeTypeList - application/vnd.ibexa.api.AttributeTypeList+json: - type: AttributeTypeListWrapper -/{identifier}: - get: - displayName: Get Attribute Type - description: Gets an Attribute Type by its identifier. - headers: - Accept: - description: If set, the Attribute Type is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.AttributeType+xml - application/vnd.ibexa.api.AttributeType+json - responses: - 200: - description: OK - returns the Attribute Type - body: - application/vnd.ibexa.api.AttributeType+xml: - type: AttributeType - application/vnd.ibexa.api.AttributeType+json: - type: AttributeTypeWrapper - 404: - description: Error - The Attribute Type does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-catalogs.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-catalogs.raml deleted file mode 100644 index 4a38a0da77..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-catalogs.raml +++ /dev/null @@ -1,222 +0,0 @@ -post: - displayName: Create catalog - description: Creates a new catalog. - headers: - Accept: - description: If set, the new catalog is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CatalogCreate+json - Content-Type: - description: The catalog schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CatalogCreate+json - body: - application/vnd.ibexa.api.CatalogCreate+json: - type: CatalogCreateWrapper - example: !include examples/product/catalog/catalog/POST/CatalogCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.CatalogCreate+json: - type: CatalogWrapper - example: !include examples/product/catalog/catalog/identifier/GET/Catalog.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this catalog. - 403: - description: Error - a catalog with the same name already exists. - 404: - description: Error - no catalog with the given code exists. -/{identifier}: - delete: - displayName: Delete catalog - description: Deletes the given catalog. - responses: - 204: - description: No content - the given catalog is deleted. - 401: - description: Error - the user is not authorized to delete this catalog. - get: - displayName: Load catalog - description: Loads the given catalog. - headers: - Accept: - description: If set, the catalog is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Catalog+xml - application/vnd.ibexa.api.Catalog+json - responses: - 200: - body: - application/vnd.ibexa.api.Catalog+xml: - type: Catalog - application/vnd.ibexa.api.Catalog+json: - type: CatalogWrapper - example: !include examples/product/catalog/catalog/identifier/GET/Catalog.json.example - 401: - description: Error - the user is not authorized to view this catalog. - 404: - description: Error - no catalog with the given identifier exists. - patch: - displayName: Update catalog - description: Updates a catalog. - headers: - Accept: - description: If set, the updated catalog is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CatalogUpdate+json - Content-Type: - description: If set, the updated catalog is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CatalogUpdate+json - body: - application/vnd.ibexa.api.CatalogUpdate+json: - type: CatalogUpdateWrapper - example: !include examples/product/catalog/catalog/identifier/PATCH/CatalogUpdate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Catalog+json: - type: CatalogWrapper - example: !include examples/product/catalog/catalog/identifier/PATCH/Catalog.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this catalog. - 403: - description: Error - a catalog with the same identifier already exists. - 404: - description: Error - no catalog with the given identifier exists. -/copy/{identifier}: - post: - displayName: Copy catalog - description: Copies a catalog. - headers: - Accept: - description: If set, the copied catalog is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CatalogCopy+json - Content-Type: - description: If set, the copied catalog is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CatalogCopy+json - body: - application/vnd.ibexa.api.CatalogCopy+json: - type: CatalogCopyWrapper - example: !include examples/product/catalog/catalog/identifier/POST/CatalogCopy.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Catalog+json: - type: CatalogWrapper - example: !include examples/product/catalog/catalog/identifier/POST/Catalog.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to copy this catalog. - 403: - description: Error - a catalog with the same identifier already exists. - 404: - description: Error - no catalog with the given identifier exists. -/view: - post: - displayName: Filter catalogs - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.CatalogView+xml - application/vnd.ibexa.api.CatalogView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.CatalogViewInput+xml - application/vnd.ibexa.api.CatalogViewInput+json - body: - application/vnd.ibexa.api.CatalogViewInput+xml: - type: CatalogViewInput - application/vnd.ibexa.api.CatalogViewInput+json: - type: CatalogViewInputWrapper - example: !include examples/product/catalog/catalog/POST/CatalogViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.CatalogView+xml: - type: CatalogView - application/vnd.ibexa.api.CatalogView+json: - type: CatalogViewWrapper - example: !include examples/product/catalog/catalog/POST/CatalogView.json.example - 400: - description: Error - the input does not match the input schema definition. - -/{identifier}/products/view: - post: - displayName: Filter catalog products - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductView+xml - application/vnd.ibexa.api.ProductView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductViewInput+xml - application/vnd.ibexa.api.ProductViewInput+json - body: - application/vnd.ibexa.api.ProductViewInput+xml: - type: ProductViewInput - application/vnd.ibexa.api.ProductViewInput+json: - type: ProductViewInputWrapper - example: !include examples/product/catalog/catalog/POST/CatalogProductsViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.ProductView+xml: - type: ProductView - application/vnd.ibexa.api.ProductView+json: - type: ProductViewWrapper - example: !include examples/product/catalog/catalog/POST/CatalogProductsView.json.example - 400: - description: Error - the input does not match the input schema definition. - -/filters: - get: - displayName: Load catalog filters - description: Loads product filters available for catalogs. - headers: - Accept: - description: If set, the filters are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductFilterList+xml - application/vnd.ibexa.api.ProductFilterList+json - responses: - 200: - body: - application/vnd.ibexa.api.ProductFilterList+xml: - type: ProductFilterList - application/vnd.ibexa.api.ProductFilterList+json: - type: ProductFilterListWrapper - example: !include examples/product/catalog/catalog/GET/ProductFilterList.json.example - -/sort_clauses: - get: - displayName: Load catalog sort clauses - description: Loads product sort clauses available for catalogs. - headers: - Accept: - description: If set, the clauses are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductSortClauseList+xml - application/vnd.ibexa.api.ProductSortClauseList+json - responses: - 200: - body: - application/vnd.ibexa.api.ProductSortClauseList+xml: - type: ProductSortClauseList - application/vnd.ibexa.api.ProductSortClauseList+json: - type: ProductSortClauseListWrapper - example: !include examples/product/catalog/catalog/GET/ProductSortClauseList.json.example diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-currency.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-currency.raml deleted file mode 100644 index 52b08af34c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-currency.raml +++ /dev/null @@ -1,135 +0,0 @@ -post: - displayName: Create currency - description: Creates a new currency. - headers: - Accept: - description: If set, the new currency is returned in JSON format. - example: | - application/vnd.ibexa.api.Currency+json - Content-Type: - description: The Currency schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CurrencyCreate+json - body: - application/vnd.ibexa.api.CurrencyCreate+json: - type: CurrencyCreateWrapper - example: !include examples/product/catalog/currency/POST/CurrencyCreate.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Currency+json: - type: CurrencyWrapper - example: !include examples/product/catalog/currency/POST/Currency.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this currency. - 406: - description: Error - a currency with this code already exists. -get: - displayName: Load currencies - description: Loads the list of currencies. - headers: - Accept: - description: CurrencyList - If set, the currency list returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CurrencyList+json - responses: - 200: - description: OK - loads currencies. - body: - application/vnd.ibexa.api.CurrencyList+json: - type: CurrencyListWrapper - example: !include examples/product/catalog/currency/GET/CurrencyList.json.example - 401: - description: Error - the user has no permission to read currencies. -/{id}: - get: - displayName: Load currency - description: Loads a currency. - headers: - Accept: - description: Currency - If set, the currency returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Currency+json - responses: - 200: - description: OK - loads the currency. - body: - application/vnd.ibexa.api.Currency+json: - type: CurrencyWrapper - example: !include examples/product/catalog/currency/currency_id/GET/Currency.json.example - 401: - description: Error - the user has no permission to read currencies. - 404: - description: Error - the currency does not exist. - patch: - displayName: Update currency - description: Updates a currency. - body: - application/vnd.ibexa.api.CurrencyUpdate+json: - type: CurrencyUpdateWrapper - example: !include examples/product/catalog/currency/currency_id/PATCH/CurrencyUpdate.json.example - headers: - Accept: - description: If set, the updated currency is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Currency+json - Content-Type: - description: The CurrencyUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CurrencyUpdate+json - responses: - 200: - body: - application/vnd.ibexa.api.Currency+json: - type: CurrencyWrapper - example: !include examples/product/catalog/currency/currency_id/PATCH/Currency.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this User. - 403: - description: Error - a currency with the same ID already exists. - 404: - description: Error - the currency with the given ID does not exist. - delete: - displayName: Delete currency - description: Deletes the given currency. - responses: - 200: - description: No content - the given currency is deleted. - 401: - description: Error - the user is not authorized to delete this currency. - -/view: - post: - displayName: Filter currencies - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.CurrencyView+xml - application/vnd.ibexa.api.CurrencyView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.CurrencyViewInput+xml - application/vnd.ibexa.api.CurrencyViewInput+json - body: - application/vnd.ibexa.api.CurrencyViewInput+xml: - type: CurrencyViewInput - application/vnd.ibexa.api.CurrencyViewInput+json: - type: CurrencyViewInputWrapper - example: !include examples/product/catalog/currency/POST/CurrencyViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.CurrencyView+xml: - type: CurrencyView - application/vnd.ibexa.api.CurrencyView+json: - type: CurrencyViewWrapper - example: !include examples/product/catalog/currency/POST/CurrencyView.json.example - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-customergroups.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-customergroups.raml deleted file mode 100644 index 344cafada6..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-customergroups.raml +++ /dev/null @@ -1,128 +0,0 @@ -get: - displayName: Load customer groups - description: Returns a list of customer groups - headers: - Accept: - description: If set, the customer groups list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CustomerGroupList+json - responses: - 200: - body: - application/vnd.ibexa.api.CustomerGroupList+json: - type: CustomerGroupListWrapper - example: !include examples/product/catalog/customer_groups/GET/CustomerGroupList.json.example - 401: - description: Error - the user has no permission to read customer groups. -post: - displayName: Create customer group - description: Creates a new customer group. - headers: - Accept: - description: If set, the new customer group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CustomerGroupCreate+json - Content-Type: - description: The CustomerGroupCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CustomerGroupCreate+json - body: - application/vnd.ibexa.api.CustomerGroupCreate+json: - type: CustomerGroupCreateWrapper - example: !include examples/product/catalog/customer_groups/POST/CustomerGroupCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.CustomerGroup+json: - type: CustomerGroupWrapper - example: !include examples/product/catalog/customer_groups/POST/CustomerGroup.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this Customer Group. - 403: - description: Error - a customer group with the same name already exists. - -/{identifier}: - get: - displayName: Load customer group - description: Returns a customer group - headers: - Accept: - description: If set, the customer group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CustomerGroup+json - responses: - 200: - body: - application/vnd.ibexa.api.CustomerGroup+json: - type: CustomerGroupWrapper - example: !include examples/product/catalog/customer_groups/identifier/GET/CustomerGroup.json.example - 401: - description: Error - the user has no permission to read customer groups. - patch: - displayName: Update customer group - description: Updates the given customer group. - headers: - Accept: - description: If set, the updated customer group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CustomerGroupUpdate+json - Content-Type: - description: The CustomerGroupUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.CustomerGroupUpdate+json - body: - application/vnd.ibexa.api.CustomerGroupUpdate+json: - type: CustomerGroupUpdateWrapper - example: !include examples/product/catalog/customer_groups/identifier/PATCH/CustomerGroupUpdate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.CustomerGroup+json: - type: CustomerGroupWrapper - example: !include examples/product/catalog/customer_groups/identifier/PATCH/CustomerGroup.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update a customer group. - delete: - displayName: Delete customer group - description: Deletes the given customer group. - responses: - 204: - description: No content - the given customer group is deleted. - 401: - description: Error - the user is not authorized to delete this customer group. - -/view: - post: - displayName: Filter customer groups - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.CustomerGroupView+xml - application/vnd.ibexa.api.CustomerGroupView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.CustomerGroupViewInput+xml - application/vnd.ibexa.api.CustomerGroupViewInput+json - body: - application/vnd.ibexa.api.CustomerGroupViewInput+xml: - type: CustomerGroupViewInput - application/vnd.ibexa.api.CustomerGroupViewInput+json: - type: CustomerGroupViewInputWrapper - example: !include examples/product/catalog/customer_groups/POST/CustomerGroupViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.CustomerGroupView+xml: - type: CustomerGroupView - application/vnd.ibexa.api.CustomerGroupView+json: - type: CustomerGroupViewWrapper - example: !include examples/product/catalog/customer_groups/POST/CustomerGroupView.json.example - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-products.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-products.raml deleted file mode 100644 index 24ab65c054..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-products.raml +++ /dev/null @@ -1,299 +0,0 @@ -/{productTypeIdentifier}: - post: - displayName: Create product - description: Creates a new product. - headers: - Accept: - description: If set, the new product is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductCreate+json - Content-Type: - description: The product schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductCreate+json - body: - application/vnd.ibexa.api.ProductCreate+json: - type: ProductCreateWrapper - example: !include examples/product/catalog/product/POST/ProductCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.ProductCreate+json: - type: ProductWrapper - example: !include examples/product/catalog/product/code/GET/Product.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this product. - 403: - description: Error - a product with the same name already exists. - 404: - description: Error - no product with the given code exists. -/{identifier}: - delete: - displayName: Delete product - description: Deletes the given product. - responses: - 204: - description: No content - the given product is deleted. - 401: - description: Error - the user is not authorized to delete this product. -/{code}: - get: - displayName: Load the given product - description: Loads the given product. - headers: - Accept: - description: If set, the products are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Product+json - Content-Type: - description: An optional product schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductGet+json - body: - application/vnd.ibexa.api.ProductGet+json: - type: ProductGetWrapper - example: !include examples/product/catalog/product/code/GET/ProductGet.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Product+json: - type: ProductWrapper - example: !include examples/product/catalog/product/code/GET/Product.json.example - 401: - description: Error - the user is not authorized to view this product. - 404: - description: Error - no product with the given code exists. - patch: - displayName: Update product - description: Updates product. - headers: - Accept: - description: If set, the updated product is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductUpdate+json - Content-Type: - description: If set, the updated product is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductUpdate+json - body: - application/vnd.ibexa.api.ProductUpdate+json: - type: ProductUpdateWrapper - example: !include examples/product/catalog/product/code/PATCH/ProductUpdate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Product+json: - type: ProductWrapper - example: !include examples/product/catalog/product/code/PATCH/Product.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this product. - 403: - description: Error - a product with the same code already exists. - 404: - description: Error - no product with the given code exists. - /prices: - get: - displayName: Load the list of product prices - description: Loads the list of product prices. - headers: - Accept: - description: PriceList - if set, the product price list is returned in JSON format. - example: - application/vnd.ibexa.api.PriceList+json - responses: - 200: - description: OK - loads the list of product prices. - body: - application/vnd.ibexa.api.PriceList+json: - type: PriceListWrapper - example: !include examples/product/catalog/product/code/prices/GET/PriceList.json.example - 401: - description: Error - the user has no permission to read prices. - post: - displayName: Create product price or custom price - description: Create product price or custom price. - headers: - Accept: - description: The product price schema encoded in JSON format. - example: | - application/vnd.ibexa.api.Price+json - application/vnd.ibexa.api.CustomPrice+json - Content-Type: - description: If set, the new price is returned in JSON format. - example: | - application/vnd.ibexa.api.PriceCreateStruct+json - application/vnd.ibexa.api.CustomPriceCreateStruct+json - body: - application/vnd.ibexa.api.PriceCreateStruct+json: - type: PriceCreateStructWrapper - example: !include examples/product/catalog/product/code/prices/POST/PriceCreateStruct.json.example - application/vnd.ibexa.api.CustomPriceCreateStruct+json: - type: CustomPriceCreateStructWrapper - example: !include examples/product/catalog/product/code/prices/POST/CustomPriceCreateStruct.json.example - responses: - 200: - description: OK - creates product price. - body: - application/vnd.ibexa.api.Price+json: - type: PriceWrapper - example: !include examples/product/catalog/product/code/prices/Price.json.example - application/vnd.ibexa.api.CustomPrice+json: - type: CustomPriceWrapper - example: !include examples/product/catalog/product/code/prices/CustomPrice.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this price. - /{currencyCode}: - get: - displayName: Get price in given currency - description: Get price in given currency. - headers: - Accept: - description: If set, gets price in given currency in JSON format. - example: | - application/vnd.ibexa.api.Price+json - responses: - 200: - description: OK - gets price in given currency. - body: - application/vnd.ibexa.api.Price+json: - type: PriceWrapper - example: !include examples/product/catalog/product/code/prices/currencyCode/GET/Price.json.example - 401: - description: Error - the user has no permission to read prices. - 404: - description: Error - the price does not exist. - /customer-group: - /{customerGroupIdentifier}: - get: - displayName: Get price in given currency and customer group - description: Get price in given currency and customer group. - headers: - Accept: - description: If set, gets price in given currency and customer group in JSON format. - example: | - application/vnd.ibexa.api.CustomPrice+json - responses: - 200: - description: OK - gets price in given currency and customer group. - body: - application/vnd.ibexa.api.CustomPrice+json: - type: CustomPriceWrapper - example: !include examples/product/catalog/product/code/prices/currencyCode/customer-group/customerGroupIdentifier/GET/CustomPrice.json.example - 401: - description: Error - the user has no permission to read prices. - 404: - description: Error - the price does not exist. - /{id}: - delete: - displayName: Delete product price - description: Deletes product price. - headers: - Accept: - description: If set, deletes price of given id. - example: | - application/vnd.ibexa.api.PriceDelete+json - Content-Type: - description: Delete product price. - example: | - application/vnd.ibexa.api.PriceDelete+json - responses: - 200: - description: No content - the given price is deleted. - 401: - description: Error - the user is not authorized to delete this price. - patch: - displayName: Update product price - description: Updates product price. - headers: - Accept: - description: If set, updates product price. - example: | - application/vnd.ibexa.api.Price+json - application/vnd.ibexa.api.CustomPrice+json - Content-Type: - description: Update price or custom price for given currency. - example: | - application/vnd.ibexa.api.PriceUpdateStruct+json - application/vnd.ibexa.api.CustomPriceUpdateStruct+json - body: - application/vnd.ibexa.api.PriceUpdateStruct+json: - type: PriceUpdateStructWrapper - example: !include examples/product/catalog/product/code/prices/id/PATCH/PriceUpdate.json.example - application/vnd.ibexa.api.CustomPriceUpdateStruct+json: - type: CustomPriceUpdateStructWrapper - example: !include examples/product/catalog/product/code/prices/id/PATCH/CustomPriceUpdate.json.example - responses: - 200: - description: OK - updates product price. - body: - application/vnd.ibexa.api.Price+json: - type: PriceWrapper - example: !include examples/product/catalog/product/code/prices/id/Price.json.example - application/vnd.ibexa.api.CustomPrice+json: - type: CustomPriceWrapper - example: !include examples/product/catalog/product/code/prices/id/CustomPrice.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this price. -get: - displayName: Load products list (deprecated) - description: Returns a list of products. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/products/view instead. - headers: - Accept: - description: If set, the products are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductList+json - Content-Type: - description: The product list schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductListGet+json - body: - application/vnd.ibexa.api.ProductListGet+json: - type: ProductListGetWrapper - example: !include examples/product/catalog/product/GET/ProductListGet.json.example - responses: - 200: - body: - application/vnd.ibexa.api.ProductList+json: - type: ProductListWrapper - example: !include examples/product/catalog/product/GET/ProductList.json.example - 401: - description: Error - the user has no permission to read product. -/view: - post: - displayName: Filter products - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductView+xml - application/vnd.ibexa.api.ProductView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductViewInput+xml - application/vnd.ibexa.api.ProductViewInput+json - body: - application/vnd.ibexa.api.ProductViewInput+xml: - type: ProductViewInput - application/vnd.ibexa.api.ProductViewInput+json: - type: ProductViewInputWrapper - example: !include examples/product/catalog/product/POST/ProductViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.ProductView+xml: - type: ProductView - application/vnd.ibexa.api.ProductView+json: - type: ProductViewWrapper - example: !include examples/product/catalog/product/POST/ProductView.json.example - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-producttypes.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-producttypes.raml deleted file mode 100644 index cea85687a5..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-producttypes.raml +++ /dev/null @@ -1,165 +0,0 @@ -post: - displayName: Create product type - description: Creates a new product type. - headers: - Accept: - description: If set, the new product type is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductTypeCreate+json - Content-Type: - description: The ProductType schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductTypeCreate+json - body: - application/vnd.ibexa.api.ProductTypeCreate+json: - type: ProductTypeCreateWrapper - example: !include examples/product/catalog/product_types/POST/ProductTypeCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.ProductType+json: - type: ProductTypeWrapper - example: !include examples/product/catalog/product_types/POST/ProductType.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this product type. - 403: - description: Error - a product type with the same name already exists. - 404: - description: Error - the product type with the given ID does not exist. -get: - displayName: Load product types (deprecated) - description: Returns a list of product types. Deprecated as of Ibexa DXP 4.3, use POST /product/catalog/product_types/view instead. - headers: - Accept: - description: ProductTypeList - If set, the product type list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductTypeList+xml - application/vnd.ibexa.api.ProductTypeList+json - Content-Type: - description: The ProductTypeList schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductTypeListGet+xml - application/vnd.ibexa.api.ProductTypeListGet+json - body: - application/vnd.ibexa.api.ProductTypeListGet+xml: - type: ProductTypeListGet - application/vnd.ibexa.api.ProductTypeListGet+json: - type: ProductTypeListGetWrapper - example: !include examples/product/catalog/product_types/GET/ProductTypeListGet.json.example - responses: - 200: - body: - application/vnd.ibexa.api.ProductTypeList+xml: - type: ProductTypeList - application/vnd.ibexa.api.ProductTypeList+json: - type: ProductTypeListWrapper - example: !include examples/product/catalog/product_types/GET/ProductTypeList.json.example - 401: - description: Error - the user has no permission to read product type. -/is_used/{identifier}: - get: - displayName: Check product type usage - description: Checks whether the product type is in use. - headers: - Accept: - example: | - application/vnd.ibexa.api.ProductTypeUsage+xml - application/vnd.ibexa.api.ProductTypeUsage+json - responses: - 200: - body: - application/vnd.ibexa.api.ProductTypeUsage+xml: - type: ProductTypeUsage - application/vnd.ibexa.api.ProductTypeUsage+json: - type: ProductTypeUsageWrapper - 404: - description: Error - product type not found. -/{id}: - get: - displayName: Load product type - description: Returns the given product type. - headers: - Accept: - description: ProductType - If set, the product type is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductType+xml - application/vnd.ibexa.api.ProductType+json - responses: - 200: - body: - application/vnd.ibexa.api.ProductType+xml: - type: ProductType - application/vnd.ibexa.api.ProductType+json: - type: ProductTypeWrapper - example: !include examples/product/catalog/product_types/id/GET/ProductType.json.example - 401: - description: Error - the user has no permission to read product type. - patch: - displayName: Update product type - description: Updates product type. - headers: - Accept: - description: If set, the updated product type is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductTypeUpdate+json - Content-Type: - description: If set, the updated product type is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductTypeUpdate+json - body: - application/vnd.ibexa.api.ProductTypeUpdate+json: - type: ProductTypeUpdateWrapper - example: !include examples/product/catalog/product_types/id/PATCH/ProductTypeUpdate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.ProductType+json: - type: ProductTypeWrapper - example: !include examples/product/catalog/product_types/id/PATCH/ProductType.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this product type. - 404: - description: Error - the product type with the given ID does not exist. - delete: - displayName: Delete product type - description: Deletes the given product type. - responses: - 204: - description: No content - the given product type is deleted. - 401: - description: Error - the user is not authorized to delete this product type. -/view: - post: - displayName: Filter product types - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductTypeView+xml - application/vnd.ibexa.api.ProductTypeView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductTypeViewInput+xml - application/vnd.ibexa.api.ProductTypeViewInput+json - body: - application/vnd.ibexa.api.ProductTypeViewInput+xml: - type: ProductTypeViewInput - application/vnd.ibexa.api.ProductTypeViewInput+json: - type: ProductTypeViewInputWrapper - example: !include examples/product/catalog/product_types/POST/ProductTypeViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.ProductTypeView+xml: - type: ProductTypeView - application/vnd.ibexa.api.ProductTypeView+json: - type: ProductTypeViewWrapper - example: !include examples/product/catalog/product_types/POST/ProductTypeView.json.example - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-productvariant.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-productvariant.raml deleted file mode 100644 index 909b2d8860..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-productvariant.raml +++ /dev/null @@ -1,19 +0,0 @@ -/{code}: - get: - displayName: Load product variant - description: Loads the given product variant. - headers: - Accept: - description: If set, the product variant is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariant+json - responses: - 200: - body: - application/vnd.ibexa.api.ProductVariant+json: - type: ProductVariantWrapper - example: !include examples/product/catalog/product_variants/code/GET/ProductVariant.json.example - 401: - description: Error - the user is not authorized to view this product variant. - 404: - description: Error - no product variant with the given code exists. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-productvariants.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-productvariants.raml deleted file mode 100644 index b3fc76c969..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-productvariants.raml +++ /dev/null @@ -1,128 +0,0 @@ -/{baseProductCode}: - post: - displayName: Create product variant - description: Creates a new product variant. - headers: - Accept: - description: If set, the new product variant is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariantCreate+json - Content-Type: - description: The product variant schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariantCreate+json - body: - application/vnd.ibexa.api.ProductVariantCreate+json: - type: ProductVariantCreateWrapper - example: !include examples/product/catalog/product_variants/POST/ProductVariantCreate.json.example - responses: - 201: - description: No content - product variant is created. - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this product variant. - 403: - description: Error - a product variant with the same name already exists. - 404: - description: Error - no base product with the given code exists. -/generate/{baseProductCode}: - post: - displayName: Generate product variants - description: Generates new product variants based on selected (discriminator) attributes. - headers: - Accept: - description: If set, the new product variant is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariantGenerate+json - Content-Type: - description: The product variant schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariantGenerate+json - body: - application/vnd.ibexa.api.ProductVariantGenerate+json: - type: ProductVariantGenerateWrapper - example: !include examples/product/catalog/product_variants/POST/ProductVariantGenerate.json.example - responses: - 201: - description: No content - product variants are generated. - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this product variant. - 403: - description: Error - a product variant with the same name already exists. - 404: - description: Error - no base product with the given code exists. -/{code}: - delete: - displayName: Delete product variant - description: Deletes the given product variant. - responses: - 204: - description: No content - product variant is deleted. - 401: - description: Error - the user is not authorized to delete this product variant. - patch: - displayName: Update product variant - description: Updates product variant. - headers: - Accept: - description: If set, the updated product variant is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariant+json - Content-Type: - description: The product variant update schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariantUpdate+json - body: - application/vnd.ibexa.api.ProductVariantUpdate+json: - type: ProductVariantUpdateWrapper - example: !include examples/product/catalog/product_variants/code/PATCH/ProductVariantUpdate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.ProductVariant+json: - type: ProductVariantWrapper - example: !include examples/product/catalog/product_variants/code/PATCH/ProductVariant.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this product variant. - 403: - description: Error - a product variant with the same code already exists. - 404: - description: Error - no product variant with the given code exists. -/view/{baseProductCode}: - post: - displayName: Filter product variants - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariantView+xml - application/vnd.ibexa.api.ProductVariantView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.ProductVariantViewInput+xml - application/vnd.ibexa.api.ProductVariantViewInput+json - body: - application/vnd.ibexa.api.ProductVariantViewInput+xml: - type: ProductVariantViewInput - application/vnd.ibexa.api.ProductVariantViewInput+json: - type: ProductVariantViewInputWrapper - example: !include examples/product/catalog/product_variants/POST/ProductVariantViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.ProductVariantView+xml: - type: ProductVariantView - application/vnd.ibexa.api.ProductVariantView+json: - type: ProductVariantViewWrapper - example: !include examples/product/catalog/product_variants/POST/ProductVariantView.json.example - 400: - description: Error - the input does not match the input schema definition. - 404: - description: Error - the base product does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-regions.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-regions.raml deleted file mode 100644 index cf346c3c57..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-regions.raml +++ /dev/null @@ -1,72 +0,0 @@ -get: - displayName: Load regions - description: Loads the list of regions. - headers: - Accept: - description: RegionList - If set, the regions list returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RegionList+xml - application/vnd.ibexa.api.RegionList+json - responses: - 200: - description: OK - loads regions. - body: - application/vnd.ibexa.api.RegionList+xml: - type: RegionList - application/vnd.ibexa.api.RegionList+json: - type: RegionListWrapper - example: !include examples/product/catalog/regions/GET/RegionList.json.example - 401: - description: Error - the user has no permission to read regions. - -/{identifier}: - get: - displayName: Load region - description: Loads a region by its identifier - headers: - Accept: - example: | - application/vnd.ibexa.api.Region+xml - application/vnd.ibexa.api.Region+json - responses: - 200: - description: OK - loads region. - body: - application/vnd.ibexa.api.Region+xml: - type: Region - application/vnd.ibexa.api.Region+json: - type: RegionWrapper - 404: - description: Error - the region does not exist. - -/view: - post: - displayName: Filter regions - description: Executes a query and returns a View including the results. The View input reflects the criteria model of the public PHP API. - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.RegionView+xml - application/vnd.ibexa.api.RegionView+json - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.RegionViewInput+xml - application/vnd.ibexa.api.RegionViewInput+json - body: - application/vnd.ibexa.api.RegionViewInput+xml: - type: RegionViewInput - application/vnd.ibexa.api.RegionViewInput+json: - type: RegionViewInputWrapper - example: !include examples/product/catalog/regions/POST/RegionViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.RegionView+xml: - type: RegionView - application/vnd.ibexa.api.RegionView+json: - type: RegionViewWrapper - example: !include examples/product/catalog/regions/POST/RegionView.json.example - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-product-vat.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-product-vat.raml deleted file mode 100644 index 6376ba1851..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-product-vat.raml +++ /dev/null @@ -1,38 +0,0 @@ -/{region}: - get: - displayName: Load VAT region - description: Loads a VAT category for the given region. - headers: - Accept: - description: If set, the VAT category list returned in XML or JSON format. - example: | - application/vnd.ibexa.api.VatCategoryList+json - responses: - 200: - body: - application/vnd.ibexa.api.VatCategoryList+json: - type: VatCategoryListWrapper - example: !include examples/product/catalog/vat/region/GET/VatCategoryList.json.example - 401: - description: Error - the user is not authorized to read this object. - 404: - description: Error - the VAT category region does not exist. - /{identifier}: - get: - displayName: Load VAT specific region - description: Loads a VAT category for the given identifier. - headers: - Accept: - description: If set, the VAT category list returned in XML or JSON format. - example: | - application/vnd.ibexa.api.VatCategory+json - responses: - 200: - body: - application/vnd.ibexa.api.VatCategory+json: - type: VatCategoryWrapper - example: !include examples/product/catalog/vat/region/identifier/GET/VatCategory.json.example - 401: - description: Error - the user is not authorized to read this object. - 404: - description: Error - the VAT category for the given identifier not exists. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-root.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-root.raml deleted file mode 100644 index 72b6e11b6b..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-root.raml +++ /dev/null @@ -1,20 +0,0 @@ -displayName: Root resources -get: - displayName: List of root resources - description: Lists the root resources of the Ibexa Platform installation. - headers: - Accept: - description: If set, the list is return in XML or JSON format. - type: string - example: | - application/vnd.ibexa.api.Root+xml - application/vnd.ibexa.api.Root+json - responses: - 200: - body: - application/vnd.ibexa.api.Root+xml: - type: Root - example: !include examples/GET/Root.xml.example - application/vnd.ibexa.api.Root+json: - type: RootWrapper - example: !include examples/GET/Root.json.example diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-segment-groups.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-segment-groups.raml deleted file mode 100644 index 4e179ddcf1..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-segment-groups.raml +++ /dev/null @@ -1,178 +0,0 @@ -displayName: Segment groups -get: - displayName: List segment groups - description: Lists segment groups. - headers: - Accept: - description: If set, the list of segment groups is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentGroupList+xml - application/vnd.ibexa.api.SegmentGroupList+json - responses: - 200: - description: OK - list the segment groups. - body: - application/vnd.ibexa.api.SegmentGroupList+xml: - type: SegmentGroupList - example: !include examples/segment_groups/GET/SegmentGroupList.xml.example - application/vnd.ibexa.api.SegmentGroupList+json: - type: SegmentGroupListWrapper - example: !include examples/segment_groups/GET/SegmentGroupList.json.example - 401: - description: Error - the user is not authorized to list segment groups. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage -post: - displayName: Create a segment group - description: Creates a segment group. - headers: - Content-Type: - description: A SegmentGroupCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentGroupCreate+xml - application/vnd.ibexa.api.SegmentGroupCreate+json - Accept: - description: A segment group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentGroup+xml - application/vnd.ibexa.api.SegmentGroup+json - body: - application/vnd.ibexa.api.SegmentGroupCreate+xml: - type: SegmentGroupCreate - example: !include examples/segment_groups/POST/SegmentGroupCreate.xml.example - application/vnd.ibexa.api.SegmentGroupCreate+json: - type: SegmentGroupCreateWrapper - example: !include examples/segment_groups/POST/SegmentGroupCreate.json.example - responses: - 200: - description: OK - list the segment groups. - body: - application/vnd.ibexa.api.SegmentGroup+xml: - type: SegmentGroup - example: !include examples/segment_groups/POST/SegmentGroup.xml.example - application/vnd.ibexa.api.SegmentGroup+json: - type: SegmentGroupWrapper - example: !include examples/segment_groups/POST/SegmentGroup.json.example - 400: - description: Error - input data validation failed. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 401: - description: Error - the user is not authorized to list segment groups. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 406: - description: Error - input data is not acceptable, for example, segment group identifier is not unique. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage -/{identifier}: - get: - displayName: Load segment group - description: Loads segment group. - headers: - Accept: - description: If set, the segment group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentGroup+xml - application/vnd.ibexa.api.SegmentGroup+json - responses: - 200: - description: OK - return the segment group. - body: - application/vnd.ibexa.api.SegmentGroup+xml: - type: SegmentGroup - example: !include examples/segment_groups/identifier/GET/SegmentGroup.xml.example - application/vnd.ibexa.api.SegmentGroup+json: - type: SegmentGroupWrapper - example: !include examples/segment_groups/identifier/GET/SegmentGroup.json.example - 401: - description: Error - the user is not authorized to load this segment group. - 404: - description: Error - the identifier doesn't match any segment group. - patch: - displayName: Update segment group data - description: Updates the segment group's data. - headers: - Content-Type: - description: The SegmentGroupUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentGroupUpdate+xml - application/vnd.ibexa.api.SegmentGroupUpdate+json - Accept: - description: A segment group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentGroup+xml - application/vnd.ibexa.api.SegmentGroup+json - body: - application/vnd.ibexa.api.SegmentGroupUpdate+xml: - type: SegmentGroupUpdate - example: !include examples/segment_groups/identifier/PATCH/SegmentGroupUpdate.xml.example - application/vnd.ibexa.api.SegmentGroupUpdate+json: - type: SegmentGroupUpdateWrapper - example: !include examples/segment_groups/identifier/PATCH/SegmentGroupUpdate.json.example - responses: - 200: - description: OK - returns updated segment group's data. - body: - application/vnd.ibexa.api.SegmentGroup+xml: - type: SegmentGroup - example: !include examples/segment_groups/identifier/PATCH/SegmentGroup.xml.example - application/vnd.ibexa.api.SegmentGroup+json: - type: SegmentGroupWrapper - example: !include examples/segment_groups/identifier/PATCH/SegmentGroup.json.example - delete: - displayName: Delete a segment group - description: Deletes the segment group. - responses: - 204: - description: Segment group deleted. - 401: - description: Error - the user is not authorized to delete segment groups. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 404: - description: Error - the identifier doesn't match any segment group. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - /segments: - get: - displayName: List segment group's segments - description: Lists segment group's segments. - headers: - Accept: - description: If set, the segment group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentList+xml - application/vnd.ibexa.api.SegmentList+json - responses: - 200: - description: OK - list the group's segments. - body: - application/vnd.ibexa.api.SegmentList+xml: - type: SegmentList - example: !include examples/segment_groups/identifier/segments/GET/SegmentList.xml.example - application/vnd.ibexa.api.SegmentList+json: - type: SegmentListWrapper - example: !include examples/segment_groups/identifier/segments/GET/SegmentList.json.example - 401: - description: Error - the user is not authorized to load this group's segments. - 404: - description: Error - the identifier doesn't match any segment group. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-segments.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-segments.raml deleted file mode 100644 index 6898be18e7..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-segments.raml +++ /dev/null @@ -1,163 +0,0 @@ -displayName: Segments -post: - displayName: Create a segment - description: Creates a segment. - headers: - Content-Type: - description: A SegmentCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentCreate+xml - application/vnd.ibexa.api.SegmentCreate+json - Accept: - description: A segment is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Segment+xml - application/vnd.ibexa.api.Segment+json - body: - application/vnd.ibexa.api.SegmentCreate+xml: - type: SegmentCreate - example: !include examples/segments/POST/SegmentCreate.xml.example - application/vnd.ibexa.api.SegmentCreate+json: - type: SegmentCreateWrapper - example: !include examples/segments/POST/SegmentCreate.json.example - responses: - 200: - description: OK - returns new segment's data. - body: - application/vnd.ibexa.api.Segment+xml: - type: Segment - example: !include examples/segments/POST/Segment.xml.example - application/vnd.ibexa.api.Segment+json: - type: SegmentWrapper - example: !include examples/segments/POST/Segment.json.example - 400: - description: Error - input data validation failed. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 401: - description: Error - the user is not authorized to create segments. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 404: - description: Error - segment group with given identifier does not exist. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 406: - description: Error - input data is not acceptable, for example segment identifier is not unique. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage -/{identifier}: - get: - displayName: Load segment - description: Loads the identified segment. - headers: - Accept: - description: If set, the segment is returned in XML or JSON - example: | - application/vnd.ibexa.api.Segment+xml - application/vnd.ibexa.api.Segment+json - responses: - 200: - description: OK - Return the segment. - body: - application/vnd.ibexa.api.Segment+xml: - type: Segment - example: !include examples/segments/identifier/GET/Segment.xml.example - application/vnd.ibexa.api.Segment+json: - type: SegmentWrapper - example: !include examples/segments/identifier/GET/Segment.json.example - 401: - description: Error - the user is not authorized to load this segment. - 404: - description: Error - the identifier doesn't match any segment. - patch: - displayName: Update segment data - description: Updates the segment's data. - headers: - Content-Type: - description: The SegmentUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.SegmentUpdate+xml - application/vnd.ibexa.api.SegmentUpdate+json - Accept: - description: A segment is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Segment+xml - application/vnd.ibexa.api.Segment+json - body: - application/vnd.ibexa.api.SegmentUpdate+xml: - type: SegmentUpdate - example: !include examples/segments/identifier/PATCH/SegmentUpdate.xml.example - application/vnd.ibexa.api.SegmentUpdate+json: - type: SegmentUpdateWrapper - example: !include examples/segments/identifier/PATCH/SegmentUpdate.json.example - responses: - 200: - description: OK - returns updated segment's data. - body: - application/vnd.ibexa.api.Segment+xml: - type: Segment - example: !include examples/segments/identifier/PATCH/Segment.xml.example - application/vnd.ibexa.api.Segment+json: - type: SegmentWrapper - example: !include examples/segments/identifier/PATCH/Segment.json.example - 400: - description: Error - input data validation failed. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 401: - description: Error - the user is not authorized to create segments. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 404: - description: Error - segment or segment group with given identifier does not exist. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 406: - description: Error - input data is not acceptable, for example segment identifier is not unique. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - delete: - displayName: Delete a segment - description: Deletes the segment. - responses: - 204: - description: Segment deleted. - 401: - description: Error - the user is not authorized to delete segments. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage - 404: - description: Error - the identifier doesn't match any segment. - body: - application/vnd.ibexa.api.ErrorMessage+xml: - type: ErrorMessage - application/vnd.ibexa.api.ErrorMessage+json: - type: ErrorMessage \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-services.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-services.raml deleted file mode 100644 index 8ba5b4c273..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-services.raml +++ /dev/null @@ -1,19 +0,0 @@ -displayName: Services -/countries: - get: - displayName: Countries list - description: Gives access to an ISO-3166 formatted list of world countries. It is useful when presenting a country options list from any application. - headers: - Accept: - description: If set, the country list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.CountriesList+xml - application/vnd.ibexa.api.CountriesList+json - responses: - 200: - body: - application/vnd.ibexa.api.CountriesList+xml: - type: CountryList - example: !include examples/services/countries/GET/CountriesList.xml.example - application/vnd.ibexa.api.CountriesList+json: - type: CountryListWrapper diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-shipments.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-shipments.raml deleted file mode 100644 index c35fa1df9c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-shipments.raml +++ /dev/null @@ -1,99 +0,0 @@ -displayName: Shipments - -get: - displayName: Load shipments - description: Loads a list of shipments. - headers: - Accept: - description: If set, the shipments are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ShipmentRefList+xml - application/vnd.ibexa.api.ShipmentRefList+json - responses: - 200: - description: OK - loads the shipments. - body: - application/vnd.ibexa.api.ShipmentRefList+xml: - type: ShipmentRefList - example: !include examples/shipments/GET/ShipmentRefList.xml.example - application/vnd.ibexa.api.ShipmentRefList+json: - type: ShipmentRefListWrapper - example: !include examples/shipments/GET/ShipmentRefList.json.example - 401: - description: Error - the user has no permission to read shipment lists. - 404: - description: Error - the shipment does not exist. - -/{identifier}: - get: - displayName: Load a single shipment based on its identifier - description: Loads a single shipment based on its identifier. - headers: - Accept: - description: If set, the shipment is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Shipment+xml - application/vnd.ibexa.api.Shipment+json - responses: - 200: - description: OK - loads the shipment. - body: - application/vnd.ibexa.api.Shipment+xml: - type: Shipment - example: !include examples/shipments/identifier/GET/Shipment.xml.example - application/vnd.ibexa.api.Shipment+json: - type: ShipmentWrapper - example: !include examples/shipments/identifier/GET/Shipment.json.example - 401: - description: Error - the user has no permission to read shipments. - 404: - description: Error - the shipment does not exist. - - patch: - displayName: Update shipment - description: Updates a shipment. - headers: - Accept: - description: If set, the updated shipment is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Shipment+xml - application/vnd.ibexa.api.Shipment+json - Content-Type: - description: The ShipmentUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.ShipmentUpdate+xml - application/vnd.ibexa.api.ShipmentUpdate+json - body: - application/vnd.ibexa.api.ShipmentUpdate+xml: - type: ShipmentUpdate - example: !include examples/shipments/identifier/PATCH/ShipmentUpdate.xml.example - application/vnd.ibexa.api.ShipmentUpdate+json: - type: ShipmentUpdateWrapper - example: !include examples/shipments/identifier/PATCH/ShipmentUpdate.json.example - responses: - 200: - body: - application/vnd.ibexa.api.Shipment+xml: - type: Shipment - example: !include examples/shipments/identifier/PATCH/Shipment.xml.example - application/vnd.ibexa.api.Shipment+json: - type: ShipmentWrapper - example: !include examples/shipments/identifier/PATCH/Shipment.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update this shipment. - 404: - description: Error - the shipment with the given ID does not exist. - 406: - description: Error - the shipment cannot be cancelled due to not-allowed workflow transition - delete: - displayName: Delete shipment - description: Deletes a shipment. - responses: - 204: - description: No content - shipment is deleted. - 401: - description: Error - the user is not authorized to delete this shipment. - 404: - description: Error - the shipment with the given ID does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-shipping.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-shipping.raml deleted file mode 100644 index fbf31c799a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-shipping.raml +++ /dev/null @@ -1,98 +0,0 @@ -displayName: Shipping methods - -/methods: - get: - displayName: Load shipping methods - description: Loads shipping methods. - headers: - Accept: - description: Shipping method reference - if set, the shipping method is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ShippingMethodRefList+xml - application/vnd.ibexa.api.ShippingMethodRefList+json - responses: - 200: - description: OK - list the shipping methods. - body: - application/vnd.ibexa.api.ShippingMethodRefList+xml: - type: ShippingMethodRefList - example: !include examples/shipping/methods/GET/ShippingMethodRefList.xml.example - application/vnd.ibexa.api.ShippingMethodRefList+json: - type: ShippingMethodRefListWrapper - example: !include examples/shipping/methods/GET/ShippingMethodRefList.json.example - 401: - description: Error - the user has no permission to read shipping methods. - /{identifier}: - get: - displayName: Load shipping method based on its identifier - description: Loads shipping method based on its identifier. - headers: - Accept: - description: Shipping method - if set, the shipping method is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ShippingMethod+xml - application/vnd.ibexa.api.ShippingMethod+json - responses: - 200: - description: OK - loads the shipping method. - body: - application/vnd.ibexa.api.ShippingMethod+xml: - type: ShippingMethod - example: !include examples/shipping/methods/identifier/GET/ShippingMethod.xml.example - application/vnd.ibexa.api.ShippingMethod+json: - type: ShippingMethodWrapper - example: !include examples/shipping/methods/identifier/GET/ShippingMethod.json.example - 401: - description: Error - the user has no permission to read shipping methods. - 404: - description: Error - the shipping method does not exist. - -/method-types: - get: - displayName: Load shipping methods types - description: Loads shipping methods types. - headers: - Accept: - description: Shipping method type reference - if set, the shipping method is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ShippingMethodTypesList+xml - application/vnd.ibexa.api.ShippingMethodTypesList+json - responses: - 200: - description: OK - loads the shipping method. - body: - application/vnd.ibexa.api.ShippingMethodTypesList+xml: - type: ShippingMethodTypesList - example: !include examples/shipping/method-types/GET/ShippingMethodTypesList.xml.example - application/vnd.ibexa.api.ShippingMethodTypesList+json: - type: ShippingMethodTypesListWrapper - example: !include examples/shipping/method-types/GET/ShippingMethodTypesList.json.example - 401: - description: Error - the user has no permission to read shipping methods types. - 404: - description: Error - the shipping method type does not exist. - - /{identifier}: - get: - displayName: Load shipping method type based on its identifier - description: Loads shipping methods type based on their identifiers. - headers: - Accept: - description: Shipping method type - if set, the shipping method is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.ShippingMethodType+xml - application/vnd.ibexa.api.ShippingMethodType+json - responses: - 200: - description: OK - loads the shipping method. - body: - application/vnd.ibexa.api.ShippingMethodType+xml: - type: ShippingMethodType - example: !include examples/shipping/method-types/identifier/GET/ShippingMethodType.xml.example - application/vnd.ibexa.api.ShippingMethodType+json: - type: ShippingMethodTypeWrapper - example: !include examples/shipping/method-types/identifier/GET/ShippingMethodType.json.example - 401: - description: Error - the user has no permission to read shipping methods. - 404: - description: Error - the shipping method type does not exist. \ No newline at end of file diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-taxonomy.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-taxonomy.raml deleted file mode 100644 index 416c12a88a..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-taxonomy.raml +++ /dev/null @@ -1,200 +0,0 @@ -displayName: Taxonomy -/{taxonomyName}: - /entry: - /{id}: - get: - displayName: Get Entry by ID - description: Loads taxonomy Entry by its Entry ID. - headers: - Accept: - description: If set, the Taxonomy Entry is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.TaxonomyEntry+xml - application/vnd.ibexa.api.TaxonomyEntry+json - responses: - 200: - description: OK - returns the taxonomy Entry. - body: - application/vnd.ibexa.api.TaxonomyEntry+xml: - type: TaxonomyEntry - application/vnd.ibexa.api.TaxonomyEntry+json: - type: TaxonomyEntryWrapper - 401: - description: Error - the user is not authorized to read this Entry. - 404: - description: Error - the Entry does not exists. - /identifier/{identifier}: - get: - displayName: Get Entry by identifier - description: Loads taxonomy Entry by its Entry identifier. - headers: - Accept: - description: If set, the Taxonomy Entry is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.TaxonomyEntry+xml - application/vnd.ibexa.api.TaxonomyEntry+json - responses: - 200: - description: OK - returns the taxonomy Entry. - body: - application/vnd.ibexa.api.TaxonomyEntry+xml: - type: TaxonomyEntry - application/vnd.ibexa.api.TaxonomyEntry+json: - type: TaxonomyEntryWrapper - 401: - description: Error - the user is not authorized to read this Entry. - 404: - description: Error - the Entry does not exists. - /content-id/{contentId}: - get: - displayName: Get Entry by Content ID - description: Loads taxonomy Entry by its Content ID. - headers: - Accept: - description: If set, the Taxonomy Entry is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.TaxonomyEntry+xml - application/vnd.ibexa.api.TaxonomyEntry+json - responses: - 200: - description: OK - returns the taxonomy Entry. - body: - application/vnd.ibexa.api.TaxonomyEntry+xml: - type: TaxonomyEntry - application/vnd.ibexa.api.TaxonomyEntry+json: - type: TaxonomyEntryWrapper - 401: - description: Error - the user is not authorized to read this Entry. - 404: - description: Error - the Entry does not exists. - /entries: - delete: - displayName: Delete Entries - description: Bulk removes several taxonomy entries. - headers: - Content-Type: - description: Target Entries schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.TaxonomyEntryBulkRemove+xml - application/vnd.ibexa.api.TaxonomyEntryBulkRemove+json - body: - application/vnd.ibexa.api.TaxonomyEntryBulkRemove+xml: - type: TaxonomyEntryBulkRemove - application/vnd.ibexa.api.TaxonomyEntryBulkRemove+json: - type: TaxonomyEntryBulkRemoveWrapper - example: !include examples/taxonomy/entries/DELETE/TaxonomyEntryBulkRemove.json.example - responses: - 204: - description: No Content - The entries have been deleted. - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to delete some of the entries. - /move: - post: - displayName: Move Entries - description: Bulk move several taxonomy entries relative to sibling. - headers: - Content-Type: - description: The Entry moves schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.TaxonomyEntryBulkMove+xml - application/vnd.ibexa.api.TaxonomyEntryBulkMove+json - body: - application/vnd.ibexa.api.TaxonomyEntryBulkMove+xml: - type: TaxonomyEntryBulkMove - application/vnd.ibexa.api.TaxonomyEntryBulkMove+json: - type: TaxonomyEntryBulkMoveWrapper - example: !include examples/taxonomy/entries/move/POST/TaxonomyEntryBulkMove.json.example - responses: - 204: - description: No Content - The entries have been moved. - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to move some of the entries. - 404: - description: Error - Some to-be-moved or sibling entries do not exist. - /entry-assignment/{id}: - get: - displayName: Get Assignment by ID - description: Gets taxonomy entry Assignment by its ID. - headers: - Accept: - description: If set, the Assignment is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.TaxonomyEntryAssignment+xml - application/vnd.ibexa.api.TaxonomyEntryAssignment+json - responses: - 200: - description: OK - returns the taxonomy entry Assignment. - body: - application/vnd.ibexa.api.TaxonomyEntryAssignment+xml: - type: TaxonomyEntryAssignment - application/vnd.ibexa.api.TaxonomyEntryAssignment+json: - type: TaxonomyEntryAssignmentWrapper - 404: - description: Error - the assignment does not exist. - /entry-assignments: - /assign-to-content: - post: - displayName: Assign entry - description: Assigns taxonomy entry to a content item. - headers: - Content-Type: - example: | - application/vnd.ibexa.api.TaxonomyEntryAssignToContent+json - body: - application/vnd.ibexa.api.TaxonomyEntryAssignToContent+json: - type: TaxonomyEntryAssignToContentWrapper - example: !include examples/taxonomy/POST/TaxonomyEntryAssignToContent.json.example - responses: - 201: - description: No Content. - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to assign this Entry. - /unassign-from-content: - post: - displayName: Unassign entry - description: Unassigns taxonomy entry from a content item. - headers: - Content-Type: - example: | - application/vnd.ibexa.api.TaxonomyEntryUnassignFromContent+json - body: - application/vnd.ibexa.api.TaxonomyEntryUnassignFromContent+json: - type: TaxonomyEntryUnassignFromContentWrapper - example: !include examples/taxonomy/POST/TaxonomyEntryUnassignFromContent.json.example - responses: - 201: - description: No Content. - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to unassign this entry. - /content-id/{contentId}: - get: - displayName: Get Assignments to a Content - description: Gets taxonomy entries assigned to a content item by its ID. - headers: - Accept: - description: If set, the assignments are returned in XML or JSON format. - example: | - application/vnd.ibexa.api.EntryAssignmentCollection+xml - application/vnd.ibexa.api.EntryAssignmentCollection+json - responses: - 200: - description: OK - returns the assigment collection. - body: - application/vnd.ibexa.api.EntryAssignmentCollection+xml: - description: Contains metadata about the content itself and a list of taxonomy entry assignments to this content, in XML format. - type: EntryAssignmentCollection - example: !include examples/taxonomy/GET/EntryAssignmentCollection.xml.example - application/vnd.ibexa.api.EntryAssignmentCollection+json: - description: Contains metadata about the content itself and a list of taxonomy entry assignments to this content, in JSON format. - type: EntryAssignmentCollectionWrapper - example: !include examples/taxonomy/GET/EntryAssignmentCollection.json.example - 404: - description: Error - the Content does not exists. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-types.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-types.raml deleted file mode 100644 index 20ae546d32..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-types.raml +++ /dev/null @@ -1,6277 +0,0 @@ -UnixTimestamp: - type: integer - -TimezoneDate: - type: object - properties: - date: string - timezone_type: integer - timezone: string - -Fields: - type: object - properties: - field: - type: Field[] - -Href: - type: object - properties: - _href: - type: string - xml: - attribute: true - name: href - -Asset: - type: object - description: 'Asset value object' - properties: - uri: - type: string - description: Asset's URI address. - assetId: - type: string - description: Asset's identifier. - assetSource: - type: string - description: Asset provider's identifier. - assetMetadata: - type: assetMetadata - description: 'Asset metadata object. Depending on the provider, it can contain different parameters.' - -assetMetadata: - type: object - description: 'Asset metadata object. Depending on the provider, it can contain different parameters.' - properties: - alternativeText: - type: string - description: 'Alternative text for the image asset' - width: - type: integer - description: 'Image width' - height: - type: integer - description: 'Image height' - created_at: - type: datetime - description: Image asset's creation date - updated_at: - type: datetime - description: Image asset's modification date - author: - type: string - description: 'A name of the author of the image asset' - author_link_html: - type: string - description: 'A URL address of the author of the image asset' - -BaseObject: - type: object - properties: - _media-type: - type: string - xml: - attribute: true - name: media-type - _href: - type: string - required: false - xml: - attribute: true - name: href - -BookmarkListWrapper: - description: 'JSON object with only a BookmarkList property.' - type: object - properties: - BookmarkList: - type: BookmarkList - -BookmarkList: - description: 'List of bookmarked Locations.' - type: object - properties: - count: - description: 'The total number of bookmarks.' - type: integer - items: - description: 'List of bookmarked Locations.' - type: array - items: - type: object - properties: - Location: - type: Location - _media-type: - type: string - __href: - type: string - -ContentWrapper: - description: 'JSON object with only a Content property.' - type: object - properties: - Content: Content - -Content: - description: 'Content ID matcher class.' - type: BaseObject - properties: - _remoteId: - description: 'Remote ID of the content type.' - type: string - xml: - attribute: true - name: remoteId - _id: - description: 'Unique ID of the content type.' - type: integer - xml: - attribute: true - name: id - ContentType: - description: 'Content type.' - type: BaseObject - Name: - description: 'Name of the domain object in a given language.' - type: string - Versions: - description: 'Returns the VersionInfo for this version.' - type: BaseObject - CurrentVersion: - description: 'Current version.' - type: BaseObject - Section: - description: 'The Section to which the content item is assigned to.' - type: BaseObject - Locations: - description: 'Location of the content item.' - type: BaseObject - Owner: - description: 'The owner of the content item.' - type: BaseObject - lastModificationDate: - description: 'Content item modification date.' - type: datetime - required: false - publishedDate: - description: 'Content item publication date.' - type: datetime - required: false - mainLanguageCode: - description: 'The main language code of the content item.' - type: string - currentVersionNo: - description: 'Current version number is the version number of the published version or the version number of a newly created draft (which is 1).' - type: integer - alwaysAvailable: - description: "Indicates if the content item is shown in the main language if it's not present in an other requested language." - type: boolean - status: - description: 'Status of the content. Possible values: const STATUS_DRAFT = 0;const STATUS_PUBLISHED = 1; const STATUS_TRASHED = 2.' - enum: [ 'DRAFT', 'PUBLISHED', 'TRASHED' ] - ObjectStates: - description: 'Object states.' - type: BaseObject - -ContentCreateWrapper: - description: 'JSON object with only a ContentCreate property.' - type: object - properties: - ContentCreate: ContentCreate - -ContentCreate: - description: 'This class is used for creating a new content item.' - type: object - properties: - ContentType: - description: 'The content type for which the new content item is created.' - required: true - type: ContentCreateContentType | Href - Section: - description: 'The Section the content item is assigned to. If not set the Section of the parent is used or a default Section.' - type: Href - required: false - User: - description: 'The owner of the content. If not given the current authenticated User is set as owner.' - type: integer - required: false - alwaysAvailable: - description: "Indicates if the content item is shown in the main language if it's not present in an other requested language." - type: string - required: false - remoteId: - description: 'Remote identifier used as a custom identifier for the content item. Needs to be a unique Content->remoteId string value.' - type: string - required: false - mainLanguageCode: - description: 'The main language code for the content. This language will also be used for as initial language for the first created version. It is also used as default language for added fields.' - required: true - type: string - modificationDate: - description: 'Modification date. If not given, the current integer is used.' - type: datetime - required: false - LocationCreate: - type: object - required: true - fields: - type: object - required: true - properties: - field: object[] - -ContentImageVariation: - description: 'This class represents an image.' - type: BaseObject - properties: - uri: - description: 'This class represents a URI.' - type: string - contentType: - description: 'Type of an image.' - type: string - width: - description: 'Width of an image.' - type: integer - height: - description: 'Height of an image.' - type: integer - fileSize: - description: 'Size of an image file.' - type: integer - -ContentInfoWrapper: - description: 'JSON object with only a ContentInfo property.' - type: object - properties: - ContentInfo: ContentInfo - -ContentInfo: - description: 'This class provides all version independent information of the content item.' - type: BaseObject - properties: - Content: - description: 'Content ID matcher class.' - type: Content -# id: -# description: 'The unique ID of the content item.' -# type: integer -# contentTypeId: -# description: 'The content type ID of the content item.' -# type: integer -# name: -# description: 'The computed name (via name schema) in the main language of the content item.' -# type: string -# sectionId: -# description: 'The Section to which the content item is assigned.' -# type: integer -# currentVersionNo: -# description: 'Current Version number is the version number of the published version or the version number of a newly created draft (which is 1).' -# type: integer -# published: -# description: 'True if there exists a published version, false otherwise.' -# type: boolean -# ownerId: -# description: 'The owner of the content item.' -# type: integer -# modificationDate: -# description: 'Content modification date.' -# type: datetime -# publishedDate: -# description: 'Content publication date.' -# type: datetime -# alwaysAvailable: -# description: "Indicates if the content item is shown in the main language if it's not present in an other requested language." -# type: boolean -# remoteId: -# description: 'Remote identifier used as a custom identifier for the object.' -# type: string -# mainLanguageCode: -# description: 'The main language code of the content item.' -# type: string -# mainLocationId: -# description: 'Identifier of the main Location. If the content item has multiple Locations, mainLocationId will point to the main one.' -# type: integer -# status: -# description: 'Status of the content. Possible values: const STATUS_DRAFT = 0;const STATUS_PUBLISHED = 1; const STATUS_TRASHED = 2.' -# type: integer - -ContentMetadataUpdateStruct: - description: 'With this class data can be provided to update version independent Fields of the content item. It is used in content update methods. At least one property in this class must be set.' - type: object - properties: - ownerId: - description: 'If set this value changes the owner ID of the content item.' - type: integer - publishedDate: - description: 'If set this value overrides the publication date of the content. (Used in staging scenarios).' - type: datetime - modificationDate: - description: 'If set this value overrides the modification date. (Used for staging scenarios).' - type: datetime - mainLanguageCode: - description: 'If set the main language of the content item is changed.' - type: string - alwaysAvailable: - description: 'If set this value changes the always available flag.' - type: boolean - remoteId: - description: 'If set this value changes the remoteId. Needs to be a unique Content->remoteId string value.' - type: string - mainLocationId: - description: 'If set main Location is changed to this value. If the content item has multiple Locations, $mainLocationId will point to the main one.' - type: integer - name: - description: "If set, will change the content's 'always-available' name." - type: string - -ContentObjectStatesWrapper: - description: 'JSON object with only a ContentObjectStates property.' - type: object - properties: - ContentObjectStates: ContentObjectStates - -ContentObjectStates: - description: 'Represents a list of object states.' - type: object - properties: - ObjectState: - description: 'List of object state values.' - type: Href[] - -ContentStruct: - description: 'Base struct for content create/update structs.' - type: object - properties: - setField: - description: 'Adds a field to the field collection. This method could also be implemented by a magic setter so that $fields[$fieldDefIdentifier][$language] = $value or without language $fields[$fieldDefIdentifier] = $value is an equivalent call.' - type: string - -ContentCreateContentType: - type: object - properties: - _href: - type: string - xml: - attribute: true - name: href - FieldDefinitions: - type: BaseObject - properties: - FieldDefinitions: - type: FieldDefinition[] - required: false - -ContentTypeWrapper: - description: 'JSON object with only a ContentType property.' - type: object - properties: - ContentType: ContentType - -ContentType: - description: 'This class represents a content type.' - type: BaseObject - properties: - id: - description: 'Content type ID.' - type: integer - status: - description: 'The status of the content type. Possible values: const STATUS_DEFINED = 0; Status constant for defined (aka published) Type, const STATUS_DRAFT = 1; Status constant for draft (aka temporary) Type; const STATUS_MODIFIED = 2; Status constant for modified (aka deferred for publishing) Type.' - enum: [ "DEFINED", "DRAFT", "MODIFIED", "PUBLISHED" ] - identifier: - description: 'String identifier of a content type.' - type: string - names: - description: 'Name of a content type.' - type: ValueObject - descriptions: - description: 'Description of a content type.' - type: ValueObject - creationDate: - description: 'Creation date of the content type.' - type: datetime - modificationDate: - description: 'Modification date of the content type.' - type: datetime - Creator: - description: 'Creator User of the content type.' - type: BaseObject - Modifier: - description: 'Modifier User of the content type.' - type: BaseObject - Groups: - description: 'Group User of the content type.' - type: BaseObject - Draft: - description: 'Draft of the content type.' - type: BaseObject - remoteId: - description: 'Unique remote ID of the content type.' - type: string - urlAliasSchema: - description: 'URL alias schema. If nothing is provided, $nameSchema will be used instead.' - type: string | nil - nameSchema: - description: 'Name schema. Can be composed of FieldDefinition identifier place holders.' - type: string - isContainer: - description: 'A flag used to hint if content of this type may have children or not. It is highly recommended to respect this flag and not create/move content below non-containers. But this flag is not considered as part of the content model and the API will not in any way enforce this flag to be respected.' - type: boolean - defaultAlwaysAvailable: - description: 'If an instance of a content type is created the always available flag is set by default to this value.' - type: boolean - defaultSortField: - description: 'Specifies which property the child Locations should be sorted on by default when created. Map for Location sort fields to their respective SortClauses - class name/identifier and modified subnode. One of the fallowing values: const SORT_FIELD_PATH = 1; const SORT_FIELD_PUBLISHED = 2; const SORT_FIELD_MODIFIED = 3; const SORT_FIELD_SECTION = 4; const SORT_FIELD_DEPTH = 5; const SORT_FIELD_PRIORITY = 8; const SORT_FIELD_NAME = 9; const SORT_FIELD_NODE_ID = 11; const SORT_FIELD_CONTENTOBJECT_ID = 12.' - enum: [ "PATH", "PUBLISHED", "MODIFIED", "SECTION", "DEPTH", "PRIORITY", "NAME", "NODE_ID", "CONTENTOBJECT_ID" ] - defaultSortOrder: - description: 'Specifies whether the sort order should be ascending or descending by default when created. Map for Location sort order to their respective Query SORT constants. Possible values: const SORT_ORDER_DESC = 0; const SORT_ORDER_ASC = 1.' - enum: [ "ASC", "DESC" ] - FieldDefinitions: - description: 'This method returns the content type Field definitions from this type.' - type: FieldDefinitions - -ContentTypeCreateStruct: - description: 'This class is used for creating content types.' - type: object - properties: - identifier: - description: 'String unique identifier of a type.' - required: true - type: string - mainLanguageCode: - description: 'Main language Code.' - required: true - type: string - remoteId: - description: 'The remote ID.' - type: string - urlAliasSchema: - description: 'URL alias schema.' - type: string - nameSchema: - description: 'Name schema.' - type: string - isContainer: - description: 'Determines if the type is a container.' - type: boolean - defaultSortField: - description: 'Specifies which property the child Locations should be sorted on by default when created.' - type: string - defaultSortOrder: - description: 'Specifies whether the sort order should be ascending or descending by default when created.' - type: string - defaultAlwaysAvailable: - description: 'If an instance of a content type is created the always available flag is set by default this this value.' - type: boolean - names: - description: 'An array of names with languageCode keys. At least one name in the main language is required.' - type: ValueObject - required: false - descriptions: - description: 'An array of descriptions with languageCode keys.' - type: ValueObject - required: false - addFieldDefinition: - description: 'Adds a new Field definition.' - type: FieldDefinitionCreateStruct - required: false - creatorId: - description: 'If set this value overrides the current User as creator.' - type: integer - required: false - creationDate: - description: 'f set this value overrides the current time for creation.' - type: datetime - -ContentTypeGroupWrapper: - description: 'JSON object with only a ContentTypeGroup property.' - type: object - properties: - ContentTypeGroup: ContentTypeGroup - -ContentTypeGroup: - description: 'This class represents a content type group value.' - type: BaseObject - properties: - id: - description: 'Primary key.' - type: integer - identifier: - description: 'Readable string identifier of a group.' - type: string - created: - description: 'Created date (integer).' - type: datetime - modified: - description: 'Modified date (integer).' - type: datetime - Creator: - description: 'Creator User ID.' - type: BaseObject - Modifier: - description: 'Modifier User ID.' - type: BaseObject - ContentTypes: - description: 'Content types.' - type: BaseObject - -ContentTypeGroupInputWrapper: - description: 'JSON object with only a ContentTypeGroupInput property.' - type: object - properties: - ContentTypeGroupInput: ContentTypeGroupInput - -ContentTypeGroupInput: - type: object - -ContentTypeGroupCreateStruct: - description: 'This class is used for creating a content type group.' - type: object - properties: - creatorId: - description: 'If set this value overrides the current User as creator.' - type: integer - creationDate: - description: 'If set this value overrides the current time for creation.' - type: datetime - -ContentTypeGroupListWrapper: - description: 'JSON object with only a ContentTypeGroupList property.' - type: object - properties: - ContentTypeGroupList: ContentTypeGroupList - -ContentTypeGroupList: - description: 'List of content type groups.' - type: BaseObject - properties: - ContentTypeGroup: - type: ContentTypeGroup[] - -ContentTypeGroupRef: - description: 'Content type group reference.' - type: array - items: - type: BaseObject - properties: - unlink: - type: Unlink - required: false - -ContentTypeGroupRefListWrapper: - description: 'JSON object with only a ContentTypeGroupRefList property.' - type: object - properties: - ContentTypeGroupRefList: ContentTypeGroupRefList - -ContentTypeGroupRefList: - description: 'List of content type groups references.' - type: BaseObject - properties: - ContentTypeGroupRef: - type: ContentTypeGroupRef - -ContentTypeGroupStruct: - description: 'This class is used for updating a content type group.' - type: object - properties: - identifier: - description: 'Readable and unique string identifier of a group.' - type: string - -ContentTypeGroupUpdateStruct: - description: 'This class is used for updating a content type group.' - type: object - properties: - modifierId: - description: 'If set this value overrides the current User as modifier.' - type: integer - modificationDate: - description: 'If set this value overrides the current time for modified.' - type: datetime - -ContentTypeInfoWrapper: - description: 'JSON object with only a ContentTypeInfo property.' - type: object - properties: - ContentTypeInfo: ContentTypeInfo - -ContentTypeInfo: - description: 'This class stores content type information.' - type: BaseObject - properties: - id: - description: 'Content type ID.' - type: integer - status: - description: 'The status of the content type. Possible values: const STATUS_DEFINED = 0; Status constant for defined (aka published) Type, const STATUS_DRAFT = 1; Status constant for draft (aka temporary) Type; const STATUS_MODIFIED = 2; Status constant for modified (aka deferred for publishing) Type.' - enum: [ "DEFINED", "DRAFT", "MODIFIED", "PUBLISHED" ] - identifier: - description: 'String identifier of a content type.' - type: string - names: - description: 'Name of a content type.' - type: ValueObject - descriptions: - description: 'Description of a content type.' - type: ValueObject - creationDate: - description: 'Creation date of the content type.' - type: datetime - modificationDate: - description: 'Modification date of the content type.' - type: datetime - Creator: - description: 'Creator User of the content type.' - type: BaseObject - Modifier: - description: 'Modifier User of the content type.' - type: BaseObject - Groups: - description: 'Group User of the content type.' - type: BaseObject - Draft: - description: 'Draft of the content type.' - type: BaseObject - remoteId: - description: 'Unique remote ID of the content type.' - type: string - urlAliasSchema: - description: 'URL alias schema. If nothing is provided, $nameSchema will be used instead.' - type: string | nil - nameSchema: - description: 'Name schema. Can be composed of FieldDefinition identifier place holders.' - type: string - isContainer: - description: 'A flag used to hint if content of this type may have children or not. It is highly recommended to respect this flag and not create/move content below non-containers. But this flag is not considered as part of the content model and the API will not in any way enforce this flag to be respected.' - type: boolean - mainLanguageCode: - description: 'Main language code.' - type: string - defaultAlwaysAvailable: - description: 'If an instance of a content type is created the always available flag is set by default to this value.' - type: boolean - defaultSortField: - description: 'Specifies which property the child Locations should be sorted on by default when created. Map for Location sort fields to their respective SortClauses - class name/identifier and modified subnode. One of the fallowing values: const SORT_FIELD_PATH = 1; const SORT_FIELD_PUBLISHED = 2; const SORT_FIELD_MODIFIED = 3; const SORT_FIELD_SECTION = 4; const SORT_FIELD_DEPTH = 5; const SORT_FIELD_PRIORITY = 8; const SORT_FIELD_NAME = 9; const SORT_FIELD_NODE_ID = 11; const SORT_FIELD_CONTENTOBJECT_ID = 12.' - enum: [ "PATH", "PUBLISHED", "MODIFIED", "SECTION", "DEPTH", "PRIORITY", "NAME", "NODE_ID", "CONTENTOBJECT_ID" ] - defaultSortOrder: - description: 'Specifies whether the sort order should be ascending or descending by default when created. Map for Location sort order to their respective Query SORT constants. Possible values: const SORT_ORDER_DESC = 0; const SORT_ORDER_ASC = 1.' - enum: [ "ASC", "DESC" ] - -ContentTypeInfoListWrapper: - description: 'JSON object with only a ContentTypeInfoList property.' - type: object - properties: - ContentTypeList: ContentTypeInfoList - -ContentTypeInfoList: - description: 'List of content type information.' - type: BaseObject - properties: - ContentType: - description: 'This class stores content type information.' - type: ContentTypeInfo[] - -ContentTypeListWrapper: - description: 'JSON object with only a ContentTypeList property.' - type: object - properties: - ContentTypeList: ContentTypeList - -ContentTypeList: - description: 'List of content types.' - type: BaseObject - properties: - ContentType: - type: ContentType[] - -ContentTypeUpdateStruct: - description: 'This class is used for updating a content type.' - type: object - properties: - identifier: - description: 'If set the unique identifier of a type is changed to this value.' - type: string - required: false - remoteId: - description: 'If set the remote ID is changed to this value.' - type: string - required: false - urlAliasSchema: - description: 'If set the URL alias schema is changed to this value.' - type: string - required: false - nameSchema: - description: 'f set the name schema is changed to this value.' - type: string - required: false - isContainer: - description: 'If set the container flag is set to this value.' - type: boolean - required: false - mainLanguageCode: - description: 'If set the main language is changed to this value.' - type: string - required: false - defaultSortField: - description: 'If set the default sort field is changed to this value.' - enum: [ "PATH", "PUBLISHED", "MODIFIED", "SECTION", "DEPTH", "PRIORITY", "NAME", "NODE_ID", "CONTENTOBJECT_ID" ] - required: false - defaultSortOrder: - description: 'If set the default sort order is set to this value.' - enum: [ "ASC", "DESC" ] - required: false - defaultAlwaysAvailable: - description: 'If set the default always available flag is set to this value.' - type: boolean - required: false - modifierId: - description: 'If set this value overrides the current User as creator.' - type: integer - required: false - modificationDate: - description: 'If set this value overrides the current time for creation.' - type: datetime - required: false - names: - description: 'If set this array of names with languageCode keys replace the complete name collection.' - type: ValueObject - required: false - descriptions: - description: 'If set this array of descriptions with languageCode keys replace the complete description collection.' - type: ValueObject - required: false - -ContentUpdateStruct: - description: 'This class is used for updating the fields of a content item draft.' - type: object - properties: - initialLanguageCode: - description: 'The language code of the version. This code is used as the language code of the translation (which is shown in the admin interface). It is also used as default language for added fields.' - type: string - creatorId: - description: 'Creator User ID. Creator of the version, in the search API this is referred to as the modifier of the published content.' - type: integer - -Country: - description: 'This class is representing a country.' - type: BaseObject - properties: - _id: - description: 'ID that represents a country name.' - type: string - xml: - attribute: true - name: id - name: - description: 'Name of the country.' - type: string - Alpha2: - description: 'Two-letter code that represents a country name.' - type: string - Alpha3: - description: 'Three-letter code that represents a country name.' - type: string - IDC: - description: 'IDC' - type: integer - -CountryListWrapper: - description: 'JSON object with only a CountryList property.' - type: object - properties: - CountryList: CountryList - -CountryList: - description: 'This class is representing an ISO-3166 formatted list of world countries.' - type: BaseObject - properties: - Country: - type: Country[] - -CreateStruct: - description: 'This class is used for creating a notification.' - type: object - properties: - ownerId: - description: 'Owner ID.' - type: integer - type: - description: 'This class represents type.' - type: string - isPending: - description: 'If the notification is pending.' - type: boolean - data: - description: 'Notification data.' - type: array - items: any - -Criterion: - description: 'Criterion implementations.' - type: object - properties: - operator: - description: 'The operator used by the Criterion.' - type: string - required: false - value: - description: 'The value(s) matched by the Criteria.' - type: array - items: any - required: false - target: - description: 'The target used by the Criteria (field, metadata...).' - type: string - required: false - valueData: - description: 'Additional value data, required by some Criteria, MapLocationDistance for instance.' - type: Value - required: false - Specifications: - description: "Criterion description function. Returns the combination of the Criterion's supported operator/value, as an array of objects." - type: Specifications[] - required: false - -DateRange: - description: 'Representation of date range.' - type: BaseObject - properties: - startDate: string - endDate: string - -Event: - description: 'Calendar event.' - type: BaseObject - properties: - id: - description: 'The unique ID.' - type: string - datetime: - type: datetime - type: - description: 'Event type identifier or name.' - type: string - name: - description: 'Name of the calendar event.' - type: string - attributes: - description: 'List of event attributes.' - type: EventAttribute[] - -EventAttribute: - type: object - properties: - label: - description: 'Label of the attribute.' - type: string - value: - description: 'Value of the attribute.' - type: string - -EventGroup: - description: 'Event group.' - type: BaseObject - properties: - _currentPage: - description: 'Current page representation.' - type: string - xml: - attribute: true - name: currentPage - nextPage: - description: 'Next page representation.' - type: string - required: false - groupKey: - type: DateRange - required: false - totalCount: - description: 'Total count of events.' - type: integer - events: - type: Event[] - -EventGroupListWrapper: - description: 'JSON object with only a EventGroupList property.' - type: object - properties: - EventGroupList: EventGroupList - -EventGroupList: - description: 'Grouped calendar event list.' - type: BaseObject - properties: - groups: - type: EventGroup[] - -EventListWrapper: - description: 'JSON object with only a EventList property.' - type: object - properties: - EventList: EventList - -EventList: - description: 'List of calendar events.' - type: BaseObject - properties: - _currentPage: - description: 'Current page representation.' - type: string - xml: - attribute: true - name: currentPage - nextPage: - description: 'Next page representation.' - type: string - required: false - totalCount: - description: 'Total count of events.' - type: integer - events: - type: Event[] - -UnscheduleActionWrapper: - description: 'JSON object with only a UnscheduleAction property.' - type: object - properties: - UnscheduleAction: UnscheduleAction - -UnscheduleAction: - description: 'This class represents events to unschedule' - type: object - properties: - events: - description: list of events - type: string[] - -FacetBuilder: - description: 'This class is the base class for facet builders.' - type: object - properties: - name: - description: 'The name of the facet.' - type: string - global: - description: 'If true the facet runs in a global mode not restricted by the query.' - type: boolean - filter: - description: 'An additional facet filter that will further filter the documents the facet will be executed on.' - type: Criterion - limit: - description: 'Number of facets (terms) returned.' - type: integer - minCount: - description: 'Specifies the minimum count. Only facet groups with more or equal results are returned.' - type: integer - -Field: - description: 'This class represents a field of a content item.' - type: object - properties: - id: - description: 'The field ID.' - type: integer - required: false - fieldDefinitionIdentifier: - description: 'The Field definition identifier.' - type: string - languageCode: - description: 'The language code.' - type: string - required: false - fieldTypeIdentifier: - description: 'Field Type identifier.' - type: string - required: false - fieldValue: - description: 'A Field Type value or a value type which can be converted by the corresponding field type.' - type: any - -FieldDefinitionsWrapper: - description: 'JSON object with only a FieldDefinitions property.' - type: object - properties: - FieldDefinitions: FieldDefinitions - -FieldDefinitions: - type: object - properties: - FieldDefinition: FieldDefinition[] - -FieldDefinitionWrapper: - description: 'JSON object with only a FieldDefinition property.' - type: object - properties: - FieldDefinition: FieldDefinition - -FieldDefinition: - description: 'This class represents a Field definition.' - type: BaseObject - properties: - id: - description: 'The unique ID of this Field definition.' - type: integer - identifier: - description: 'Readable string identifier of a Field definition.' - type: string - fieldType: - description: 'String identifier of the field type.' - type: string - fieldGroup: - description: 'Field group name.' - type: string - position: - description: 'The position of the Field definition in the content type.' - type: integer - isTranslatable: - description: 'If the field is translatable.' - type: boolean - isRequired: - description: 'Is the field required.' - type: boolean - isInfoCollector: - description: 'The flag if this field is used for information collection.' - type: boolean - defaultValue: - description: 'Default value of the field.' - type: any - isSearchable: - description: 'Indicates if th the content is searchable by this attribute.' - type: boolean - names: - description: 'Names of content types.' - type: ValueObject - descriptions: - description: 'Descriptions of content types.' - type: ValueObject - fieldSettings: - description: 'Settings for the Field definition supported by the field type.' - type: any - validatorConfiguration: - description: 'Validator configuration of this Field definition supported by the field type.' - type: StringLengthValidatorWrapper | [] - -FieldDefinitionCreateWrapper: - description: 'JSON object with only a FieldDefinitionCreate property.' - type: object - properties: - FieldDefinitionCreate: FieldDefinitionCreate - -FieldDefinitionCreate: - type: BaseObject - -FieldDefinitionUpdateWrapper: - description: 'JSON object with only a FieldDefinitionUpdate property.' - type: object - properties: - FieldDefinitionUpdate: FieldDefinitionUpdate - -FieldDefinitionUpdate: - type: BaseObject - -FieldDefinitionCreateStruct: - description: 'This class is used to create a Field definition.' - type: object - properties: - fieldTypeIdentifier: - description: 'String identifier of the field type.' - required: true - type: string - identifier: - description: 'Readable string identifier of a Field definition. Needs to be unique within the context of the content type this is added to.' - required: true - type: string - names: - description: 'An array of names with languageCode keys.' - type: Value[] - descriptions: - description: 'An array of descriptions with languageCode keys.' - type: Value[] - fieldGroup: - description: 'Field group name.' - type: string - position: - description: 'The position of the Field definition in the content type if not set the field is added at the end.' - type: integer - isTranslatable: - description: 'Indicates if the field is translatable.' - type: boolean - isRequired: - description: 'Indicates if the field is required.' - type: boolean - isInfoCollector: - description: 'Indicates if this attribute is used for information collection.' - type: boolean - validatorConfiguration: - description: 'The validator configuration supported by the field type.' - type: any - fieldSettings: - description: 'The settings supported by the field type.' - type: any - defaultValue: - description: 'Default value of the field.' - type: any - isSearchable: - description: 'Indicates if th the content is searchable by this attribute.' - type: boolean - -FieldDefinitionUpdateStruct: - description: 'This class is used to update a Field definition.' - type: object - properties: - identifier: - description: 'If set the identifier of a Field definition is changed to this value. Needs to be unique within the context of the content type this is added to.' - type: string - names: - description: 'If set this array of names with languageCode keys replace the complete name collection.' - type: Value[] - descriptions: - description: 'If set this array of descriptions with languageCode keys replace the complete description collection.' - type: Value[] - fieldGroup: - description: 'If set the field group is changed to this name.' - type: string - position: - description: 'If set the position of the field in the content type.' - type: integer - isTranslatable: - description: 'If set translatable flag is set to this value.' - type: boolean - isRequired: - description: 'If set the required flag is set to this value.' - type: boolean - isInfoCollector: - description: 'If set the information collector flag is set to this value.' - type: boolean - validatorConfiguration: - description: 'If set this validator configuration supported by the Field Type replaces the existing one.' - type: any - fieldSettings: - description: 'If set this settings supported by the Field Type replaces the existing ones.' - type: any - defaultValue: - description: 'If set the default value for this field is changed to the given value.' - type: any - isSearchable: - description: 'If set the the searchable flag is set to this value.' - type: boolean - -JWTWrapper: - description: 'JSON object with only a JWT property.' - type: object - properties: - JWT: JWT - -JWT: - description: 'This class represents the JWT authentication token' - type: object - properties: - token: - description: 'JWT authentication token' - type: string - -JWTInputWrapper: - description: 'JSON object with only a JWTInput property.' - type: object - properties: - JWTInput: JWTInput - -JWTInput: - description: 'This class represents the input for a JWT authentication token' - type: object - properties: - username: - description: 'User name' - type: string - password: - description: 'User password' - type: string - -LanguageWrapper: - description: 'JSON object with only a Language property.' - type: object - properties: - Language: Language - -Language: - description: 'This class represents a language in the Repository.' - type: BaseObject - properties: - languageId: - description: 'The language ID (auto generated).' - type: integer - languageCode: - description: 'The languageCode code.' - type: string - name: - description: 'Human readable name of the language.' - type: string - -LanguageCode: - description: 'Language code.' - type: object - properties: - languageCode: - type: string - -LanguageListWrapper: - description: 'JSON object with only a LanguageList property.' - type: object - properties: - LanguageList: LanguageList - -LanguageList: - description: 'List of languages.' - type: BaseObject - properties: - Language: - type: Language[] - -LanguageCreateStruct: - description: 'This class represents a value for creating a language.' - type: object - properties: - languageCode: - description: 'The languageCode code. Needs to be a unique.' - type: string - name: - description: 'Human readable name of the language.' - type: string - enabled: - description: 'Indicates if the language is enabled or not.' - type: boolean - -Limitation: - description: 'This class represents a Limitation applied to a policy.' - type: object - properties: - _identifier: - description: 'Returns the limitation identifier (one of the defined constants) or a custom limitation. Constants: CONTENTTYPE = Class; LANGUAGE = Language; LOCATION = Node; OWNER = Owner; PARENTOWNER = ParentOwner; PARENTCONTENTTYPE = ParentClass; PARENTDEPTH = ParentDepth; SECTION = Section; NEWSECTION = NewSection; SITEACCESS = SiteAccess; STATE = State; NEWSTATE = NewState; SUBTREE = Subtree; USERGROUP = Group; PARENTUSERGROUP = ParentGroup; STATUS = Status.' - enum: [ 'ContentType', 'Language', 'Location', 'Owner', 'Parentowner', 'ParentContentType', 'ParentDepth', 'Section', 'NewSection','SiteAccess', 'State', 'NewState', 'Subtree', 'UserGroup', 'ParentUserGroup', 'Status', 'Class' ] - xml: - attribute: true - name: identifier - values: - description: 'A read-only list of IDs or identifiers for which the limitation should be applied. The value of this property must conform to a hash, which means that it may only consist of array and scalar values, but must not contain objects or resources.' - type: object - properties: - ref: - type: Href[] - -LocationWrapper: - description: 'JSON object with only a Location property.' - type: object - properties: - Location: Location - -Location: - description: 'This class represents a Location in the Repository.' - type: BaseObject - properties: - id: - description: 'The ID of the Location.' - type: integer - priority: - description: 'Location priority. Position of the Location among its siblings when sorted using priority sort order.' - type: integer - hidden: - description: 'Indicates that the Location entity has been explicitly marked as hidden.' - type: boolean - invisible: - description: 'Indicates that the Location is implicitly marked as hidden by a parent Location.' - type: boolean - # explicitlyHidden: - # description: 'Indicates that the Location entity has been explicitly marked as hidden.' - # type: boolean - remoteId: - description: 'Remote ID, universally unique identifier.' - type: string - ContentInfo: - description: 'This class provides all version independent information of the content item.' - type: ContentInfo - ParentLocation: - description: 'Parent Location.' - type: Ref - Children: - description: 'Children Location.' - type: Ref - required: false - pathString: - description: 'The materialized path of the Location entry e.g. /1/2/.' - type: string - depth: - description: 'Depth Location has in the Location tree.' - type: integer - childCount: - description: 'Depth Location has in the Location tree.' - type: integer - sortField: - description: 'Specifies which property the child Locations should be sorted on. Map for Location sort fields to their respective SortClauses - class name/identifier and modified subnode. One of the fallowing values: PATH.' - enum: [ 'PATH', 'PUBLISHED', 'MODIFIED', 'SECTION', 'DEPTH', 'CLASS_IDENTIFIER', 'CLASS_NAME', 'PRIORITY', 'NAME', 'MODIFIED_SUBNODE', 'NODE_ID', 'CONTENTOBJECT_ID' ] - sortOrder: - description: 'Specifies whether the sort order should be ascending or descending. Map for Location sort order to their respective Query SORT constants. One of the fallowing values: const SORT_ORDER_DESC = 0; const SORT_ORDER_ASC = 1.' - enum: [ 'ASC', 'DESC' ] - Content: - description: 'Represents a content item in a specific version.' - type: Ref - UrlAliases: - description: 'This class represents URL aliases.' - type: Ref - required: false - -LocationCreateWrapper: - description: 'JSON object with only a LocationCreate property.' - type: object - properties: - LocationCreate: LocationCreate - -LocationCreate: - type: object - properties: - ParentLocation: - type: object - properties: - _href: - type: string - xml: - attribute: true - name: href - priority: - type: string - hidden: - type: string | boolean - sortField: - type: string - sortOrder: - type: string - -LocationCreateStruct: - description: 'This class is used to create a new Location for a content item.' - type: object - properties: - priority: - description: 'Location priority. Position of the Location among its siblings when sorted using priority sort order.' - type: integer - hidden: - description: 'Indicates that the Location entity has been explicitly marked as hidden.' - type: boolean - remoteId: - description: 'An universally unique string identifier. Needs to be a unique Location->remoteId string value.' - type: integer - sortField: - description: 'Specifies which property the child locations should be sorted on. Valid values are found at {@link Location::SORT_FIELD_*}.' - type: integer - sortOrder: - description: 'Specifies whether the sort order should be ascending or descending. Valid values are {@link Location::SORT_ORDER_*}.' - type: integer - parentLocationId: - description: 'The ID of the parent Location under which the new Location should be created.' - required: true - type: integer - -LocationListWrapper: - description: 'JSON object with only a LocationList property.' - type: object - properties: - LocationList: LocationList - -LocationList: - description: 'This class represents a queried Location list holding a totalCount and a partial list of Locations (by offset/limit parameters and permission filters).' - type: BaseObject - properties: - Location: - description: 'The partial list of Locations controlled by offset/limit.' - type: Ref[] - -LocationQuery: - description: 'This class is used to perform a Location query.' - type: object - -LocationUpdateWrapper: - description: 'JSON object with only a LocationUpdate property.' - type: object - properties: - LocationUpdate: LocationUpdate - -LocationUpdate: - description: 'This class is used for updating Location meta data.' - type: object - properties: - priority: - description: 'If set the Location priority is changed to the new value.' - type: string - remoteId: - description: 'If set the Location gets a new remoteId. Needs to be a unique Location->remoteId string value.' - type: string - hidden: - type: boolean - sortField: - description: 'If set the sortField is changed. The sort field specifies which property the child Locations should be sorted on. Valid values are found at {@link Location::SORT_FIELD_*}.' - enum: [ 'PATH', 'PUBLISHED', 'MODIFIED', 'SECTION', 'DEPTH', 'CLASS_IDENTIFIER', 'CLASS_NAME', 'PRIORITY', 'NAME', 'MODIFIED_SUBNODE', 'NODE_ID', 'CONTENTOBJECT_ID' ] - sortOrder: - description: 'If set the sortOrder is changed. The sort order specifies whether the sort order should be ascending or descending. Valid values are {@link Location::SORT_ORDER_*}.' - enum: [ 'ASC', 'DESC' ] - -Message: - description: 'Class for translatable messages, which only occur in singular form. The message might include replacements, in the form %[A-Za-z]%. Those are replaced by the values provided. A raw % can be escaped like %%.' - type: object - properties: - message: - description: 'Message string. Might use replacements like %foo%, which are replaced by the values specified in the values array.' - type: string - values: - description: 'Translation value objects. May not contain any numbers, which might result in requiring plural forms. Use Plural for that.' - type: array - items: any - -Notification: - description: 'This class represents a notification value.' - type: object - properties: - id: - description: 'This class represents ID.' - type: integer - ownerId: - description: 'Owner ID.' - type: integer - isPending: - description: 'If the notification is pending.' - type: boolean - type: - description: 'This class represents type.' - type: string - created: - description: 'Creation date.' - type: datetime - data: - description: 'This class represents data.' - type: array - items: any - -NotificationList: - description: 'This class represents a notifications list.' - type: object - properties: - totalCount: - description: 'Number of notifications.' - type: integer - items: - description: 'List of notifications.' - type: Notification[] - -ObjectStateWrapper: - description: 'JSON object with only a ObjectState property.' - type: object - properties: - ObjectState: ObjectState - -ObjectState: - description: 'This class represents a Object state value.' - type: BaseObject - properties: - id: - description: 'Primary key.' - type: integer - identifier: - description: 'Readable string identifier of the Object state.' - type: string - priority: - description: 'Priority for ordering.' - type: integer - ObjectStateGroup: - description: 'The Object state group this Object state belongs to.' - type: BaseObject - languageCodes: - description: 'The available language codes for names an descriptions.' - type: string - names: - description: 'Names.' - type: ValueObject - descriptions: - description: 'Descriptions.' - type: ValueObject - -ObjectStateCreateWrapper: - description: 'JSON object with only a ObjectStateCreate property.' - type: object - properties: - ObjectStateCreate: ObjectStateCreate - -ObjectStateCreate: - description: 'This class represents a value for creating Object states.' - type: object - properties: - identifier: - description: 'Readable unique string identifier of a group.' - required: true - type: string - priority: - description: 'Priority for ordering. If not set the Object state is created as the last one.' - type: string - defaultLanguageCode: - description: 'The default language code.' - required: true - type: string - languageCodes: - description: 'Language codes.' - type: string - names: - description: 'An array of names with languageCode keys. At least one name in the main language is required.' - required: true - type: object - properties: - value: Value[] - descriptions: - description: 'An array of descriptions with languageCode keys.' - type: object - properties: - value: Value[] - -ObjectStateGroupWrapper: - description: 'JSON object with only a ObjectStateGroup property.' - type: object - properties: - ObjectStateGroup: ObjectStateGroup - -ObjectStateGroup: - description: 'This class represents an Object state group value.' - type: BaseObject - properties: - id: - description: 'Primary key.' - type: integer - identifier: - description: 'Readable string identifier of a group.' - type: string - defaultLanguageCode: - description: 'The default language code.' - type: string - languageCodes: - description: 'The available language codes for names an descriptions.' - type: string - ObjectStates: - description: 'Object States.' - type: BaseObject - names: - description: 'List of names.' - type: ValueObject - descriptions: - description: 'List of descriptions.' - type: ValueObject - -ObjectStateGroupCreateWrapper: - description: 'JSON object with only a ObjectStateGroupCreate property.' - type: object - properties: - ObjectStateGroupCreate: ObjectStateGroupCreate - -ObjectStateGroupCreate: - description: 'This class represents a value for creating Object state groups.' - type: object - properties: - identifier: - description: 'Readable unique string identifier of a group.' - required: true - type: string - defaultLanguageCode: - description: 'The default language code.' - required: true - type: string - names: - description: 'An array of names with languageCode keys. At least one name in the main language is required.' - required: true - type: ValueObject - descriptions: - description: 'An array of descriptions with languageCode keys.' - type: ValueObject - -ObjectStateGroupListWrapper: - description: 'JSON object with only a ObjectStateGroupList property.' - type: object - properties: - ObjectStateGroupList: ObjectStateGroupList - -ObjectStateGroupList: - description: 'List of Object state groups.' - type: BaseObject - properties: - ObjectStateGroup: - description: 'This class represents an Object state group value.' - type: ObjectStateGroup[] - -ObjectStateGroupUpdateWrapper: - description: 'JSON object with only a ObjectStateGroupUpdate property.' - type: object - properties: - ObjectStateGroupUpdate: ObjectStateGroupUpdate - -ObjectStateGroupUpdate: - description: 'This class represents a value for updating Object state groups.' - type: object - properties: - identifier: - description: 'Readable unique string identifier of a group.' - type: string - required: false - defaultLanguageCode: - description: 'The default language code.' - type: string - required: false - names: - description: 'An array of names with languageCode keys.' - type: ValueObject - required: false - descriptions: - description: 'An array of descriptions with languageCode keys.' - type: ValueObject - required: false - -ObjectStateListWrapper: - description: 'JSON object with only a ObjectStateList property.' - type: object - properties: - ObjectStateList: ObjectStateList - -ObjectStateList: - description: 'List of Object states.' - type: BaseObject - properties: - ObjectState: - type: ObjectState[] - -ObjectStateUpdateWrapper: - description: 'JSON object with only a ObjectStateUpdate property.' - type: object - properties: - ObjectStateUpdate: ObjectStateUpdate - -ObjectStateUpdate: - description: 'This class represents a value for updating Object states.' - type: object - properties: - identifier: - description: 'Readable unique string identifier of a group.' - type: string - required: false - defaultLanguageCode: - description: 'The default language code.' - type: string - required: false - names: - description: 'An array of names with languageCode keys.' - type: ValueObject - required: false - descriptions: - description: 'An array of descriptions with languageCode keys.' - type: ValueObject - required: false - -PasswordValidationContext: - description: 'Context of the password validation.' - type: object - properties: - contentType: - description: 'Content type of the password owner.' - type: ContentType - user: - description: 'Owner of the password.' - type: User - -Plural: - description: 'Class for translatable messages, which may contain plural forms. The message might include replacements, in the form %[A-Za-z]%. Those are replaced by the values provided. A raw % can be escaped like %%.' - type: object - properties: - singular: - description: 'Singular string. Might use replacements like %foo%, which are replaced by the values specified in the values array.' - type: string - plural: - description: 'Message string. Might use replacements like %foo%, which are replaced by the values specified in the values array.' - type: string - values: - description: 'Translation value objects. May not contain any numbers, which might result in requiring plural forms. Use MessagePlural for that.' - type: array - items: any - -PolicyWrapper: - description: 'JSON object with only a Policy property.' - type: object - properties: - Policy: Policy - -Policy: - description: 'This class represents a policy value.' - type: BaseObject - properties: - id: - description: 'ID of the policy.' - type: integer - module: - description: 'Name of module, associated with the Policy e.g. content.' - type: string - function: - description: "Name of the module function Or all functions with '*' e.g. read." - type: string - limitations: - description: 'Limitations.' - type: object - required: false - properties: - limitation: - type: Limitation[] - -PolicyCreateStruct: - description: 'This class is used to create a policy.' - type: object - properties: - module: - description: 'Name of module, associated with the Policy e.g. content.' - type: string - function: - description: 'Name of the module function Or all functions with "*" e.g. read.' - type: string - -PolicyDraft: - description: 'Original policy ID the policy was created from.' - type: object - properties: - originalId: - description: 'Original policy ID the policy was created from. Used when role status is Role::STATUS_DRAFT.' - type: integer - -PolicyListWrapper: - description: 'JSON object with only a PolicyList property.' - type: object - properties: - PolicyList: PolicyList - -PolicyList: - description: 'List of policies.' - type: BaseObject - properties: - Policy: - type: Policy[] - -PolicyStruct: - description: 'This class is used to edit a policy.' - type: object - properties: - Limitations: - description: 'Returns list of limitations added to policy.' - type: Limitation[] - Limitation: - description: 'Adds a limitation with the given identifier and list of values.' - type: Limitation - -PolicyUpdateStruct: - description: 'This class is used for updating a policy. The limitations of the policy are replaced with those which are added in instances of this class.' - type: object - -Query: - description: 'This class is used to perform a Content query.' - type: object - properties: - Filter: - description: 'The Query filter. Can contain multiple criterion, as items of a logical one (by default AND).' - type: Criterion - required: false - Query: - description: 'The Query query. Can contain multiple criterion, as items of a logical one (by default AND).' - type: Criterion - required: false - sortClauses: - description: 'Query sorting clauses.' - type: SortClause[] - required: false - facetBuilders: - description: "An array of facet builders. Search engines may ignore any, or given facet builders they don't support and will just return search result facets supported by the engine. API consumer should dynamically iterate over returned facets for further use." - type: FacetBuilder[] - required: false - offset: - description: 'Query offset. Sets the offset for search hits, used for paging the results.' - type: integer - required: false - limit: - description: 'Query limit. Limit for number of search hits to return. If value is `0`, search query will not return any search hits, useful for doing a count.' - type: integer - required: false - spellcheck: - description: 'If true spellcheck suggestions are returned.' - type: boolean - required: false - performCount: - description: 'If true, search engine should perform count even if that means extra lookup.' - type: boolean - required: false - -Ref: - type: BaseObject - -RelationWrapper: - description: 'JSON object with only a Relation property.' - type: object - properties: - Relation: Relation - -Relation: - description: 'Class representing a relation between content.' - type: BaseObject - properties: - SourceContent: - description: 'The content of the source content of the relation.' - type: Ref - DestinationContent: - description: 'The content of the destination content of the relation.' - type: Ref - RelationType: - description: 'The relation type bitmask. Relations: Relation::COMMON = 1, Relation::EMBED = 2, Relation::LINK = 4, Relation::FIELD = 8, Relation::ASSET = 16' - type: string - -RelationCreateWrapper: - description: 'JSON object with only a RelationCreate property.' - type: object - properties: - RelationCreate: RelationCreate - -RelationCreate: - type: object - properties: - Destination: - type: Href - -RelationListWrapper: - description: 'JSON object with only a Relations property.' - type: object - properties: - Relations: RelationList - -RelationList: - description: 'Class representing a list of relations between content.' - type: BaseObject - properties: - Relation: - type: Relation[] - -RoleWrapper: - description: 'JSON object with only a Role property.' - type: object - properties: - Role: Role - -Role: - description: 'This class represents a role.' - type: object - properties: - identifier: - description: 'Readable string identifier of a role.' - type: string - Policies: - description: 'Returns the list of policies of this role.' - type: BaseObject - -RoleAssignmentWrapper: - description: 'JSON object with only a RoleAssignment property.' - type: object - properties: - RoleAssignment: RoleAssignment - -RoleAssignment: - description: 'This value object represents an assignment of a User or User group to a role including a limitation.' - type: BaseObject - properties: - limitation: - description: 'Returns the limitation of the role assignment.' - type: RoleLimitation - required: false - Role: - description: 'Returns the role to which the User or User group is assigned to.' - type: Ref - -RoleAssignmentListWrapper: - description: 'JSON object with only a RoleAssignmentList property.' - type: object - properties: - RoleAssignmentList: RoleAssignmentList - -RoleAssignmentList: - description: 'This value object represents a list of assignments of a User or User group to a role including a limitation.' - type: BaseObject - properties: - RoleAssignment: - type: RoleAssignment[] - -RoleCreateStruct: - description: 'This class is used to create a new role.' - type: object - properties: - identifier: - description: 'Readable string identifier of a role.' - type: string - Policies: - description: 'Returns policies associated with the role.' - type: PolicyCreateStruct[] - Policy: - description: 'Adds a policy to this role.' - type: PolicyCreateStruct - -RoleDraftWrapper: - description: 'JSON object with only a Role property.' - type: object - properties: - Role: RoleDraft - -RoleDraft: - description: 'This class represents a draft of a role, extends Role.' - type: Role - -RoleLimitation: - description: 'Role limitation extends Limitation.' - type: Limitation - -RoleUpdateStruct: - description: 'This class is used to update a role.' - type: object - properties: - identifier: - description: 'Readable string identifier of a role.' - type: string - -RoleListWrapper: - description: 'JSON object with only a RoleList property.' - type: object - properties: - RoleList: RoleList - -RoleList: - description: 'This class represents a list roles.' - type: BaseObject - properties: - Role: - type: Role[] - -RootWrapper: - description: 'JSON object with only a Root property.' - type: object - properties: - Root: Root - -Root: - description: 'This class represents a root.' - type: BaseObject - properties: - content: - description: 'Content.' - type: BaseObject - contentByRemoteId: - description: 'Content by the given remote ID.' - type: BaseObject - contentTypes: - description: 'Content types.' - type: BaseObject - contentTypeByIdentifier: - description: 'Content type by the given identifier.' - type: BaseObject - contentTypeGroups: - description: 'Content type Groups.' - type: BaseObject - contentTypeGroupByIdentifier: - description: 'Content type Groups by the given identifier.' - type: BaseObject - users: - description: 'Users.' - type: BaseObject - usersByRoleId: - description: 'Users by Role ID.' - type: BaseObject - required: false - usersByRemoteId: - description: 'Users by remote ID.' - type: BaseObject - required: false - usersByEmail: - description: 'Users by e-mail.' - type: BaseObject - required: false - usersByLogin: - description: 'Users by login.' - type: BaseObject - required: false - roles: - description: 'Roles.' - type: BaseObject - rootLocation: - description: 'Root Location.' - type: BaseObject - rootUserGroup: - description: 'Root User Group.' - type: BaseObject - rootMediaFolder: - description: 'Root media folder.' - type: BaseObject - locationByRemoteId: - description: 'Location by remote ID.' - type: BaseObject - locationByPath: - description: 'Location by path.' - type: BaseObject - trash: - description: 'Trash.' - type: BaseObject - sections: - description: 'Sections.' - type: BaseObject - views: - description: 'Views.' - type: BaseObject - objectStateGroups: - description: 'Object state groups.' - type: BaseObject - objectStates: - description: 'Object states.' - type: BaseObject - globalUrlAliases: - description: 'Global URL aliases.' - type: BaseObject - urlWildcards: - description: 'URL Wildcards.' - type: BaseObject - createSession: - description: 'Creates a new session based on the credentials provided as POST parameters.' - type: BaseObject - refreshSession: - description: 'Refresh given session.' - type: BaseObject - -SearchResult: - description: 'The total number of URLs.' - type: object - properties: - totalCount: - description: 'The total number of URLs.' - type: integer - items: - description: 'The value objects found for the query.' - type: URL[] - -SectionWrapper: - description: 'JSON object with only a Section property.' - type: object - properties: - Section: Section - -Section: - description: 'This class represents a Section.' - type: BaseObject - properties: - sectionId: - description: 'ID of the Section.' - type: integer - identifier: - description: 'Unique identifier of the Section.' - type: string - name: - description: 'Name of the Section.' - type: string - -SectionInputWrapper: - description: 'JSON object with only a SectionInput property.' - type: object - properties: - SectionInput: SectionInput - -SectionInput: - type: object - properties: - identifier: - type: string - name: - type: string - -SectionCreateStruct: - description: 'This class represents a Section.' - type: object - -SectionLimitation: - type: RoleLimitation - -SectionListWrapper: - description: 'JSON object with only a SectionList property.' - type: object - properties: - SectionList: SectionList - -SectionList: - description: 'This class represents a Section list.' - type: BaseObject - properties: - Section: - type: Section[] - -SectionStruct: - description: 'This class is used for updating Section meta data.' - type: object - properties: - identifier: - description: 'If set the Unique identifier of the Section is changes. Needs to be a unique Section->identifier string value.' - type: string - name: - description: 'If set the name of the Section is changed.' - type: string - -SectionUpdateStruct: - description: 'This class is used to provide data for updating a Section. At least one property has to be set.' - type: object - -SessionWrapper: - description: 'JSON object with only a Session property.' - type: object - properties: - Session: Session - -Session: - description: 'Value for session.' - type: object - properties: - name: - description: 'Name.' - type: string - identifier: - description: 'Identifier.' - type: string - csrfToken: - description: 'csrfToken.' - type: string - User: - description: 'User.' - type: BaseObject - -SegmentGroupCreate: - description: 'This class represents a new segment group to create.' - type: object - properties: - identifier: - description: 'A unique string identifier for the segment group.' - type: string - required: true - name: - description: 'A name for the segment group.' - type: string - required: true - -SegmentGroupCreateWrapper: - description: 'JSON object with only a SegmentGroupCreate property.' - type: object - properties: - SegmentGroupCreate: SegmentGroupCreate - -SegmentGroupUpdate: - description: 'This class represents an update to an existing segment group.' - type: object - properties: - identifier: - description: 'A unique string identifier for the segment group.' - type: string - required: true - name: - description: 'A new name for the segment group.' - type: string - required: true - -SegmentGroupUpdateWrapper: - description: 'JSON object with only a SegmentGroupUpdate property.' - type: object - properties: - SegmentGroupUpdate: SegmentGroupUpdate - -SegmentGroupListWrapper: - description: 'JSON object with only a SegmentGroupList property.' - type: object - properties: - SegmentGroupList: SegmentGroupList - -SegmentGroupList: - description: 'This class lists segment groups.' - type: BaseObject - properties: - SegmentGroup: SegmentGroup[] - -SegmentGroupWrapper: - description: 'JSON object with only a SegmentGroup property.' - type: object - properties: - SegmentGroup: SegmentGroup - -SegmentGroup: - description: 'This class represents a segment group.' - type: BaseObject - properties: - id: - description: 'A unique numeric identifier of the segment group.' - type: integer - identifier: - description: 'A unique string identifier of the segment group.' - type: string - name: - description: 'A name of the segment group.' - type: string - -SegmentListWrapper: - description: 'JSON object with only a SegmentList property.' - type: object - properties: - SegmentList: SegmentList - -SegmentList: - description: 'This class lists segments.' - type: BaseObject - properties: - Segment: Segment[] - -SegmentWrapper: - description: 'JSON object with only a Segment property.' - type: object - properties: - Segment: Segment - -Segment: - description: 'This class represents a segment.' - type: BaseObject - properties: - id: - description: 'A unique numeric identifier of the segment.' - type: integer - identifier: - description: 'A unique string identifier of the segment.' - type: string - name: - description: 'A name of the segment.' - type: string - SegmentGroup: - description: 'A reference to the segment group to which this segment belongs.' - type: object - properties: - _media-type: - description: 'Media type of the segment group resource.' - type: string - _href: - description: 'A URL reference to the segment group resource.' - type: string - -SegmentCreate: - description: 'This class represents a new segment to create.' - type: object - properties: - identifier: - description: 'A unique string identifier for the segment.' - type: string - required: true - name: - description: 'A name for the segment.' - type: string - required: true - group: - description: 'A string identifier of a segment group to which the segment belongs.' - type: string - required: true - -SegmentCreateWrapper: - description: 'JSON object with only a SegmentCreate property.' - type: object - properties: - SegmentCreate: SegmentCreate - -SegmentUpdate: - description: 'This class represents an update to an existing segment.' - type: object - properties: - identifier: - description: 'A unique string identifier for the segment.' - type: string - required: true - name: - description: 'A new name for the segment.' - type: string - required: true - group: - description: 'A string identifier of a segment group to which the segment belongs.' - type: string - required: true - -SegmentUpdateWrapper: - description: 'JSON object with only a SegmentUpdate property.' - type: object - properties: - SegmentCreate: SegmentUpdate - -SortClause: - description: 'This class is the base for SortClause classes, used to set sorting of content queries.' - type: object - properties: - direction: - description: 'Sort direction. One of Query::SORT_ASC or Query::SORT_DESC.' - type: string - target: - description: 'Sort target, high level: section_identifier, attribute_value, etc.' - type: string - targetData: - description: 'Extra target data, required by some sort clauses, field for instance.' - type: Target - -Specifications: - description: 'This class is used by Criteria to describe which operators they support. Instances of this class are returned in an array by the {@see Criterion::getSpecifications()} method.' - type: object - properties: - operator: - description: 'Specified operator, as one of the Operator::* constants.' - type: string - valueFormat: - description: 'Format supported for the Criterion value, either {@see self::FORMAT_SINGLE} for single or {@see self::FORMAT_ARRAY} for multiple.' - type: string - valueTypes: - description: 'Accepted values types, specifying what type of variables are accepted as a value. Criterion input value type description constants: const TYPE_INTEGER = 1; const TYPE_STRING = 2; const TYPE_BOOLEAN = 4.' - type: integer - valueCount: - description: 'Limitation on the number of items as the value. Only usable if {@see $valueFormat} is {@see self::FORMAT_ARRAY}.' - type: integer - -StringLengthValidatorWrapper: - description: 'JSON object with only a StringLengthValidator property.' - type: object - properties: - StringLengthValidator: StringLengthValidator - -StringLengthValidator: - description: 'Validator for checking min. and max. length of strings.' - type: object - properties: - maxStringLength: - description: 'Maximum length of strings.' - type: integer | nil - minStringLength: - description: 'Minimum length of strings.' - type: integer | nil - -SubtreeLimitation: - type: RoleLimitation - -Target: - description: 'Struct that stores extra target information for a SortClause object.' - type: object - -Translation: - description: 'Base class for translation messages extends ValueObject.' - type: object - -TrashWrapper: - description: 'JSON object with only a Trash property.' - type: object - properties: - Trash: Trash - -Trash: - type: BaseObject - properties: - TrashItem: - type: TrashItem[] - -TrashItemWrapper: - description: 'JSON object with only a TrashItem property.' - type: object - properties: - TrashItem: TrashItem - -TrashItem: - description: 'This class represents a trash item, which is actually a trashed Location.' - type: Location - -Unlink: - description: 'Unlink a content type group from a content type.' - type: object - properties: - _href: - type: string - _method: - enum: [ "DELETE" ] - -URL: - description: 'This class represents a URL in the Repository.' - type: object - properties: - id: - description: 'The unique ID of the URL.' - type: integer - url: - description: 'URL itself e.g. "https://ibexa.co".' - type: string - isValid: - description: 'Is URL valid?' - type: boolean - lastChecked: - description: 'Date of last check.' - type: datetime - created: - description: 'Creation date.' - type: datetime - modified: - description: 'Modified date.' - type: datetime - -UrlAliasCreateWrapper: - description: 'JSON object with only a UrlAliasCreate property.' - type: object - properties: - UrlAliasCreate: UrlAliasCreate - -UrlAliasCreate: - type: object - properties: - _type: - type: string - location: - type: Href - required: false - resource: - type: string - required: false - languageCode: - type: string - required: false - alwaysAvailable: - type: string | boolean - required: false - forward: - type: string | boolean - required: false - -UrlAliasWrapper: - description: 'JSON object with only a UrlAlias property.' - type: object - properties: - UrlAlias: UrlAlias - -UrlAlias: - description: 'This class represents a URL alias in the Repository.' - type: BaseObject - properties: - _id: - description: 'A unique identifier for the alias.' - type: string - xml: - attribute: true - name: id - _type: - description: 'The type of the URL Alias i.e. one of URLAlias::LOCATION=0, URLAlias::RESOURCE=1, URLAlias::VIRTUAL=2.' - enum: [ "LOCATION", "RESOURCE", "VIRTUAL" ] - xml: - attribute: true - name: type - resource: - description: 'If type = URLAlias::LOCATION it is a Location ID otherwise a string (e.g. /content/search).' - type: any - path: - description: 'The full path of the alias.' - type: string - languageCodes: - description: 'The languageCodes for which this path is valid.' - type: string - alwaysAvailable: - description: 'Fallback indicator for other languages.' - type: boolean - isHistory: - description: 'Indicates that this alias was autogenerated for an in the meanwhile archived version of the content.' - type: boolean - forward: - description: 'Indicates if the URL should be redirected.' - type: boolean - custom: - description: 'If false this alias was autogenerated otherwise manually created.' - type: boolean - -UrlAliasRefListWrapper: - description: 'JSON object with only a UrlAliasRefList property.' - type: object - properties: - UrlAliasRefList: UrlAliasRefList - -UrlAliasRefList: - description: 'List of URL alias in the Repository.' - type: BaseObject - properties: - UrlAlias: - type: Ref[] - -UrlQuery: - description: 'This class is used to perform a URL query.' - type: object - properties: - filter: - description: 'The Query filter.' - type: Criterion - sortClauses: - description: 'Query sorting clauses.' - type: SortClause[] - offset: - description: 'Query offset. Sets the offset for search hits, used for paging the results.' - type: integer - limit: - description: 'Query limit. Limit for number of search hits to return. If value is `0`, search query will not return any search hits, useful for doing a count.' - type: integer - -UsageSearchResult: - description: 'This class is used to find usage search results.' - type: object - properties: - totalCount: - description: 'The total number of content objects using URL.' - type: integer - items: - description: 'The value objects found for the query.' - type: ContentInfo[] - -URLUpdateStruct: - description: 'Structure used to update URL data.' - type: object - properties: - url: - description: 'URL itself e.g. "https://ibexa.co".' - type: string - isValid: - description: 'Is URL valid?' - type: boolean - lastChecked: - description: 'Modified date.' - type: datetime - -UrlWildcardWrapper: - description: 'JSON object with only a UrlWildcard property.' - type: object - properties: - UrlWildcard: UrlWildcard - -UrlWildcard: - description: 'This class represents a URL alias in the Repository.' - type: BaseObject - properties: - _id: - description: 'The unique ID.' - type: integer - xml: - attribute: true - name: id - sourceUrl: - description: 'The source URL.' - type: string - destinationUrl: - description: 'The destination URL containing placeholders e.g. /destination/{1}.' - type: string - forward: - description: 'Indicates if the URL is redirected or not.' - type: boolean - -UrlWildcardCreateWrapper: - description: 'JSON object with only a URLWildcardCreate property.' - type: object - properties: - URLWildcardCreate: UrlWildcardCreate - -UrlWildcardCreate: - description: 'Creates a new URL wildcard.' - type: object - properties: - sourceUrl: - type: string - destinationUrl: - type: string - forward: - type: boolean | string - -UrlWildcardListWrapper: - description: 'JSON object with only a UrlWildcardList property.' - type: object - properties: - UrlWildcardList: UrlWildcardList - -UrlWildcardList: - description: 'List of URL alias in the Repository.' - type: BaseObject - properties: - UrlWildcard: - type: UrlWildcard[] - -URLWildcardTranslationResult: - description: 'This class represents a result of a translated URL wildcard which is not an URLAlias.' - type: object - properties: - uri: - description: 'The found resource URI.' - type: string - forward: - description: 'Indicates if the URL is redirected or not.' - type: boolean - -UserWrapper: - description: 'JSON object with only a User property.' - type: object - properties: - User: User - -User: - description: 'This class represents a User value.' - type: BaseObject - properties: - _id: - description: 'Unique ID of the content type.' - type: integer - xml: - attribute: true - name: id - _remoteId: - description: 'Remote ID of the content type.' - type: string - xml: - attribute: true - name: remoteId - ContentType: - description: 'This class represents a content type.' - type: BaseObject - name: - description: 'Name of the domain object in a given language.' - type: string - Versions: - description: 'Returns the VersionInfo for this version.' - type: BaseObject - Section: - description: 'The Section to which the content item is assigned.' - type: BaseObject - MainLocation: - description: 'Main Location of the object.' - type: BaseObject - Locations: - description: 'Locations of the object.' - type: BaseObject - Groups: - description: 'Group User of the content type.' - type: BaseObject - Owner: - description: 'The owner of the content item.' - type: BaseObject - publishDate: - description: 'Content publication date.' - type: datetime - lastModificationDate: - description: 'Content modification date.' - type: datetime - mainLanguageCode: - description: 'The main language code of the content item.' - type: string - alwaysAvailable: - description: "Indicates if the content item is shown in the main language if it's not present in an other requested language." - type: boolean - Version: - description: 'Returns the VersionInfo for this version.' - type: Version - login: - description: 'User login.' - type: string - email: - description: 'User email address.' - type: string - enabled: - description: 'Flag to Signal if User is enabled or not. User can not login if false.' - type: boolean - UserGroups: - description: 'User groups.' - type: BaseObject - Roles: - description: 'Roles.' - type: BaseObject - maxLogin: - description: 'Max number of time User is allowed to login.' - type: integer - required: false - -UserCreateStruct: - description: 'This class is used to create a new User in the Repository.' - type: object - properties: - login: - description: 'User login.' - required: true - type: string - email: - description: 'User email address.' - required: true - type: string - password: - description: 'The plain password.' - required: true - type: string - enabled: - description: 'Indicates if the User is enabled after creation.' - type: boolean - -UserGroupWrapper: - description: 'JSON object with only a UserGroup property.' - type: object - properties: - UserGroup: UserGroup - -UserGroup: - description: 'Content ID matcher class.' - type: BaseObject - properties: - _remoteId: - description: 'Remote ID of the content type.' - type: string - xml: - attribute: true - name: remoteId - _id: - description: 'Unique ID of the content type.' - type: integer - xml: - attribute: true - name: id - ContentType: - description: 'Content type.' - type: Ref - name: - type: string - Versions: - description: 'Returns the VersionInfo for this version.' - type: Ref - Section: - description: 'The Section to which the content item is assigned to.' - type: Ref - MainLocation: - type: Ref - Locations: - description: 'Location of the content item.' - type: Ref - Owner: - description: 'The owner of the content item.' - type: Ref - lastModificationDate: - description: 'Content item modification date.' - type: datetime - mainLanguageCode: - description: 'The main language code of the content item.' - type: string - alwaysAvailable: - type: boolean - Version: - type: Version - ParentUserGroup: - type: Ref - Subgroups: - type: Ref - Users: - type: Ref - Roles: - type: Ref - -UserGroupUnassign: - description: 'This class represents a User group.' - type: BaseObject - properties: - Unassign: - type: Unlink - -UserGroupCreateStruct: - description: 'This class is used to create a new User group in the Repository, extends ContentCreateStruct.' - type: object - -UserGroupRefListWrapper: - description: 'JSON object with only a UserGroupRefList property.' - type: object - properties: - UserGroupRefList: UserGroupRefList - -UserGroupRefList: - description: 'Returns a list of the sub groups.' - type: BaseObject - properties: - UserGroup: - description: 'This class represents a User group.' - type: Ref[] - -UserGroupRoleAssignment: - description: 'This class represents a User group to role assignment.' - type: object - properties: - UserGroup: - description: 'Returns the User group to which the role is assigned to.' - type: UserGroup - -UserGroupUpdateWrapper: - description: 'JSON object with only a UserGroupUpdate property.' - type: object - properties: - UserGroupUpdate: UserGroupUpdate - -UserGroupUpdate: - description: 'This class is used to update a User group in the Repository.' - type: object - properties: - Section: - properties: - _href: - type: string - xml: - attribute: true - name: href - -UserGroupUpdateStruct: - description: 'This class is used to update a User group in the Repository.' - type: object - properties: - contentUpdateStruct: - description: 'The update structure for the profile content.' - type: ContentUpdateStruct - contentMetadataUpdateStruct: - description: 'The update structure for the profile meta data.' - type: ContentMetadataUpdateStruct - -UserGroupListWrapper: - description: 'JSON object with only a UserGroupList property.' - type: object - properties: - UserGroupList: UserGroupList - -UserGroupList: - description: 'This class represents a User Group list.' - type: BaseObject - -UserListWrapper: - description: 'JSON object with only a UserList property.' - type: object - properties: - UserList: UserList - -UserList: - description: 'This class represents a list of users.' - type: BaseObject - properties: - User: - type: User[] - -UserPreference: - description: 'This class represents a User preference value.' - type: object - properties: - name: - description: 'Name of User preference e.g. timezone.' - type: string - value: - description: 'Value of User preference e.g. America/New_York.' - type: string - -UserPreferenceList: - description: 'List of User preferences.' - type: object - properties: - totalCount: - description: 'The total number of User preferences.' - type: integer - items: - description: 'List of User preferences.' - type: UserPreference[] - -UserPreferenceSetStruct: - description: 'This class creates User preferences.' - type: object - properties: - name: - description: 'Name of User preference e.g. timezone.' - type: string - value: - description: 'Value of User preference e.g. America/New_York.' - type: string - -UserRefListWrapper: - description: 'JSON object with only a UserRefList property.' - type: object - properties: - UserRefList: UserRefList - -UserRefList: - description: 'Returns a list of the users.' - type: BaseObject - properties: - User: - description: 'This class represents a User.' - type: BaseObject[] - -UserRoleAssignment: - description: 'This class represents a User to role assignment.' - type: object - properties: - User: - description: 'Returns the User to which the role is assigned to.' - type: User - -UserTokenUpdateStruct: - description: 'This class is used to update a User token in the Repository.' - type: object - properties: - hashKey: - description: 'Hash key date for User account.' - type: string - time: - description: 'Time to which the token is valid.' - type: datetime - -UserUpdateStruct: - description: 'This class is used to update a User in the Repository.' - type: object - properties: - email: - description: 'If set the email address is updated with this value.' - type: string - password: - description: 'If set the password is updated with this plain password.' - type: string - enabled: - description: 'Flag to Signal if User is enabled or not. If set the enabled status is changed to this value.' - type: boolean - maxLogin: - description: 'Max number of time User is allowed to login. If set the maximum number of login attempts is changed to this value.' - type: integer - contentUpdateStruct: - description: 'The update structure for the profile content.' - type: ContentUpdateStruct - contentMetadataUpdateStruct: - description: 'The update structure for the profile meta data.' - type: ContentMetadataUpdateStruct - -ValueArray: - properties: - value: Value[] - -ValueObject: - type: object - properties: - value: - type: Value[] - -Value: - description: 'Struct that stores extra value information for a Criterion object.' - type: object - properties: - _languageCode: - description: 'Language code.' - type: string - '#text': - description: 'Content type description.' - type: string | nil - -VersionWrapper: - description: 'JSON object with only a Version property.' - type: object - properties: - Version: Version - -Version: - description: 'Returns the VersionInfo for this version.' - type: BaseObject - properties: - VersionInfo: - description: 'VersionInfo for this version.' - type: VersionInfo - Fields: - properties: - field: - description: 'Fields of a Company content item.' - type: Field[] - Relations: - description: 'Relations of the user.' - type: BaseObject - properties: - Relation: - type: Relation[] - -VersionInfo: - description: 'This class holds version information data. It also contains the corresponding {@link Content} to which the version belongs to.' - type: object - properties: - id: - description: 'Version ID.' - type: integer - versionNo: - description: 'Version number. In contrast to {@link $id}, this is the version number, which only increments in scope of a single content item.' - type: integer - status: - description: 'One of: VersionInfo::STATUS_DRAFT=0, VersionInfo::STATUS_PUBLISHED=1, VersionInfo::STATUS_ARCHIVED=3.' - enum: [DRAFT, PUBLISHED, ARCHIVED] - modificationDate: - description: 'The last modified date of this version.' - type: datetime - Creator: - description: 'Creator of the version, in the search API this is referred to as the modifier of the published content.' - type: BaseObject - creationDate: - description: 'Content creation date.' - type: datetime - initialLanguageCode: - description: 'The language code which is used for labeling a translation.' - type: string - languageCodes: - description: 'List of languages in this version. Reflects which languages fields exists in for this version.' - type: string - VersionTranslationInfo: - description: 'Translation information.' - type: VersionTranslationInfo - names: - description: 'Names.' - type: ValueArray - Content: - description: 'Represents a content item in a specific version.' - type: BaseObject - -VersionItem: - description: 'Version of content.' - type: object - properties: - Version: - description: 'Returns the VersionInfo for this version.' - type: BaseObject - VersionInfo: - type: VersionInfo - -VersionListWrapper: - description: 'JSON object with only a VersionList property.' - type: object - properties: - VersionList: VersionList - -VersionList: - description: 'List of all versions of the content.' - type: BaseObject - properties: - VersionItem: - type: VersionItem[] - -VersionTranslationInfo: - description: 'Translation information.' - type: object - properties: - _media-type: - type: string # Always "application/vnd.ibexa.api.VersionTranslationInfo+json" - Language: - type: LanguageCode[] - -VersionUpdateWrapper: - description: 'JSON object with only a VersionUpdate property.' - type: object - properties: - VersionUpdate: VersionUpdate - -VersionUpdate: - description: 'This class is used to update a content version.' - type: BaseObject - properties: - modificationDate: - type: datetime - initialLanguageCode: - type: string - fields: - type: Field[] - -View: #TODO outdated example - description: 'View.' - type: BaseObject - properties: - identifier: - description: 'Content identifier.' - type: string - User: - type: User - public: - type: boolean - LocationQuery: - type: LocationQuery - Result: - type: object - -ContentTypeCreateWrapper: - description: 'JSON object with only a ContentTypeCreate property.' - type: object - properties: - ContentTypeCreate: ContentTypeCreate - -ContentTypeCreate: - description: 'This class is used to create a content type.' - type: object - properties: - identifier: - type: string - mainLanguageCode: - type: string - remoteId: - type: string - urlAliasSchema: - type: string - nameSchema: - type: string - isContainer: - type: boolean - defaultSortField: - description: 'Specifies which property the child Locations should be sorted on by default when created.' - type: any - defaultSortOrder: - description: 'Specifies whether the sort order should be ascending or descending by default when created.' - type: any - defaultAlwaysAvailable: - type: boolean - names: - type: ValueObject - descriptions: - type: ValueObject - FieldDefinition: - type: FieldDefinition - required: false - creatorId: - description: 'If set, this value overrides the current user as creator.' - type: any - required: false - creationDate: - type: datetime - required: false - -ContentTypeUpdateWrapper: - description: 'JSON object with only a ContentTypeUpdate property.' - type: object - properties: - ContentTypeUpdate: ContentTypeUpdate - -ContentTypeUpdate: - description: 'This class is used to update a content type.' - type: object - properties: - identifier: - type: string - required: false - mainLanguageCode: - type: string - required: false - remoteId: - type: string - required: false - urlAliasSchema: - type: string | nil - required: false - nameSchema: - type: string - required: false - isContainer: - type: boolean - required: false - defaultSortField: - description: 'Specifies which property the child Locations should be sorted on by default when updated.' - type: any - required: false - defaultSortOrder: - description: 'Specifies whether the sort order should be ascending or descending by default when updated.' - type: any - required: false - defaultAlwaysAvailable: - type: string | boolean - required: false - names: - type: ValueObject - required: false - descriptions: - type: ValueObject - required: false - modifierId: - description: 'If set, this value overrides the current user as creator.' - type: any - required: false - modificationDate: - type: datetime - required: false - -ViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: ViewInput - -ViewInput: - description: 'This class represents a View input.' - type: object - properties: - identifier: - description: 'Content identifier.' - type: string - languageCode: - type: string - required: false - useAlwaysAvailable: - type: string - required: false - Query: - type: Query - -UserCreateWrapper: - description: 'JSON object with only a UserCreate property.' - type: object - properties: - UserCreate: UserCreate - -UserCreate: - description: 'This class is used to create a User.' - type: object - properties: - mainLanguageCode: - type: string - remoteId: - type: string - login: - type: string - email: - type: string - password: - type: string - enabled: - type: boolean - required: false - -UserGroupCreateWrapper: - description: 'JSON object with only a UserGroupCreate property.' - type: object - properties: - UserGroupCreate: UserGroupCreate - -UserGroupCreate: - description: 'This class is used to create a User Group.' - type: object - properties: - mainLanguageCode: - type: string - remoteId: - type: string - fields: - type: Fields - -RoleAssignInputWrapper: - description: 'JSON object with only a RoleAssignInput property.' - type: object - properties: - RoleAssignInput: RoleAssignInput - -RoleAssignInput: - description: 'This class represents a Role assign input.' - type: object - properties: - Role: - description: 'Returns the Role to which the user or user group is assigned to.' - type: Ref - limitation: - description: 'Returns the Limitation of the Role assignment.' - type: Limitation - -UserUpdateWrapper: - description: 'JSON object with only a UserUpdate property.' - type: object - properties: - UserUpdate: UserUpdate - -UserUpdate: - description: 'This class is used to update a User.' - type: object - properties: - login: - type: string - email: - type: string - required: false - password: - type: string - required: false - enabled: - type: boolean - required: false - maxLogin: - type: integer - required: false - ContentUpdate: - description: 'The update structure for the profile content.' - type: ContentUpdate - required: false - ContentMetadataUpdate: - description: 'The update structure for the profile metadata.' - type: ContentMetadataUpdate - required: false - -RoleInputWrapper: - description: 'JSON object with only a RoleInput property.' - type: object - properties: - RoleInput: RoleInput - -RoleInput: - description: 'This class represents a Role input.' - type: object - properties: - identifier: - type: string - -PolicyCreateWrapper: - description: 'JSON object with only a PolicyCreate property.' - type: object - properties: - PolicyCreate: PolicyCreate - -PolicyCreate: - description: 'This class is used to create a Policy.' - type: BaseObject - properties: - module: - description: 'Name of module associated with the Policy. For example, content.' - type: string - function: - description: 'Name of the module function, or all functions with ''*''. For example, read.' - type: string - Limitations: - type: Limitation[] - -PolicyUpdateWrapper: - description: 'JSON object with only a PolicyUpdate property.' - type: object - properties: - PolicyUpdate: PolicyUpdate - -PolicyUpdate: - description: 'This class is used to update a Policy.' - type: BaseObject - properties: - Limitations: - type: Limitation[] - -SessionInputWrapper: - description: 'JSON object with only a SessionInput property.' - type: object - properties: - SessionInput: SessionInput - -SessionInput: - description: 'This class represents a session input.' - type: object - properties: - login: - type: string - password: - type: string - -BaseCommerceResponse: - description: 'Removed' - type: object - -BasketWrapper: - description: 'JSON object with only a Basket property.' - type: object - properties: - Basket: Basket - -Basket: - description: 'Removed' - type: BaseCommerceResponse - -BasketLineDataWrapper: - description: 'JSON object with only a BasketLineData property.' - type: object - properties: - BasketLineData: BasketLineData - -BasketLineData: - description: 'Removed' - type: array - items: - type: object - -PartyTypeInputWrapper: - description: 'JSON object with only a PartyData property.' - type: object - properties: - PartyData: PartyTypeInput - -PartyTypeInput: - description: 'Removed' - type: object - -Party: - description: 'Removed' - type: object - -ShippingMethodDataResponseWrapper: - description: 'JSON object with only a ShippingMethodDataResponse property.' - type: object - properties: - ShippingMethodDataResponse: ShippingMethodDataResponse - -ShippingMethodDataResponse: - description: 'Removed' - type: BaseCommerceResponse - -PaymentMethodDataResponseWrapper: - description: 'JSON object with only a PaymentMethodDataResponse property.' - type: object - properties: - PaymentMethodDataResponse: PaymentMethodDataResponse - -PaymentMethodDataResponse: - description: 'Removed' - type: BaseCommerceResponse - -ShippingAddressesResponseWrapper: - description: 'JSON object with only a ShippingAddressesResponse property.' - type: object - properties: - ShippingAddressesResponse: ShippingAddressesResponse - -ShippingAddressesResponse: - description: 'Removed' - type: BaseCommerceResponse - -BasketListResponseWrapper: - description: 'JSON object with only a BasketListResponse property.' - type: object - properties: - BasketListResponse: BasketListResponse - -BasketListResponse: - description: 'Removed' - type: BaseCommerceResponse - -ValidationResponseWrapper: - description: 'JSON object with only a ValidationResponse property.' - type: object - properties: - ValidationResponse: ValidationResponse - -ValidationResponse: - description: 'Removed' - type: BaseCommerceResponse - -CountrySelectionResponseWrapper: - description: 'JSON object with only a CountrySelectionResponse property.' - type: object - properties: - CountrySelectionResponse: CountrySelectionResponse - -CountrySelectionResponse: - description: 'Removed' - type: BaseCommerceResponse - -ShippingMethodData: - description: 'Removed' - type: object - -PaymentMethodDataWrapper: - description: 'JSON object with only a PaymentMethodData property.' - type: object - properties: - PaymentMethodData: PaymentMethodData - -PaymentMethodData: - description: 'Removed' - type: object - -VoucherDataWrapper: - description: 'JSON object with only a VoucherData property.' - type: object - properties: - VoucherData: VoucherData - -VoucherData: - description: 'Removed' - type: object - -CustomerPriceDataWrapper: - type: object - properties: - PriceResponse: CustomerPriceData - -CustomerPriceData: - description: 'Removed' - type: object - -BasketHeaderDataWrapper: - description: 'JSON object with only a BasketHeaderData property.' - type: object - properties: - BasketHeaderData: BasketHeaderData - -BasketHeaderData: - description: 'Removed' - type: object - -BasketLinesData: - description: 'Removed' - type: object - -PriceResponseWrapper: - description: 'JSON object with only a PriceResponse property.' - type: object - properties: - PriceResponse: PriceResponse - -PriceResponse: - description: 'Removed' - type: BaseCommerceResponse - -CartWrapper: - description: 'JSON object with only a Cart property.' - type: object - properties: - Cart: Cart - -Cart: - description: 'This class represents a Cart' - type: object - properties: - id: - description: 'Cart ID' - type: integer - identifier: - description: 'Cart unique identifier' - type: string - owner: - description: 'User reference' - type: Ref - Currency: - type: Currency - entries: - type: CartEntry[] - -CartCreateWrapper: - description: 'JSON object with only a CartCreate property.' - type: object - properties: - CartCreate: CartCreate - -CartCreate: - description: 'This class represents a new Cart to create' - type: object - properties: - name: - description: the name of the new Cart - type: string - required: true - currencyCode: - description: the currency code such as `EUR` - type: string - required: true - context: - description: associative array of scalars describing additional, contextual data attached to the cart - type: object - required: false - -CartEntry: - type: object - properties: - identifier: string - id: integer - names: object[] - quantity: integer - Price: Price - -CartEntryUpdateWrapper: - description: 'JSON object with only a CartEntryUpdate property.' - type: object - properties: - CartEntryUpdate: CartEntryUpdate - -CartEntryUpdate: - type: object - properties: - quantity: integer - context: - description: associative array of scalars describing additional, contextual data attached to the cart entry - type: object - required: false - -CartEntryAddWrapper: - description: 'JSON object with only a CartEntryAdd property.' - type: object - properties: - CartEntryAdd: CartEntryAdd - -CartEntryAdd: - description: 'This class represents a cart entry' - type: object - properties: - quantity: - description: the quantity of entry items - type: integer - required: true - Product: - description: product data - type: CartProduct - required: true - context: - description: associative array of scalars describing additional, contextual data attached to the cart entry - type: object - required: false - -CartProduct: - description: 'This class represents a cart entry product' - type: object - properties: - code: - description: product's code - type: string - required: true - -CartSummaryWrapper: - description: 'JSON object with only a CartSummary property.' - type: object - properties: - CartSummary: CartSummary - -CartSummary: - description: 'This class represents a cart summary.' - type: object - properties: - id: - type: integer - identifier: - type: string - name: - type: string - createdAt: - type: datetime - updatedAt: - type: datetime - Owner: - type: Ref - SummaryEntryCollection: - type: SummaryEntryCollection - TotalPrice: - type: RestPriceWrapper - TotalPriceInclVat: - type: RestPriceWrapper - vatCategorySummary: - type: VatCategorySummary[] - Currency: - type: Currency - -CartViewInputWrapper: - description: 'JSON object with only a CartViewInput property.' - type: object - properties: - CartViewInput: CartViewInput - -CartViewInput: - description: 'This class represents a cart view input.' - type: object - properties: - identifier: - type: string - CartQuery: - type: CartQuery - -CartQuery: - type: object - properties: - offset: integer - limit: integer - ownerId: integer - -CartViewWrapper: - description: 'JSON object with only a CartView property.' - type: object - properties: - CartView: CartView - -CartView: - description: 'This class represents a cart view.' - type: object - properties: - identifier: string - Result: CartListViewResult - -CartListViewResult: - type: object - properties: - count: integer - CartList: CartList - -CartList: - description: 'This class represents a cart list.' - type: object - -CartMetadataUpdateWrapper: - description: 'JSON object with only a CartMetadataUpdate property.' - type: object - properties: - CartMetadataUpdate: CartMetadataUpdate - -CartMetadataUpdate: - description: 'This class represents the update of cart metadata.' - type: object - properties: - identifier: string - defaultLanguageCode: string - names: Value[] - descriptions: Value[] - -CartConstraintViolationListWrapper: - description: 'JSON object with only a CartConstraintViolationList property.' - type: object - properties: - CartConstraintViolationList: CartConstraintViolationList - -CartConstraintViolationList: - description: 'This class represents a list of cart constraint violations.' - type: object - properties: - violations: - type: array - items: CartConstraintViolation - -CartConstraintViolation: - description: 'This class represents a cart constraint violation.' - type: object - properties: - code: string - propertyPath: string - message: string - -Token: - description: 'This class represents a CSRF token' - type: object - properties: - value: string - -CatalogWrapper: - description: 'JSON object with only a Catalog property.' - type: object - properties: - Catalog: Catalog - -Catalog: - description: 'This class represents a catalog.' - type: object - properties: - identifier: - type: string - name: - type: string - description: - type: string - created: - type: integer - modified: - type: integer - status: - type: string - User: - type: Ref - Criteria: - type: Criterion[] - -CatalogList: - description: 'This class represents a catalog list.' - type: object - properties: - Catalog: - type: Catalog[] - -CatalogCreateWrapper: - description: 'JSON object with only a CatalogCreate property.' - type: object - properties: - CatalogCreate: CatalogCreate - -CatalogCreate: - description: 'This class is used to create a catalog.' - type: object - properties: - identifier: - type: string - criteria: - type: Criterion - names: - type: object - descriptions: - type: object - required: false - status: - type: string - creator_id: - type: integer - required: false - -CatalogUpdateWrapper: - description: 'JSON object with only a CatalogUpdate property.' - type: object - properties: - CatalogUpdate: CatalogUpdate - -CatalogUpdate: - description: 'This class is used to update a catalog.' - type: object - properties: - identifier: - type: string - transition: - type: string - criteria: - type: Criterion - names: - type: object - descriptions: - type: object - -CatalogCopyWrapper: - description: 'JSON object with only a CatalogCopy property.' - type: object - properties: - CatalogCopy: CatalogCopy - -CatalogCopy: - description: 'This class is used to copy a catalog.' - type: object - properties: - identifier: - type: string - creator_id: - description: 'Optional' - type: integer - -CatalogViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: CatalogViewInput - -CatalogViewInput: - description: 'This class represents a catalog view input.' - type: object - properties: - CatalogQuery: - type: object - xml: - name: ViewInput - -ProductFilterListWrapper: - description: 'JSON object with only a ProductFilterList property.' - type: object - properties: - ProductFilterList: ProductFilterList - -ProductFilterList: - description: 'This class represents a product filter list.' - type: object - properties: - ProductFilter: - type: ProductFilter[] - -ProductFilter: - type: object - properties: - name: string - -ProductSortClause: - type: object - properties: - name: - type: string - -ProductSortClauseListWrapper: - description: 'JSON object with only a ProductSortClauseList property.' - type: object - properties: - ProductSortClauseList: ProductSortClauseList - -ProductSortClauseList: - description: 'This class represents a product sort clause list.' - type: object - properties: - ProductSortClause: - type: ProductSortClause[] - -CurrencyWrapper: - description: 'JSON object with only a Currency property.' - type: object - properties: - Currency: Currency - -Currency: - description: 'This class represents currency.' - type: BaseObject - properties: - id: - type: integer - code: - type: string - subunits: - type: integer - enabled: - type: boolean - -CurrencyListWrapper: - description: 'JSON object with only a CurrencyList property.' - type: object - properties: - CurrencyList: CurrencyList - -CurrencyList: - description: 'This class represents a currency list.' - type: BaseObject - properties: - Currency: - type: Currency[] - -CurrencyCreateWrapper: - description: 'JSON object with only a CurrencyCreate property.' - type: object - properties: - CurrencyCreate: CurrencyCreate - -CurrencyCreate: - description: 'This class is used to create currency.' - type: object - properties: - code: - type: string - subunits: - type: integer - enabled: - type: boolean - -CurrencyUpdateWrapper: - description: 'JSON object with only a CurrencyUpdate property.' - type: object - properties: - CurrencyUpdate: CurrencyUpdate - -CurrencyUpdate: - description: 'This class is used to update currency.' - type: object - properties: - subunits: - type: integer - enabled: - type: boolean - -CurrencyViewWrapper: - description: 'JSON object with only a CurrencyView property.' - type: object - properties: - CurrencyView: CurrencyView - -CurrencyView: - description: 'This class represents a currency view.' - type: object - properties: - identifier: - type: string - CurrencyQuery: - type: object - Result: - type: object - -RegionWrapper: - description: 'JSON object with only a Region property.' - type: object - properties: - Region: Region - -Region: - description: 'This class represents a region.' - type: object - properties: - identifier: - type: string - -RegionListWrapper: - description: 'JSON object with only a RegionList property.' - type: object - properties: - RegionList: RegionList - -RegionList: - description: 'This class represents a region list.' - type: object - properties: - Region: - type: Ref[] - -AttributeGroupWrapper: - description: 'JSON object with only a AttributeGroup property.' - type: object - properties: - AttributeGroup: AttributeGroup - -AttributeGroup: - description: 'This class represents an attribute group.' - type: object - properties: - name: - type: string - identifier: - type: string - position: - type: integer - -AttributeGroupGetWrapper: - description: 'JSON object with only a AttributeGroupGet property.' - type: object - properties: - AttributeGroupGet: AttributeGroupGet - -AttributeGroupGet: - description: 'This class represents an attribute group query.' - type: object - properties: - languages: string[] - -AttributeGroupCreateWrapper: - description: 'JSON object with only a AttributeGroupCreate property.' - type: object - properties: - AttributeGroupCreate: AttributeGroupCreate - -AttributeGroupCreate: - description: 'This class is used to create an attribute group.' - type: object - properties: - identifier: - type: string - names: - type: object - position: - type: integer - -AttributeGroupUpdateWrapper: - description: 'JSON object with only a AttributeGroupUpdate property.' - type: object - properties: - AttributeGroupUpdate: AttributeGroupUpdate - -AttributeGroupUpdate: - description: 'This class is used to update an attribute group.' - type: object - properties: - identifier: - type: string - names: - type: object - position: - type: integer - -AttributeGroupListWrapper: - description: 'JSON object with only a AttributeGroupList property.' - type: object - properties: - AttributeGroupList: AttributeGroupList - -AttributeGroupList: - description: 'This class represents an attribute group list.' - type: BaseObject - properties: - AttributeGroup: AttributeGroup[] - -AttributeGroupListGetWrapper: - description: 'JSON object with only a AttributeGroupListGet property.' - type: object - properties: - AttributeGroupListGet: AttributeGroupListGet - -AttributeGroupListGet: - description: 'This class represents an attribute group list request.' - type: object - properties: - prefix: string - offset: integer - limit: integer - -AttributeGroupViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: AttributeGroupViewInput - -AttributeGroupViewInput: - description: 'This class represents an attribute group view input.' - type: object - properties: - identifier: string - AttributeGroupQuery: - type: object - properties: - limit: string - offset: string - name_prefix: string - xml: - name: ViewInput - -AttributeGroupViewWrapper: - description: 'JSON object with only a AttributeGroupView property.' - type: object - properties: - AttributeGroupView: AttributeGroupView - -AttributeGroupView: - description: 'This class represents an attribute group view.' - type: BaseObject - properties: - identifier: - type: string - Result: - type: AttributeGroupListResult - -AttributeGroupListResult: - type: BaseObject - properties: - count: integer - AttributeGroupList: AttributeGroupList - -AttributeWrapper: - description: 'JSON object with only a Attribute property.' - type: object - properties: - Attribute: Attribute - -Attribute: - description: 'This class represents an attribute.' - type: object - properties: - name: - type: string - identifier: - type: string - description: - type: string - type: - type: string - type_identifier: - type: string - value: - type: any - group: - type: string - position: - type: integer - options: - type: object | array - -AttributeCreateWrapper: - description: 'JSON object with only a AttributeCreate property.' - type: object - properties: - AttributeCreate: AttributeCreate - -AttributeCreate: - description: 'This class is used to create an attribute.' - type: object - properties: - identifier: - type: string - type: - type: string - group: - type: string - names: - type: object - descriptions: - type: object - position: - type: integer - options: - type: object | array - -AttributeUpdateWrapper: - description: 'JSON object with only a AttributeUpdate property.' - type: object - properties: - AttributeUpdate: AttributeUpdate - -AttributeUpdate: - description: 'This class is used to update an attribute.' - type: object - properties: - identifier: - type: string - names: - type: object - descriptions: - type: object - position: - type: integer - options: - type: object - -AttributeListWrapper: - description: 'JSON object with only a AttributeList property.' - type: object - properties: - AttributeList: AttributeList - -AttributeList: - description: 'This class represents an attribute list.' - type: object - properties: - Attribute: Attribute[] - -AttributeViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: AttributeViewInput - -AttributeViewInput: - description: 'This class represents an attribute view input.' - type: object - properties: - identifier: - type: string - AttributeQuery: - type: object - xml: - name: ViewInput - -AttributeViewWrapper: - description: 'JSON object with only a AttributeView property.' - type: object - properties: - AttributeView: AttributeView - -AttributeView: - description: 'This class represents an attribute view.' - type: object - properties: - identifier: - type: string - AttributeQuery: - type: object - Result: - type: object - -AttributeTypeWrapper: - description: 'JSON object with only a AttributeType property.' - type: object - properties: - AttributeType: AttributeType - -AttributeType: - description: 'This class represents an attribute type.' - type: object - properties: - identifier: - type: string - name: - type: string - -AttributeTypeListWrapper: - description: 'JSON object with only a AttributeTypeList property.' - type: object - properties: - AttributeTypeList: AttributeTypeList - -AttributeTypeList: - description: 'This class represents an attribute type list.' - type: object - properties: - attributeTypes: - type: AttributeType[] - -CustomerGroupWrapper: - description: 'JSON object with only a CustomerGroup property.' - type: object - properties: - CustomerGroup: CustomerGroup - -CustomerGroup: - description: 'This class represents a customer group.' - type: object - properties: - id: - type: integer - name: - type: string - identifier: - type: string - description: - type: string - users: - description: 'A list of users attached to the customer group.' - type: User[] - global_price_rate: - description: 'A numeric string' - type: string - -CustomerGroupListWrapper: - description: 'JSON object with only a CustomerGroupList property.' - type: object - properties: - CustomerGroupList: CustomerGroupList - -CustomerGroupList: - description: 'This class represents a customer group list.' - type: object - properties: - CustomerGroup: - type: CustomerGroup[] - -CustomerGroupCreateWrapper: - description: 'JSON object with only a CustomerGroupCreate property.' - type: object - properties: - CustomerGroupCreate: CustomerGroupCreate - -CustomerGroupCreate: - description: 'This class is used to create a customer group.' - type: object - properties: - identifier: - type: string - names: - type: object - descriptions: - type: object - global_price_rate: - description: 'numeric-string' - type: string - -CustomerGroupUpdateWrapper: - description: 'JSON object with only a CustomerGroupUpdate property.' - type: object - properties: - CustomerGroupUpdate: CustomerGroupUpdate - -CustomerGroupUpdate: - description: 'This class is used to update a customer group.' - type: object - properties: - names: - type: object - identifier: - type: string - global_price_rate: - type: string - descriptions: - type: string[] - required: false - -CustomerGroupViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: CustomerGroupViewInput - -CustomerGroupViewInput: - description: 'This class represents a customer group view input.' - type: object - properties: - CustomerGroupQuery: - type: object - xml: - name: ViewInput - -CustomerGroupViewWrapper: - description: 'JSON object with only a CustomerGroupView property.' - type: object - properties: - CustomerGroupView: CustomerGroupView - -CustomerGroupView: - description: 'This class represents a customer group view.' - type: object - properties: - identifier: - type: string - CustomerGroupQuery: - type: object - Result: - type: CustomerGroupListResult - -CustomerGroupListResult: - type: BaseObject - properties: - CustomerGroupList: - type: BaseObject - properties: - CustomerGroup: CustomerGroup[] - -CurrencyViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: CurrencyViewInput - -CurrencyViewInput: - description: 'This class represents a currency view input.' - type: object - properties: - CurrencyQuery: - type: object - xml: - name: ViewInput - -AttributeAssignment: - type: object - properties: - is_required: - type: boolean - is_discriminator: - type: boolean - Attribute: - type: Attribute - -ProductTypeWrapper: - description: 'JSON object with only a ProductType property.' - type: object - properties: - ProductType: ProductType - -ProductType: - description: 'This class represents a product type.' - type: object - properties: - identifier: - type: string - name: - type: string - AttributeAssignmentList: - type: AttributeAssignment[] - -ProductTypeUsageWrapper: - description: 'JSON object with only a ProductTypeUsage property.' - type: object - properties: - ProductTypeUsage: ProductTypeUsage - -ProductTypeUsage: - description: 'This class represents a product type usage.' - type: BaseObject - properties: - is_used: - type: boolean - -ProductTypeCreateWrapper: - description: 'JSON object with only a ProductTypeCreate property.' - type: object - properties: - ProductTypeCreate: ProductTypeCreate - -ProductTypeCreate: - description: 'This class is used to create a product type.' - type: object - properties: - ContentTypeCreateStruct: - type: ContentTypeCreateStruct - main_language_code: - type: string - assigned_attributes: - type: array - items: ProductTypeAssignedAttribute - -ProductTypeUpdateWrapper: - description: 'JSON object with only a ProductTypeUpdate property.' - type: object - properties: - ProductTypeUpdate: ProductTypeUpdate - -ProductTypeUpdate: - description: 'This class is used to update a product type.' - type: object - properties: - ContentTypeUpdateStruct: - type: ContentTypeUpdateStruct - assigned_attributes: - type: array - items: ProductTypeAssignedAttribute - -ProductTypeAssignedAttribute: - type: object - properties: - identifier: - type: string - is_required: - type: boolean - is_discriminator: - type: boolean - -ProductTypeViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: ProductTypeViewInput - -ProductTypeViewInput: - description: 'This class represents a product type view input.' - type: object - properties: - ProductTypeQuery: - type: object - xml: - name: ViewInput - -ProductTypeViewWrapper: - description: 'JSON object with only a ProductTypeView property.' - type: object - properties: - ProductTypeView: ProductTypeView - -ProductTypeView: - description: 'This class represents a product type view.' - type: object - properties: - identifier: - type: string - ProductTypeQuery: - type: object - Result: - type: object - -ProductWrapper: - description: 'JSON object with only a Product property.' - type: object - properties: - Product: Product - -Product: - description: 'This class represents a product.' - type: object - properties: - isVariant: - type: boolean - required: false - isBaseProduct: - type: boolean - required: false - code: - type: string - name: - type: string - ProductType: - type: ProductType - Content: - type: Content - required: false - Thumbnail: - type: Thumbnail - required: false - created_at: - type: UnixTimestamp - required: false - updated_at: - type: UnixTimestamp - required: false - AttributesList: - type: Attribute[] - -ProductListWrapper: - description: 'JSON object with only a ProductList property.' - type: object - properties: - ProductList: ProductList - -ProductList: - description: 'This class represents a product list.' - type: object - properties: - Product: - type: Product[] - -ProductListGetWrapper: - description: 'JSON object with only a ProductListGet property.' - type: object - properties: - ProductListGet: ProductListGet - -ProductListGet: - description: 'This class represents a product list GET.' - type: object - properties: - offset: - type: integer - limit: - type: integer - languages: - type: string[] - -ProductGetWrapper: - description: 'JSON object with only a ProductGet property.' - type: object - properties: - ProductGet: ProductGet - -ProductGet: - description: 'This class represents a product GET.' - type: object - properties: - languages: - type: string[] - -ProductCreateWrapper: - description: 'JSON object with only a ProductCreate property.' - type: object - properties: - ProductCreate: ProductCreate - -ProductCreate: - description: 'This class is used to create a product.' - type: object - properties: - ContentCreate: - type: ContentCreate - code: - type: string - attributes: - type: object - -ProductUpdateWrapper: - description: 'JSON object with only a ProductUpdate property.' - type: object - properties: - ProductUpdate: ProductUpdate - -ProductUpdate: - description: 'This class is used to update a product.' - type: object - properties: - ContentUpdate: - type: ProductContentUpdate - code: - type: string - attributes: - type: array - items: object - required: false - -ProductContentUpdate: - type: object - properties: - __url: - type: string - xml: - attribute: true - name: url - fields: - properties: - field: - type: Field[] - -ProductViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: ProductViewInput - -ProductViewInput: - description: 'This class represents a product view input.' - type: object - properties: - ProductQuery: - type: object - xml: - name: ViewInput - -CatalogViewWrapper: - description: 'JSON object with only a CatalogView property.' - type: object - properties: - CatalogView: CatalogView - -CatalogView: - type: BaseObject - properties: - identifier: string - CatalogQuery: Ref - Result: CatalogListViewResult - -CatalogListViewResult: - type: BaseObject - properties: - CatalogList: CatalogList - -ProductViewWrapper: - description: 'JSON object with only a ProductView property.' - type: object - properties: - ProductView: ProductView - -ProductView: - description: 'This class represents a product view.' - type: object - properties: - identifier: - type: string - ProductQuery: - type: object - Result: - type: object - -ProductVariantWrapper: - description: 'JSON object with only a ProductVariant property.' - type: object - properties: - ProductVariant: ProductVariant - -ProductVariant: - description: 'This class represents a product variant.' - type: object - properties: - code: - type: string - name: - type: string - Product: - type: Product - DiscriminatorAttributesList: - type: Attribute[] - -ProductVariantCreateWrapper: - description: 'JSON object with only a ProductVariantCreate property.' - type: object - properties: - ProductVariantCreate: ProductVariantCreate - -ProductVariantCreate: - description: 'This class is used to create a product variant.' - type: object - properties: - code: - type: string - attributes: - description: 'array<int|string,mixed>' - type: object - -ProductVariantGenerateWrapper: - description: 'JSON object with only a ProductVariantGenerate property.' - type: object - properties: - ProductVariantGenerate: ProductVariantGenerate - -ProductVariantGenerate: - description: 'This class is used to generate a product variant.' - type: object - properties: - attributes: - description: 'array<int|string,mixed>' - type: object - -ProductVariantUpdateWrapper: - description: 'JSON object with only a ProductVariantUpdate property.' - type: object - properties: - ProductVariantUpdate: ProductVariantUpdate - -ProductVariantUpdate: - description: 'This class is used to update a product variant.' - type: object - properties: - code: - type: string - attributes: - description: 'array<int|string,mixed>' - type: object - -ProductVariantViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: ProductVariantViewInput - -ProductVariantViewInput: - description: 'This class represents a product variant view input.' - type: object - properties: - ProductVariantQuery: - type: object - -ProductVariantViewWrapper: - description: 'JSON object with only a ProductVariantView property.' - type: object - properties: - ProductVariantView: ProductVariantView - -ProductVariantView: - description: 'This class represents a product variant view.' - type: object - properties: - identifier: - type: string - ProductVariantQuery: - type: object - Result: - type: object - -RegionViewInputWrapper: - description: 'JSON object with only a ViewInput property.' - type: object - properties: - ViewInput: RegionViewInput - -RegionViewInput: - description: 'This class represents a region view input.' - type: object - properties: - RegionQuery: - type: object - xml: - name: ViewInput - -RegionViewWrapper: - description: 'JSON object with only a RegionView property.' - type: object - properties: - RegionView: RegionView - -RegionView: - description: 'This class represents a region view.' - type: object - properties: - identifier: - type: string - RegionQuery: - type: object - Result: - type: object - -ProductTypeListWrapper: - description: 'JSON object with only a ProductTypeList property.' - type: object - properties: - ProductTypeList: ProductTypeList - -ProductTypeList: - description: 'This class represents a product type list.' - type: object - properties: - ProductType: - type: ProductType[] - -ProductTypeListGetWrapper: - description: 'JSON object with only a ProductTypeListGet property.' - type: object - properties: - ProductTypeListGet: ProductTypeListGet - -ProductTypeListGet: - description: 'This class represents a product type list query.' - type: object - properties: - name_prefix: string - offset: integer - limit: integer - languages: - type: string[] - required: false - -TaxonomyEntryWrapper: - description: 'JSON object with only a TaxonomyEntry property.' - type: object - properties: - TaxonomyEntry: TaxonomyEntry - -TaxonomyEntry: - description: 'This class represents a taxonomy entry.' - type: BaseObject - properties: - id: - type: integer - identifier: - type: string - name: - type: string - content: - type: Ref - taxonomy: - type: string - -TaxonomyEntryAssignmentWrapper: - description: 'JSON object with only a TaxonomyEntryAssignment property.' - type: object - properties: - TaxonomyEntryAssignment: TaxonomyEntryAssignment - -TaxonomyEntryAssignment: - description: 'This class represents a taxonomy entry assignment.' - type: object - properties: - id: - type: integer - content: - type: BaseObject - properties: - Content: - type: Content - entry: - type: BaseObject - properties: - TaxonomyEntry: - type: TaxonomyEntry - -EntryAssignmentCollectionWrapper: - description: 'JSON object with only a EntryAssignmentCollection property.' - type: object - properties: - EntryAssignmentCollection: EntryAssignmentCollection - -EntryAssignmentCollection: - description: 'This class represents a taxonomy assignment collection.' - type: BaseObject - properties: - content: - type: BaseObject - properties: - Content: - type: Content - assignments: - type: TaxonomyEntryAssignment[] - -TaxonomyEntryCreateStruct: - description: 'This class is used to create a taxonomy entry.' - type: BaseObject - properties: - identifier: - type: string - taxonomy: - type: string - Parent: - type: TaxonomyEntry - Content: - type: Content - -TaxonomyEntryUpdateStruct: - description: 'This class is used to update a taxonomy entry.' - type: BaseObject - properties: - identifier: - type: string - name: - type: string - names: - type: array - items: any - languageCode: - type: string - mainLanguageCode: - type: string - Parent: - type: TaxonomyEntry - Content: - type: Content - -TaxonomyEntryBulkRemoveWrapper: - description: 'JSON object with only a TaxonomyEntryBulkRemove property.' - type: object - properties: - TaxonomyEntryBulkRemove: TaxonomyEntryBulkRemove - -TaxonomyEntryBulkRemove: - description: 'This class is used to bulk remove taxonomy entries.' - type: object - properties: - entries: - type: integer[] - -TaxonomyEntryMove: - type: object - properties: - entry: - type: integer - sibling: - type: integer - position: - type: string - -TaxonomyEntryBulkMoveWrapper: - description: 'JSON object with only a TaxonomyEntryBulkMove property.' - type: object - properties: - TaxonomyEntryBulkMove: TaxonomyEntryBulkMove - -TaxonomyEntryBulkMove: - description: 'This class is used to bulk move taxonomy entries.' - type: object - properties: - entries: - type: TaxonomyEntryMove[] - -TaxonomyEntryAssignToContentWrapper: - description: 'JSON object with only a TaxonomyEntryAssignToContent property.' - type: object - properties: - TaxonomyEntryAssignToContent: TaxonomyEntryAssignToContent - -TaxonomyEntryAssignToContent: - description: 'This class is used to assign taxonomy entry to content.' - type: object - properties: - content: - type: integer - entries: - type: integer[] - -TaxonomyEntryUnassignFromContentWrapper: - description: 'JSON object with only a TaxonomyEntryUnassignFromContent property.' - type: object - properties: - TaxonomyEntryUnassignFromContent: TaxonomyEntryUnassignFromContent - -TaxonomyEntryUnassignFromContent: - description: 'This class is used to unassign taxonomy entry from content.' - type: object - properties: - content: - type: integer - entries: - type: integer[] - -VatCategoryListWrapper: - description: 'JSON object with only a VatCategoryList property.' - type: object - properties: - VatCategoryList: VatCategoryList - -VatCategoryList: - description: 'This class represents a VAT category list.' - type: object - properties: - VatCategory: - type: VatCategory[] - -VatCategoryWrapper: - description: 'JSON object with only a VatCategory property.' - type: object - properties: - VatCategory: VatCategory - -VatCategory: - description: 'This class represents a VAT category.' - type: object - properties: - identifier: - type: string - region: - type: string - vatValue: - type: number | nil - -ContentUpdate: - description: 'This class is used to update a Content.' - type: object - properties: - mainLanguageCode: - type: string - Section: - type: Section - MainLocation: - type: Location - Owner: - type: User - alwaysAvailable: - type: boolean - remoteId: - type: string - -ContentMetadataUpdate: - description: 'This class is used to update a Content metadata.' - type: object - properties: - ownerId: - type: any - publishedDate: - type: datetime - modificationDate: - type: datetime - mainLanguageCode: - type: string - alwaysAvailable: - type: boolean - remoteId: - type: string - mainLocationId: - type: any - name: - type: string - -SummaryEntryNames: - type: ValueObject - -SummaryEntry: - type: object - properties: - identifier: - type: string - id: - type: integer - names: - type: SummaryEntryNames - quantity: - type: integer - Price: - type: RestPriceWrapper - PriceInclVat: - type: RestPriceWrapper - SubtotalPrice: - type: RestPriceWrapper - SubtotalPriceInclVat: - type: RestPriceWrapper - VatCategory: - type: VatCategory - Product: - type: Product - -SummaryEntryCollection: - description: 'This class represents a summary entry collection.' - type: object - properties: - count: - type: string - SummaryEntry: - type: SummaryEntry[] - -PriceWrapper: - description: 'JSON object with only a Price property.' - type: object - properties: - Price: Price - -Price: - description: 'This class represents a price.' - type: BaseObject - properties: - amount: - type: string - base_amount: - type: string - required: false - Currency: - type: Currency - money: - type: string - required: false - base_money: - type: string - required: false - -CustomPriceWrapper: - description: 'JSON object with only a CustomPrice property.' - type: object - properties: - CustomPrice: CustomPrice - -CustomPrice: - description: 'This class represents a custom price.' - type: BaseObject - properties: - amount: - type: string - base_amount: - type: string - Currency: - type: Currency - money: - type: string - base_money: - type: string - custom_money: - type: string - custom_amount: - type: string - custom_rule: - type: string | nil - required: false - -RestPriceWrapper: - description: 'JSON object with only a RestPrice property.' - type: BaseObject - properties: - RestPrice: RestPrice - -RestPrice: - type: object - properties: - Price: - type: Price - formatted: - type: string - -PriceListWrapper: - description: 'JSON object with only a PriceList property.' - type: object - properties: - PriceList: PriceList - -PriceList: - description: 'This class represents a price list.' - type: object - properties: - prices: - type: Price[] - -PriceCreateStructWrapper: - description: 'JSON object with only a PriceCreateStruct property.' - type: object - properties: - PriceCreateStruct: PriceCreateStruct - -PriceCreateStruct: - description: 'This class represents a price creation structure.' - type: object - properties: - amount: - type: integer - currency: - type: string - -CustomPriceCreateStructWrapper: - description: 'JSON object with only a CustomPriceCreateStruct property.' - type: object - properties: - CustomPriceCreateStruct: CustomPriceCreateStruct - -CustomPriceCreateStruct: - description: 'This class represents a custom price creation structure.' - type: object - properties: - amount: - type: integer - currency: - type: string - customAmount: - type: integer - customerGroup: - type: string - -PriceUpdateStructWrapper: - description: 'JSON object with only a PriceUpdateStruct property.' - type: object - properties: - PriceUpdateStruct: PriceUpdateStruct - -PriceUpdateStruct: - description: 'This class represents a price updating structure.' - type: object - properties: - amount: - type: integer - currency: - type: string - -CustomPriceUpdateStructWrapper: - description: 'JSON object with only a CustomPriceUpdateStruct property.' - type: object - properties: - CustomPriceUpdateStruct: CustomPriceUpdateStruct - -CustomPriceUpdateStruct: - description: 'This class represents a custom price updating structure.' - type: object - properties: - amount: - type: integer - currency: - type: string - customAmount: - type: integer - -VatCategorySummary: - description: 'This class represents a VAT category summary.' - type: BaseObject - properties: - VatCategory: - type: VatCategory - RestPrice: - type: RestPrice - -Thumbnail: - description: 'This class represents a thumbnail that can be a target URL or a Base64 data.' - type: object - properties: - resource: - type: string - width: - type: integer | nil - height: - type: integer | nil - mimeType: - type: string - -AttributesList: - description: 'This class represents a attribute list.' - type: object - properties: - Attributes: - type: Attribute[] - -OrderListWrapper: - description: 'JSON object with only a OrderList property.' - type: object - properties: - OrderList: OrderList - -OrderList: - description: 'This class represents an orders list.' - type: object - properties: - count: - type: integer - Order: - type: Order[] - -OrderWrapper: - description: 'JSON object with only a Order property.' - type: object - properties: - Order: Order - -Order: - description: 'This class represents order.' - type: object - properties: - id: - type: integer - identifier: - type: string - created: - type: TimezoneDate - modified: - type: TimezoneDate - status: - type: string - source: - type: string - required: false - OrderUser: - type: OrderUser - OrderCurrency: - type: OrderCurrency - OrderValue: - type: OrderValue - OrderCompany: - type: OrderCompany - required: false - OrderItemsList: - type: OrderItem[] - context: - type: object - -OrderUser: - description: 'This class represents order user.' - type: object - properties: - id: - type: integer | nil - name: - type: string - email: - type: string - -OrderCurrency: - description: 'This class represents order currency.' - type: object - properties: - id: - type: integer - code: - type: string - -OrderValue: - description: 'This class represents order value.' - type: object - properties: - vat: - type: string | OrderPrice - total_gross: - type: string | OrderPrice - total_net: - type: string | OrderPrice - -OrderCompany: - description: 'This class represents order company.' - type: object - properties: - id: - type: integer - name: - type: string - -OrderCreateWrapper: - description: 'JSON object with only a OrderCreate property.' - type: object - properties: - OrderCreate: OrderCreate - -OrderCreate: - description: 'This class is used to create order.' - type: object - properties: - source: - type: string - OrderUser: - type: OrderUser - OrderCurrency: - type: OrderCurrency - OrderValue: - type: OrderValue - OrderCompany: - type: OrderCompany - items: - type: OrderItemWrapper[] - -OrderUpdateWrapper: - description: 'JSON object with only a OrderUpdate property.' - type: object - properties: - OrderUpdate: OrderUpdate - -OrderUpdate: - description: 'This class is used to update order.' - type: object - properties: - status: - type: string - transition: - type: string - -OrderItemWrapper: - description: 'JSON object with only a OrderItem property.' - type: object - properties: - OrderItem: OrderItem - -OrderItem: - description: 'This class represents order item.' - type: object - properties: - OrderItemValue: - type: OrderItemValue - OrderItemProduct: - type: OrderItemProduct - quantity: - type: integer - required: false - context: - type: object - required: false - -OrderPrice: - type: object - properties: - amount: - type: string - currency: - type: string - -OrderItemValue: - description: 'This class represents order item value.' - type: object - properties: - unit_price_gross: - type: string | OrderPrice - unit_price_net: - type: string | OrderPrice - vat_rate: - type: string - subtotal_price_gross: - type: string | OrderPrice - subtotal_price_net: - type: string | OrderPrice - -OrderItemProduct: - description: 'This class represents order item product.' - type: object - properties: - id: - type: integer - code: - type: string - name: - type: string - -CorporateAccountRootWrapper: - description: 'JSON object with only a CorporateAccountRoot property.' - type: object - properties: - CorporateAccountRoot: CorporateAccountRoot - -CorporateAccountRoot: - description: 'This class represents Corporate Account Root resource information.' - type: object - properties: - links: - type: Link[] - xml: - wrapped: false - -Link: - description: 'This class represents REST resource information.' - type: BaseObject - properties: - _rel: - description: 'Unique identifier of a resource.' - type: string - xml: - attribute: true - name: rel - -CompanyWrapper: - description: 'JSON object with only a Company property.' - type: object - properties: - Company: Company - -Company: - description: 'This class represents a company.' - type: object - properties: - id: - type: integer - name: - type: string - Content: - type: Content - billingAddress: - type: BillingAddress - contactId: - type: integer | nil - salesRepresentativeId: - type: integer - defaultAddressId: - type: integer | nil - addressBookId: - description: 'Address book Folder Content ID.' - type: integer - membersId: - description: 'Members Folder Content ID.' - type: integer - MemberList: - description: 'Reference to Members List resource.' - type: BaseObject - Location: - description: 'Reference to Location resource.' - type: BaseObject - locationPath: - description: 'Company content item Location path string.' - type: string - isActive: - type: boolean - -BillingAddress: - type: object - properties: - name: string | nil - country: string | nil - fields: object | array - -CompanyCreateWrapper: - description: 'JSON object with only a CompanyCreate property.' - type: object - properties: - CompanyCreate: CompanyCreate - -CompanyCreate: - description: 'This class is used to create a company.' - type: object - properties: - fields: - properties: - field: - description: 'Fields of a Company content item.' - type: Field[] - -CompanyUpdateWrapper: - description: 'JSON object with only a CompanyUpdate property.' - type: object - properties: - CompanyUpdate: CompanyUpdate - -CompanyUpdate: - description: 'This class is used to update a Company.' - type: object - properties: - fields: - properties: - field: - description: 'Fields of a Company content item.' - type: Field[] - -CompanyListWrapper: - description: 'JSON object with only a CompanyList property.' - type: object - properties: - CompanyList: CompanyList - -CompanyList: - description: 'This class represents a list of companies.' - type: object - properties: - companies: - type: Company[] - -MemberWrapper: - description: 'JSON object with only a Member property.' - type: object - properties: - Member: Member - -Member: - description: 'This class represents a company member.' - type: object - properties: - id: - type: integer - name: - type: string - Company: - type: Company - User: - description: 'Underlying User object of a member.' - type: User - Role: - description: 'Reference to the member role in a Company resource.' - type: BaseObject - -MemberListWrapper: - description: 'JSON object with only a MemberList property.' - type: object - properties: - MemberList: MemberList - -MemberList: - description: 'This class represents a list of company members.' - type: object - properties: - members: - type: Member[] - -MemberCreateWrapper: - description: 'JSON object with only a MemberCreate property.' - type: object - properties: - MemberCreate: MemberCreate - -MemberCreate: - description: 'This class is used to create a member.' - type: object - properties: - login: - type: string - email: - type: string - password: - type: string - Role: - description: 'Reference to a Role resource company member should be given.' - type: BaseObject - fields: - properties: - field: - description: 'Fields of a Member content item.' - type: Field[] - -MemberUpdateWrapper: - description: 'JSON object with only a MemberUpdate property.' - type: object - properties: - MemberUpdate: MemberUpdate - -MemberUpdate: - description: 'This class is used to update a member.' - type: object - properties: - email: - type: string - password: - type: string - enabled: - type: boolean - maxLogin: - description: 'Max number of failed login attempts.' - type: integer - Role: - description: 'Reference to a Role resource company member should be given.' - type: BaseObject - fields: - properties: - field: - description: 'Fields of a Member content item.' - type: Field[] - -ErrorMessage: - description: 'Represents an error response. Might contain additional properties depending on an error type.' - type: object - properties: - errorCode: - type: integer - errorMessage: - type: string - errorDescription: - type: string - -PaymentMethodWrapper: - description: 'JSON object with only a PaymentMethod property.' - type: object - properties: - PaymentMethod: PaymentMethod - -PaymentMethod: - type: object - properties: - id: - type: integer - required: true - identifier: - type: string - required: true - enabled: - type: boolean - required: true - name: - type: string - required: true - description: - type: string - required: true - -PaymentMethodCreateStructWrapper: - description: 'JSON object with only a PaymentMethodCreateStruct property.' - type: object - properties: - PaymentMethodCreateStruct: PaymentMethodCreateStruct - -PaymentMethodCreateStruct: - type: object - properties: - identifier: - type: string - required: true - type: - type: string - required: true - names: - description: 'If set this array of names with languageCode keys replace the complete name collection.' - type: object - descriptions: - description: 'An array of descriptions with languageCode keys.' - type: string[] - required: false - enabled: - type: boolean - required: false - options: - type: object - required: false - -PaymentMethodUpdateStructWrapper: - description: 'JSON object with only a PaymentMethodUpdateStruct property.' - type: object - properties: - PaymentMethodUpdateStruct: PaymentMethodUpdateStruct - -PaymentMethodUpdateStruct: - type: object - properties: - identifier: - type: string - required: false - names: - description: 'If set this array of names with languageCode keys replace the complete name collection.' - type: object - required: false - descriptions: - description: 'An array of descriptions with languageCode keys.' - type: string[] - required: false - enabled: - type: boolean - required: false - options: - type: array - items: any - required: false - -PaymentMethodViewWrapper: - description: 'JSON object with only a PaymentMethodView property.' - type: object - properties: - PaymentMethodView: PaymentMethodView - -PaymentMethodView: - type: object - properties: - identifier: - type: string - required: true - Result: - type: PaymentMethodList - required: true - -PaymentMethodList: - type: object - properties: - count: - type: integer - required: true - PaymentMethodList: - type: PaymentMethod[] - required: true - -PaymentMethodViewInputWrapper: - description: 'JSON object with only a PaymentMethodViewInput property.' - type: object - properties: - PaymentMethodViewInput: PaymentMethodViewInput - -PaymentMethodViewInput: - type: object - properties: - identifier: - type: string - required: true - PaymentMethodQuery: - type: object - required: true - -ShipmentWrapper: - description: 'JSON object with only a Shipment property.' - type: object - properties: - Shipment: Shipment - -Shipment: - description: 'This class represents a single shipment.' - type: object - properties: - id: - type: integer - identifier: - type: string - status: - type: string - transitions: - type: object - properties: - transitionList: - description: 'Next steps available in the shipment workflow for the current status' - type: string[] - Order: - type: Ref - Amount: - type: object - properties: - value: - type: string - currency: - type: string - createdAt: - type: datetime - updatedAt: - type: datetime - Owner: - type: Ref - Method: - type: Ref - -ShipmentRefListWrapper: - description: 'JSON object with only a ShipmentRefList property.' - type: object - properties: - ShipmentRefList: ShipmentRefList - -ShipmentRefList: - description: 'This class represents a list of Shipments' - type: object - properties: - shipmentRefList: - type: Ref[] - -ShipmentCreateWrapper: - description: 'JSON object with only a ShipmentCreate property.' - type: object - properties: - ShipmentCreate: ShipmentCreate - -ShipmentCreate: - description: 'This class represents the creation of a shipment.' - type: object - properties: - identifier: - type: string - ShippingMethod: - type: Ref - Owner: - type: Ref - Context: - type: object - -ShipmentUpdateWrapper: - description: 'JSON object with only a ShipmentUpdate property.' - type: object - properties: - ShipmentUpdate: ShipmentUpdate - -ShipmentUpdate: - description: 'This class represents the update of a shipment.' - type: object - properties: - identifier: - type: string - transition: - type: string - Owner: - type: Ref - Context: - type: object - -ShippingMethodWrapper: - description: 'JSON object with only a ShippingMethod property.' - type: object - properties: - ShippingMethod: ShippingMethod - -ShippingMethod: - description: 'This class represents a shipping method.' - type: object - properties: - identifier: - type: string - name: - type: string - names: - type: object - properties: - value: - type: MultilingualValue[] - description: - type: string - descriptions: - type: object - properties: - value: - type: MultilingualValue[] - enabled: - type: boolean - options: - type: object - properties: - option: - type: KeyValue[] - regions: - type: object - properties: - RegionRefList: - type: Ref[] - type: - type: Ref - -MultilingualValue: - description: 'Object that represents a multilingual (translated) value.' - type: Value - properties: - _languageCode: - description: 'Language code.' - type: string - '#text': - description: 'Translation contents.' - type: string | nil - -KeyValue: - description: 'Key-value structure' - type: object - properties: - _key: - type: string - '#text': - type: string | nil - -ShippingMethodRefListWrapper: - description: 'JSON object with only a ShippingMethodRefList property.' - type: object - properties: - ShippingMethodRefList: ShippingMethodRefList - -ShippingMethodRefList: - description: 'This class represents a list of shipping methods' - type: object - properties: - ShippingMethodRefs: - type: Ref[] - -ShippingMethodTypeWrapper: - description: 'JSON object with only a ShippingMethodType property.' - type: object - properties: - ShippingMethodType: ShippingMethodType - -ShippingMethodType: - description: 'This class represents a shipping method type.' - type: object - properties: - identifier: - type: string - name: - type: string - -ShippingMethodTypesListWrapper: - description: 'JSON object with only a ShippingMethodTypesList property.' - type: object - properties: - ShippingMethodTypesList: ShippingMethodTypesList - -ShippingMethodTypesList: - description: 'This class represents a list of shipping method types.' - type: object - properties: - ShippingMethodTypes: - type: ShippingMethodType[] - -SalesRepresentativesListWrapper: - description: 'JSON object with only a SalesRepresentativesList property.' - type: object - properties: - SalesRepresentativesList: SalesRepresentativesList - -SalesRepresentativesList: - description: 'This class represents a list of sales representatives.' - type: BaseObject - properties: - users: - type: User[] - -ActivityLogGroupListInputWrapper: - description: 'JSON object with only a ActivityLogGroupListInput property.' - type: object - properties: - ActivityLogGroupListInput: ActivityLogGroupListInput - -ActivityLogGroupListInput: - description: "This class represents the activity log group search query's criteria and sort clauses." - type: object - -ActivityLogGroupListWrapper: - description: 'JSON object with only a ActivityLogGroupList property.' - type: object - properties: - ActivityLogGroupList: ActivityLogGroupList - -ActivityLogGroupList: - description: "This class represents activity log context groups" - type: object - properties: - ActivityLogGroups: - type: ActivityLogGroup[] - -ActivityLogGroup: - type: object - properties: - user_id: - type: integer - description: "The ID of the user performing the logged actions" - logged_at: - type: integer - description: "Timestamp representing when the group has been logged" - ActivityLogEntries: - type: ActivityLog[] - description: "Log entries from the group" - -ActivityLog: - description: 'This class represents an activity log entry.' - type: object - -GenerateAltTextWrapper: - type: object - description: 'JSON object with only the GenerateAltText property.' - properties: - GenerateAltText: - type: object - description: 'Object containing the input data for the GenerateAltText action type.' - properties: - Image: - type: object - description: 'Object representing the input image.' - properties: - base64: - type: string - description: 'Base64 encoded image.' - RuntimeContext: - type: object - description: 'Additional data passed to the action' - -RefineTextWrapper: - type: object - description: 'JSON object with only the RefineText property.' - properties: - RefineText: - type: object - description: 'Encapsulates the text refinement response.' - properties: - _media-type: - type: string - description: 'Specifies the media type of the RefineText object.' - Text: - type: object - description: 'Contains the refined text.' - properties: - _media_type: - type: string - description: 'Specifies the media type of the text content.' - text: - type: string[] - description: 'An array of text strings containing the refined text.' - -RefineTextInputWrapper: - type: object - description: 'JSON object with only the RefineText property.' - properties: - RefineText: - type: object - description: 'Object containing the text refinement input data.' - properties: - Text: - type: object - description: 'Contains the text content to be refined.' - properties: - text: - type: string - description: 'The raw text that needs to be refined or processed.' - RuntimeContext: - type: object - description: Additional data passed to the action - -AltTextWrapper: - type: object - description: 'JSON object with only the AltText property.' - properties: - AltText: - type: object - description: 'Encapsulates alternative text data.' - properties: - _media-type: - type: string - description: 'Specifies the media type of the AltText object.' - Text: - type: object - description: 'Contains the generated alternative text.' - properties: - _media_type: - type: string - description: 'Specifies the media type of the text content.' - text: - type: string[] - description: 'An array of generated alternative text strings.' - -ActionTypeListWrapper: - type: object - description: 'JSON object with only the ActionTypeList property.' - properties: - ActionTypeList: - type: ActionTypeList - description: 'Object representing a list of Action Types.' - -ActionTypeList: - type: BaseObject - description: 'Object containing an ActionType property with all the Action Types.' - properties: - ActionType: - type: ActionType[] - description: 'Array of ActionType objects.' - -ActionType: - type: BaseObject - propeties: - identifier: - type: string - description: 'Unique identifier for the action type.' - name: - type: string - description: 'Human-readable name of the action type.' - inputIdentifier: - type: string - description: 'Specifies the expected input type of the action.' - outputIdentifier: - type: string - description: 'Specifies the expected output type of the action.' - options: - type: object - description: 'Additional configurable options that define the behavior of the action type.' - -ActionConfigurationListInput: - type: object - description: 'Input parameters for filtering and paginating a list of action configurations.' - properties: - query: - type: string - description: 'Search query to filter action configurations by name.' - action_type_identifier: - type: string - description: 'Identifier of the action type to filter configurations.' - enabled: - type: boolean - description: 'Filters action configurations based on their enabled status.' - limit: - type: integer - description: 'Maximum number of action configurations to return.' - page: - type: integer - description: 'Specifies the page number for paginated results.' - -ActionConfigurationListInputWrapper: - type: object - description: 'Wrapper object for ActionConfigurationListInput.' - properties: - ActionConfigurationListInput: - type: ActionConfigurationListInput - description: 'Object describing the criteria used to search for Action Configurations.' - -ActionConfigurationListWrapper: - type: object - description: 'Wrapper object for a list of action configurations.' - properties: - ActionConfigurationList: - type: ActionConfigurationList - description: 'List of action configurations.' - -ActionConfigurationList: - type: BaseObject - description: 'A collection of action configurations.' - properties: - ActionConfiguration: - type: ActionConfiguration[] - description: 'An array of action configurations, each defining a specific action and its settings.' - -ActionConfiguration: - type: BaseObject - properties: - identifier: - type: string - description: 'Unique identifier for the action configuration.' - name: - type: string - description: 'Human-readable name of the action configuration.' - description: - type: string - description: 'Description of the action configuration.' - enabled: - type: boolean - description: 'Indicates whether the action is enabled or disabled.' - ActionType: - type: ActionType - description: 'Defines the type of action being configured, including its input and output.' - actionTypeOptions: - type: object - description: 'Additional options specific to the action type, allowing customization of its behavior.' - actionHandlerIdentifier: - type: string - description: 'Identifier for the handler responsible for executing the action.' - ActionHandlerOptions: - type: object - description: 'Configuration options for the action handler, such as parameters controlling its execution.' - createdAt: - type: datetime - description: 'Timestamp indicating when the action configuration was created.' - updatedAt: - type: datetime - description: 'Timestamp indicating when the action configuration was last updated.' - diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-user-current.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-user-current.raml deleted file mode 100644 index 64af42a368..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-user-current.raml +++ /dev/null @@ -1,21 +0,0 @@ -get: - displayName: Load current User - description: Loads the current user. - headers: - Accept: - description: If set, the User is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.User+xml - application/vnd.ibexa.api.User+json - responses: - 200: - description: OK - the User with the given ID. - body: - application/vnd.ibexa.api.User+xml: - type: UserList - example: !include examples/user/users/user_id/GET/User.xml.example - application/vnd.ibexa.api.User+json: - type: UserListWrapper - example: !include examples/user/users/user_id/GET/User.json.example - 401: - description: Error - the user has no permission to read Users. For example, Anonymous user can't load oneself. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-user-groups.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-user-groups.raml deleted file mode 100644 index 5cd5fb5e09..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-user-groups.raml +++ /dev/null @@ -1,407 +0,0 @@ -get: - displayName: Load User Groups - description: Loads User Groups for either an an ID or a remote ID or a Role. - queryParameters: - roleId: - description: Lists User Groups assigned to the given Role (e.g. GET /user/groups?roleId=1). - id: - description: Retrieves the User Groups for the given ID. - remoteID: - description: Retrieves the User Groups for the given remote ID. - headers: - Accept: - description: UserGroupList - If set, the User Group List is returned in XML or JSON format. UserGroupRefList - If set, the link list of User Group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroupList+xml - application/vnd.ibexa.api.UserGroupList+json - application/vnd.ibexa.api.UserGroupRefList+xml - application/vnd.ibexa.api.UserGroupRefList+json - responses: - 200: - body: - application/vnd.ibexa.api.UserGroupList+xml: - type: UserGroupList - example: !include examples/user/groups/GET/UserGroupList.xml.example - application/vnd.ibexa.api.UserGroupList+json: - type: UserGroupListWrapper - example: !include examples/user/groups/GET/UserGroupList.json.example - application/vnd.ibexa.api.UserGroupRefList+xml: - type: UserGroupRefList - application/vnd.ibexa.api.UserGroupRefList+json: - type: UserGroupRefListWrapper - 401: - description: Error - the user has no permission to read User Groups. -/root: - get: - # Currently does not work - displayName: Get root User Group - description: Redirects to the root User Group. - responses: - 301: - description: Moved permanently. -/subgroups: - post: - displayName: Create a top level User Group - description: Creates a top level User Group under the root. To create a child group under a parent group use '/user/groups/{path}/subgroups'. - headers: - Accept: - description: If set, the new User Group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroup+xml - application/vnd.ibexa.api.UserGroup+json - Content-Type: - description: The UserGroupCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroupCreate+json - application/vnd.ibexa.api.UserGroupCreate+xml - body: - application/vnd.ibexa.api.UserGroupCreate+xml: - type: UserGroupCreate - example: !include examples/user/groups/path/subgroups/POST/UserGroupCreate.xml.example - application/vnd.ibexa.api.UserGroupCreate+json: - type: UserGroupCreateWrapper - example: !include examples/user/groups/path/subgroups/POST/UserGroupCreate.json.example - responses: - 201: - description: Created - the User Group has been created - body: - application/vnd.ibexa.api.UserGroup+xml: - type: UserGroup - example: !include examples/user/groups/path/subgroups/POST/UserGroup.xml.example - application/vnd.ibexa.api.UserGroup+json: - type: UserGroupWrapper - example: !include examples/user/groups/path/subgroups/POST/UserGroup.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this User Group. -/{path}: - get: - displayName: Load User Group - description: Loads User Groups for the given {path}. - headers: - Accept: - description: If set, the new User Group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroup+xml - application/vnd.ibexa.api.UserGroup+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - loads User Groups. - body: - application/vnd.ibexa.api.UserGroup+xml: - type: UserGroup - example: !include examples/user/groups/path/GET/UserGroup.xml.example - application/vnd.ibexa.api.UserGroup+json: - type: UserGroupWrapper - example: !include examples/user/groups/path/GET/UserGroup.json.example - 401: - description: Error - the user has no permission to read User Groups. - 404: - description: Error - the User Group does not exist. - patch: - displayName: Update User Group - description: Updates a User Group. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the new User Group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroup+xml - application/vnd.ibexa.api.UserGroup+json - Content-Type: - description: The UserGroupUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroupUpdate+json - application/vnd.ibexa.api.UserGroupUpdate+xml - If-Match: - description: Performs the PATCH only if the specified ETag is the current one. Otherwise a 412 is returned. - example: ETag - body: - application/vnd.ibexa.api.UserGroupUpdate+xml: - type: UserGroupUpdate - example: !include examples/user/groups/path/PATCH/UserGroupUpdate.xml.example - application/vnd.ibexa.api.UserGroupUpdate+json: - type: UserGroupUpdateWrapper - example: !include examples/user/groups/path/PATCH/UserGroupUpdate.json.example - responses: - 200: - description: OK - updated User Group. - body: - application/vnd.ibexa.api.UserGroup+xml: - type: UserGroup - example: !include examples/user/groups/path/PATCH/UserGroup.xml.example - application/vnd.ibexa.api.UserGroup+json: - type: UserGroupWrapper - example: !include examples/user/groups/path/PATCH/UserGroup.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update the User Group. - 412: - description: Error - if the current ETag does not match with the one provided in the If-Match header. - delete: - displayName: Delete User Group - description: The given User Group is deleted. - responses: - 204: - description: No content - the given User Group is deleted. - 401: - description: Error - the user is not authorized to delete this content type. - 403: - description: Error - the User Group is not empty. - move: - displayName: Move User Group - description: Moves the User Group to another parent. MOVE or POST with header X-HTTP-Method-Override MOVE. - headers: - Destination: - description: A parent group resource to which the Location is moved. - responses: - 201: - description: Created - moves the User Group to another parent. - 401: - description: Error - the user is not authorized to update the User Group. - 403: - description: Error - the new parent does not exist. - 404: - description: Error - the User Group does not exist. - /users: - get: - displayName: Load Users of Group - description: Loads the Users of the Group with the given ID. - queryParameters: - limit: - description: Only 'limit' items will be returned started by offset. - offset: - description: Offset of the result set. - headers: - Accept: - description: UserList - If set, the User list returned in XML or JSON format. UserRefList - If set, the link list of Users returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserList+xml - application/vnd.ibexa.api.UserList+json - application/vnd.ibexa.api.UserRefList+xml - application/vnd.ibexa.api.UserRefList+json - responses: - 200: - description: OK - the Users of the Group with the given ID. - body: - application/vnd.ibexa.api.UserList+xml: - type: UserList - application/vnd.ibexa.api.UserList+json: - type: UserList - application/vnd.ibexa.api.UserRefList+xml: - type: UserRefList - example: !include examples/user/groups/id/users/GET/UserRefList.xml.example - application/vnd.ibexa.api.UserRefList+json: - type: UserRefListWrapper - example: !include examples/user/groups/id/users/GET/UserRefList.json.example - 401: - description: Error - the user has no permission to read User Groups. - 404: - description: Error - the User Group does not exist. - post: - displayName: Create User - description: Creates a new User in the given Group. - headers: - Accept: - description: If set, the new User is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.User+xml - application/vnd.ibexa.api.User+json - Content-Type: - description: The UserCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.UserCreate+json - application/vnd.ibexa.api.UserCreate+xml - body: - application/vnd.ibexa.api.UserCreate+xml: - type: UserCreate - example: !include examples/user/groups/path/users/POST/UserCreate.xml.example - application/vnd.ibexa.api.UserCreate+json: - type: UserCreateWrapper - example: !include examples/user/groups/path/users/POST/UserCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.User+xml: - type: User - example: !include examples/user/groups/path/users/POST/User.xml.example - application/vnd.ibexa.api.User+json: - type: UserWrapper - example: !include examples/user/groups/path/users/POST/User.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this User. - 403: - description: Error - a User with the same login already exists. - 404: - description: Error - the Group with the given ID does not exist. - /subgroups: - get: - displayName: Load subgroups - description: Returns a list of the subgroups. - queryParameters: - limit: - description: The number of Locations returned. - offset: - description: The offset of the result set. - headers: - Accept: - description: UserGroupList - If set, the User Group list is returned in XML or JSON format. UserGroupRefList - If set, the link list of User Groups is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroupList+xml - application/vnd.ibexa.api.UserGroupList+json - application/vnd.ibexa.api.UserGroupRefList+xml - application/vnd.ibexa.api.UserGroupRefList+json - responses: - 200: - description: OK - list of the subgroups. - body: - application/vnd.ibexa.api.UserGroupList+xml: - type: UserGroupList - application/vnd.ibexa.api.UserGroupList+json: - type: UserGroupListWrapper - application/vnd.ibexa.api.UserGroupRefList+xml: - type: UserGroupRefList - example: !include examples/user/groups/id/subgroups/GET/UserGroupRefList.xml.example - application/vnd.ibexa.api.UserGroupRefList+json: - type: UserGroupRefListWrapper - example: !include examples/user/groups/id/subgroups/GET/UserGroupRefList.json.example - 401: - description: Error - the user has no permission to read User Groups. - 404: - description: Error - the User Group does not exist. - post: - displayName: Create User Group - description: Creates a new User Group under the given parent. To create a top level group use '/user/groups/subgroups'. - headers: - Accept: - description: If set, the new User Group is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroup+xml - application/vnd.ibexa.api.UserGroup+json - Content-Type: - description: The UserGroupCreate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroupCreate+json - application/vnd.ibexa.api.UserGroupCreate+xml - body: - application/vnd.ibexa.api.UserGroupCreate+xml: - type: UserGroupCreate - example: !include examples/user/groups/path/subgroups/POST/UserGroupCreate.xml.example - application/vnd.ibexa.api.UserGroupCreate+json: - type: UserGroupCreateWrapper - example: !include examples/user/groups/path/subgroups/POST/UserGroupCreate.json.example - responses: - 201: - body: - application/vnd.ibexa.api.UserGroup+xml: - type: UserGroup - example: !include examples/user/groups/path/subgroups/POST/UserGroup.xml.example - application/vnd.ibexa.api.UserGroup+json: - type: UserGroupWrapper - example: !include examples/user/groups/path/subgroups/POST/UserGroup.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create this User Group. - /roles: - get: - displayName: Load Roles for User Group - description: Returns a list of all Roles assigned to the given User Group. - headers: - Accept: - description: If set, the Role assignment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignmentList+xml - application/vnd.ibexa.api.RoleAssignmentList+json - responses: - 200: - body: - application/vnd.ibexa.api.RoleAssignmentList+xml: - type: RoleAssignmentList - example: !include examples/user/groups/path/roles/GET/RoleAssignmentList.xml.example - application/vnd.ibexa.api.RoleAssignmentList+json: - type: RoleAssignmentListWrapper - #example: !include examples/user/groups/path/roles/GET/RoleAssignmentList.json.example - 400: - description: Error - the user has no permission to read Roles. - post: - displayName: Assign Role to User Group - description: Assigns a Role to a User Group. - headers: - Accept: - description: If set, the updated Role assignment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignmentList+xml - application/vnd.ibexa.api.RoleAssignmentList+json - Content-Type: - description: The RoleAssignInput schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignInput+json - application/vnd.ibexa.api.RoleAssignInput+xml - body: - application/vnd.ibexa.api.RoleAssignInput+xml: - type: RoleAssignInput - example: !include examples/user/groups/path/roles/POST/RoleAssignInput.xml.example - application/vnd.ibexa.api.RoleAssignInput+json: - type: RoleAssignInputWrapper - example: !include examples/user/groups/path/roles/POST/RoleAssignInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.RoleAssignmentList+xml: - type: RoleAssignmentList - example: !include examples/user/groups/path/roles/POST/RoleAssignmentList.xml.example - application/vnd.ibexa.api.RoleAssignmentList+json: - type: RoleAssignmentListWrapper - example: !include examples/user/groups/path/roles/POST/RoleAssignmentList.json.example - 400: - description: Error - validation of limitation in RoleAssignInput fails. - 401: - description: Error - the user is not authorized to assign this Role. - /{roleId}: - get: - displayName: Load User Group Role Assignment - description: Returns a Role assignment of the given User Group. - headers: - Accept: - description: If set, the Role assignment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignment+xml - application/vnd.ibexa.api.RoleAssignment+json - responses: - 200: - description: OK - returns a Role assignment of the given User Group. - body: - application/vnd.ibexa.api.RoleAssignment+xml: - type: RoleAssignment - example: !include examples/user/groups/path/roles/role_id/GET/RoleAssignment.xml.example - application/vnd.ibexa.api.RoleAssignment+json: - type: RoleAssignmentWrapper - example: !include examples/user/groups/path/roles/role_id/GET/RoleAssignment.json.example - 401: - description: Error - the user has no permission to read Roles. - delete: - displayName: Unassign Role from User Group - description: The given Role is removed from the User or User Group. - headers: - Accept: - description: If set, the updated Role assignment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignmentList+xml - application/vnd.ibexa.api.RoleAssignmentList+json - responses: - 200: - body: - application/vnd.ibexa.api.RoleAssignmentList+xml: - type: RoleAssignmentList - example: !include examples/user/groups/path/roles/role_id/DELETE/RoleAssignmentList.xml.example - application/vnd.ibexa.api.RoleAssignmentList+json: - type: RoleAssignmentListWrapper - example: !include examples/user/groups/path/roles/role_id/DELETE/RoleAssignmentList.json.example - 401: - description: Error - the user is not authorized to delete this Role assignment. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-user-policies.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-user-policies.raml deleted file mode 100644 index 686c107ff9..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-user-policies.raml +++ /dev/null @@ -1,24 +0,0 @@ -get: - displayName: List Policies for User - description: Search all Policies which are applied to a given User. - queryParameters: - userId: - description: The User ID. - headers: - Accept: - description: If set, the Policy list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.PolicyList+xml - application/vnd.ibexa.api.PolicyList+json - responses: - 200: - description: OK - Policies which are applied to a given User. - body: - application/vnd.ibexa.api.PolicyList+xml: - type: PolicyList - example: !include examples/user/policies/GET/PolicyList.xml.example - application/vnd.ibexa.api.PolicyList+json: - type: PolicyListWrapper - example: !include examples/user/policies/GET/PolicyList.json.example - 401: - description: Error - the user has no permission to read Roles. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-user-roles.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-user-roles.raml deleted file mode 100644 index f8da41075c..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-user-roles.raml +++ /dev/null @@ -1,397 +0,0 @@ -get: - displayName: Load Roles - description: Returns a list of all Roles. - queryParameters: - identifier: - description: Restricts the result to a list containing the Role with the given identifier. If the Role is not found an empty list is returned. - offset: - description: The offset of the result set. - type: integer - limit: - description: Only limit items will be returned started by offset. - type: integer - headers: - Accept: - description: If set, the user list returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleList+xml - application/vnd.ibexa.api.RoleList+json - responses: - 200: - description: OK - list of all Roles. - body: - application/vnd.ibexa.api.RoleList+xml: - type: RoleList - example: !include examples/user/roles/GET/RoleList.xml.example - application/vnd.ibexa.api.RoleList+json: - type: RoleListWrapper - example: !include examples/user/roles/GET/RoleList.json.example - 401: - description: Error - the user has no permission to read Roles. -post: - displayName: Create Role or Role draft - description: Creates a new Role or Role draft. - queryParameters: - publish: - type: boolean - description: If true the Role is published after creation. - default: true - headers: - Accept: - description: If set, the new user is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Role+xml - application/vnd.ibexa.api.Role+json - application/vnd.ibexa.api.RoleDraft+xml - application/vnd.ibexa.api.RoleDraft+json - Content-Type: - description: The RoleInput schema encoded in XML or JSON. - example: | - application/vnd.ibexa.api.RoleInput+json - application/vnd.ibexa.api.RoleInput+xml - body: - application/vnd.ibexa.api.RoleInput+xml: - type: RoleInput - example: !include examples/user/roles/POST/RoleInput.xml.example - application/vnd.ibexa.api.RoleInput+json: - type: RoleInputWrapper - example: !include examples/user/roles/POST/RoleInput.json.example - responses: - 201: - body: - application/vnd.ibexa.api.Role+xml: - type: Role - example: !include examples/user/roles/POST/Role.xml.example - application/vnd.ibexa.api.Role+json: - type: RoleWrapper - example: !include examples/user/roles/POST/Role.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to create a Role or a Role draft. -/{id}: - get: - displayName: Load Role - description: Loads a Role for the given ID. - headers: - Accept: - description: If set, the user list returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Role+xml - application/vnd.ibexa.api.Role+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - Role for the given ID. - body: - application/vnd.ibexa.api.Role+xml: - type: Role - example: !include examples/user/roles/id/GET/Role.xml.example - application/vnd.ibexa.api.Role+json: - type: RoleWrapper - example: !include examples/user/roles/id/GET/Role.json.example - 401: - description: Error - the user has no permission to read Roles. - 404: - description: Error - the Role does not exist. - post: - displayName: Create Role Draft - description: Creates a new Role draft from an existing Role. - headers: - Accept: - description: If set, the new user is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Role+xml - application/vnd.ibexa.api.Role+json - Content-Type: - description: The RoleInput schema encoded in XML or JSON. - example: | - application/vnd.ibexa.api.RoleInput+json - application/vnd.ibexa.api.RoleInput+xml - responses: - 201: - body: - application/vnd.ibexa.api.RoleDraft+xml: - type: RoleDraft - example: !include examples/user/roles/id/POST/RoleDraft.xml.example - application/vnd.ibexa.api.RoleDraft+json: - type: RoleDraftWrapper - example: !include examples/user/roles/id/POST/RoleDraft.json.example - 401: - description: Error - the user is not authorized to create a Role or a Role draft - patch: - displayName: Update Role - description: Updates a Role. PATCH or POST with header X-HTTP-Method-Override PATCH - headers: - Accept: - description: If set, the new user is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Role+xml - application/vnd.ibexa.api.Role+json - Content-Type: - description: The RoleInput schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleInput+json - application/vnd.ibexa.api.RoleInput+xml - If-Match: - description: ETag Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. - body: - application/vnd.ibexa.api.RoleInput+xml: - type: RoleInput - example: !include examples/user/roles/id/PATCH/RoleInput.xml.example - application/vnd.ibexa.api.RoleInput+json: - type: RoleInputWrapper - example: !include examples/user/roles/id/PATCH/RoleInput.json.example - responses: - 200: - description: OK - Role updated - body: - application/vnd.ibexa.api.Role+xml: - type: Role - example: !include examples/user/roles/id/PATCH/Role.xml.example - application/vnd.ibexa.api.Role+json: - type: RoleWrapper - example: !include examples/user/roles/id/PATCH/Role.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update the Role. - 412: - description: Error - the current ETag does not match with the provided one in the If-Match header. - delete: - displayName: Delete Role - description: The given Role and all assignments to Users or User Groups are deleted. - responses: - 204: - description: No Content. - 401: - description: Error - the User is not authorized to delete this Role. - /draft: - get: - displayName: Load Role draft - description: Loads a Role draft by original Role ID. - headers: - Accept: - description: If set, the User list returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Role+xml - application/vnd.ibexa.api.Role+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - Role draft by original Role ID. - body: - application/vnd.ibexa.api.Role+xml: - type: Role - example: !include examples/user/roles/id/draft/GET/Role.xml.example - application/vnd.ibexa.api.Role+json: - type: RoleWrapper - example: !include examples/user/roles/id/draft/GET/Role.json.example - 401: - description: Error - the user has no permission to read Roles. - 404: - description: Error - there is no draft or Role with the given ID. - patch: - displayName: Update Role draft - description: Updates a Role draft. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated Role is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Role+xml - application/vnd.ibexa.api.Role+json - Content-Type: - description: The RoleInput schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleInput+json - application/vnd.ibexa.api.RoleInput+xml - If-Match: - description: Performs a PATCH only if the specified ETag is the current one. Otherwise a 412 is returned. - body: - application/vnd.ibexa.api.RoleInput+xml: - type: RoleInput - example: !include examples/user/roles/id/draft/PATCH/RoleInput.xml.example - application/vnd.ibexa.api.RoleInput+json: - type: RoleInputWrapper - example: !include examples/user/roles/id/draft/PATCH/RoleInput.json.example - responses: - 200: - description: OK - Role draft updated. - body: - application/vnd.ibexa.api.Role+xml: - type: Role - example: !include examples/user/roles/id/draft/PATCH/Role.xml.example - application/vnd.ibexa.api.Role+json: - type: RoleWrapper - example: !include examples/user/roles/id/draft/PATCH/Role.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update the Role. - 404: - description: Error - there is no draft or Role with the given ID. - 412: - description: Error - the current ETag does not match with the one provided in the If-Match header. - publish: - displayName: Publish Role draft - description: Publishes a Role draft. PUBLISH or POST with header X-HTTP-Method-Override PUBLISH. - responses: - 204: - description: No Content. - 401: - description: Error - the user is not authorized to publish this content type draft. - 403: - description: Error - the content type draft is not complete e.g. there is no Field definition provided. - 404: - description: Error - there is no draft or Role with the given ID. - delete: - displayName: Delete Role draft - description: The given Role draft is deleted. - responses: - 204: - description: No Content. - 401: - description: Error - the user is not authorized to delete this Role. - /policies: - get: - displayName: Load Policies - description: Loads Policies for the given Role. - headers: - Accept: - description: If set, the Policy list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.PolicyList+xml - application/vnd.ibexa.api.PolicyList+json - responses: - 200: - body: - application/vnd.ibexa.api.PolicyList+xml: - type: PolicyList - example: !include examples/user/roles/id/policies/GET/PolicyList.xml.example - application/vnd.ibexa.api.PolicyList+json: - type: PolicyListWrapper - example: !include examples/user/roles/id/policies/GET/PolicyList.json.example - 401: - description: Error - the user has no permission to read Roles. - 404: - description: Error - the Role does not exist. - delete: - displayName: Delete Policies - description: All Policies of the given Role are deleted. - responses: - 204: - description: No Content - all Policies of the given Role are deleted. - 401: - description: Error - the user is not authorized to delete this content type. - post: - # Currently does not work - displayName: Create Policy - description: Creates a Policy - headers: - Accept: - description: If set, the updated Policy is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Policy+xml - application/vnd.ibexa.api.Policy+json - Content-Type: - description: If set, the updated Policy is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.PolicyCreate+xml - application/vnd.ibexa.api.PolicyCreate+json - body: - application/vnd.ibexa.api.PolicyCreate+xml: - type: PolicyCreate - example: !include examples/user/roles/id/policies/POST/PolicyCreate.xml.example - application/vnd.ibexa.api.PolicyCreate+json: - type: PolicyCreateWrapper - responses: - 201: - body: - application/vnd.ibexa.api.Policy+xml: - type: Policy - example: !include examples/user/roles/id/policies/POST/Policy.xml.example - application/vnd.ibexa.api.Policy+json: - type: PolicyWrapper - 400: - description: Error - the input does not match the input schema definition or validation of limitation in PolicyCreate fails. - 401: - description: Error - the user is not authorized to create the Policy. - 404: - description: Error - the Role does not exist. - /{id}: - patch: - # Currently does not work - displayName: Update Policy - description: Updates a Policy. PATCH or POST with header X-HTTP-Method-Override PATCH. - headers: - Accept: - description: If set, the updated Policy is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Policy+xml - application/vnd.ibexa.api.Policy+json - Content-Type: - description: If set, the updated Policy is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.PolicyUpdate+xml - application/vnd.ibexa.api.PolicyUpdate+json - If-Match: - description: Causes to patch only if the specified ETag is the current one. Otherwise a 412 is returned. - example: ETag - body: - application/vnd.ibexa.api.PolicyUpdate+xml: - type: PolicyUpdate - example: !include examples/user/roles/id/policies/id/PATCH/PolicyUpdate.xml.example - application/vnd.ibexa.api.PolicyUpdate+json: - type: PolicyUpdateWrapper - responses: - 200: - body: - application/vnd.ibexa.api.Policy+xml: - type: Policy - example: !include examples/user/roles/id/policies/id/PATCH/Policy.xml.example - application/vnd.ibexa.api.Policy+json: - type: PolicyWrapper - 400: - description: Error - the input does not match the input schema definition or validation of limitation in PolicyUpdate fails. - 401: - description: Error - the user is not authorized to update the Policy. - 404: - description: Error - the Role does not exist. - 412: - description: Error - the current ETag does not match with the one provided in the If-Match header. - get: - displayName: Load Policy - description: Loads a Policy for the given module and function. - headers: - Accept: - description: If set, the Policy is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Policy+xml - application/vnd.ibexa.api.Policy+json - If-None-Match: - description: ETag - responses: - 200: - body: - application/vnd.ibexa.api.Policy+xml: - type: Policy - example: !include examples/user/roles/id/policies/id/GET/Policy.xml.example - application/vnd.ibexa.api.Policy+json: - type: PolicyWrapper - example: !include examples/user/roles/id/policies/id/GET/Policy.json.example - 401: - description: Error - the user has no permission to read Roles. - 404: - description: Error - the Role or Policy does not exist. - delete: - displayName: Delete Policy - description: Deletes given Policy. - responses: - 204: - description: No Content - the given Policy is deleted. - 401: - description: Error - the user is not authorized to delete this content type. - 404: - description: Error - the Role or Policy does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-user-sessions.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-user-sessions.raml deleted file mode 100644 index 4d74ce7cab..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-user-sessions.raml +++ /dev/null @@ -1,113 +0,0 @@ -post: - displayName: Create session (login a User) - description: Performs a login for the user or checks if session exists and returns the session and session cookie. The client will need to remember both session name/ID and CSRF token as this is for security reasons not exposed via GET. - headers: - Accept: - description: If set, the session is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Session+xml - application/vnd.ibexa.api.Session+json - Content-Type: - description: The SessionInput schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.SessionInput+xml - application/vnd.ibexa.api.SessionInput+json - Cookie: - description: Only needed for session's checking {sessionName}={sessionID}. - X-CSRF-Token: - description: Only needed for session's checking. The {csrfToken} needed on all unsafe HTTP methods with session. - body: - application/vnd.ibexa.api.SessionInput+xml: - type: SessionInput - example: !include examples/user/sessions/POST/SessionInput.xml.example - application/vnd.ibexa.api.SessionInput+json: - type: SessionInputWrapper - example: !include examples/user/sessions/POST/SessionInput.json.example - responses: - 200: - description: Session already exists. - body: - application/vnd.ibexa.api.Session+xml: - type: Session - example: !include examples/user/sessions/POST/Session.xml.example - application/vnd.ibexa.api.Session+json: - type: SessionWrapper - example: !include examples/user/sessions/POST/Session.json.example - 201: - description: Session is created. - body: - application/vnd.ibexa.api.Session+xml: - type: Session - example: !include examples/user/sessions/POST/Session.xml.example - application/vnd.ibexa.api.Session+json: - type: SessionWrapper - example: !include examples/user/sessions/POST/Session.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the authorization failed. - 409: - description: Error - header contained a session cookie but different user was authorized. -/current: - get: - displayName: Get current session - description: Get current user session, if any. - headers: - Cookie: - description: Only needed for session's checking {sessionName}={sessionID}. - Accept: - description: If set, the session is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.Session+xml - application/vnd.ibexa.api.Session+json - responses: - 200: - description: User is currently logged in and has a valid session. - body: - application/vnd.ibexa.api.Session+xml: - type: Session - example: !include examples/user/sessions/POST/Session.xml.example - application/vnd.ibexa.api.Session+json: - type: SessionWrapper - example: !include examples/user/sessions/POST/Session.json.example - 404: - description: User does not have a valid session, or it has expired. - -/{sessionId}: - delete: - displayName: Delete session (logout a User) - description: The user session is removed i.e. the user is logged out. - headers: - Cookie: - description: "{sessionName}={sessionID}" - X-CSRF-Token: - description: The {csrfToken} needed on all unsafe HTTP methods with session. - responses: - 204: - description: OK - session deleted. - 404: - description: Error - the session does not exist. - /refresh: - post: - displayName: Refresh session (deprecated) - description: Get the session's User information. Deprecated as of Ibexa DXP 4.6, use GET /user/sessions/current instead. - headers: - Cookie: - description: "{sessionName}={sessionID}" - X-CSRF-Token: - description: The {csrfToken} needed on all unsafe HTTP methods with session. - Accept: - example: | - application/vnd.ibexa.api.Session+xml - application/vnd.ibexa.api.Session+json - responses: - 200: - body: - application/vnd.ibexa.api.Session+xml: - type: Session - example: !include examples/user/sessions/session_id/refresh/POST/Session.xml.example - application/vnd.ibexa.api.Session+json: - type: SessionWrapper - example: !include examples/user/sessions/session_id/refresh/POST/Session.json.example - 404: - description: Error - the session does not exist. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-user-token.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-user-token.raml deleted file mode 100644 index 1fffad9268..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-user-token.raml +++ /dev/null @@ -1,33 +0,0 @@ -/jwt: - post: - displayName: Create JWT token - description: Creates JWT authentication token. - headers: - Accept: - description: If set, the token is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.JWT+xml - application/vnd.ibexa.api.JWT+json - Content-Type: - description: The SessionInput schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.JWTInput+xml - application/vnd.ibexa.api.JWTInput+json - body: - application/vnd.ibexa.api.JWTInput+xml: - type: JWTInput - example: !include examples/user/token/jwt/POST/JWTInput.xml.example - application/vnd.ibexa.api.JWTInput+json: - type: JWTInputWrapper - example: !include examples/user/token/jwt/POST/JWTInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.JWT+xml: - type: JWT - example: !include examples/user/token/jwt/POST/JWT.xml.example - application/vnd.ibexa.api.JWT+json: - type: JWTWrapper - example: !include examples/user/token/jwt/POST/JWT.json.example - 401: - description: Error - Unauthorized diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-user-users.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-user-users.raml deleted file mode 100644 index 674b939dd3..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-user-users.raml +++ /dev/null @@ -1,372 +0,0 @@ -get: - displayName: List Users - description: Load Users either for a given remote ID or Role. - queryParameters: - roleId: - description: Lists Users assigned to the given Role (e.g. GET /user/users?roleId=/user/roles/1). - remoteId: - description: Retrieves the User for the given remote ID (e.g. GET /user/users?remoteId=55dd9713db75145f374bbd0b4f60ad29). - login: - description: Retrieves the User for the given login (e.g. GET /user/users?login=editor). - email: - description: Lists Users with the given email (e.g. GET /user/users?email=editor@example.com). - headers: - Accept: - description: UserList - If set, the User list is returned in XML or JSON format. UserRefList - If set, the link list of Users is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserList+xml - application/vnd.ibexa.api.UserList+json - application/vnd.ibexa.api.UserRefList+xml - application/vnd.ibexa.api.UserRefList+json - responses: - 200: - description: OK - Loads Users either for a given remote ID or Role. - body: - application/vnd.ibexa.api.UserList+xml: - type: UserList - application/vnd.ibexa.api.UserList+json: - type: UserListWrapper - example: !include examples/user/users/GET/UserList.json.example - application/vnd.ibexa.api.UserRefList+xml: - type: UserRefList - example: !include examples/user/users/GET/UserRefList.xml.example - application/vnd.ibexa.api.UserRefList+json: - type: UserRefListWrapper - 404: - description: If there are no visibile Users matching the filter. -head: - displayName: Verify Users - description: Verifies if there are Users matching given filter. - queryParameters: - roleId: - description: Checks if there are Users directly assigned to the given Role (e.g. HEAD /user/users?roleId=/user/roles/1). - remoteId: - description: Checks if there is a User for the given remote ID (e.g. HEAD /user/users?remoteId=55dd9713db75145f374bbd0b4f60ad29). - login: - description: Checks if there is a User for the given login (e.g. HEAD /user/users?login=editor). - email: - description: Checks if there is a User with the given email (e.g. HEAD /user/users?email=editor@example.com). - responses: - 200: - description: OK - verifies if there are Users matching the given filter. - 404: - description: Error - there are no visibile Users matching the filter. -/current: - get: - displayName: Load current User - description: Redirects to current User, if available. - headers: - Accept: - description: If set, the User is returned in XML or JSON format (after redirection). - example: | - application/vnd.ibexa.api.User+xml - application/vnd.ibexa.api.User+json - responses: - 307: - description: OK. - headers: - Location: - description: REST endpoint for current user. - 401: - description: User is not currently logged in. -/{userId}: - get: - displayName: Load User - description: Loads User with the given ID. - headers: - Accept: - description: If set, the User is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.User+xml - application/vnd.ibexa.api.User+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - the User with the given ID. - body: - application/vnd.ibexa.api.User+xml: - type: UserList - example: !include examples/user/users/user_id/GET/User.xml.example - application/vnd.ibexa.api.User+json: - type: UserListWrapper - example: !include examples/user/users/user_id/GET/User.json.example - 401: - description: Error - the user has no permission to read Users. - 404: - description: Error - the User does not exist. - patch: - displayName: Update User - description: Updates a User. - headers: - Accept: - description: If set, the updated User is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.User+xml - application/vnd.ibexa.api.User+json - Content-Type: - description: The UserUpdate schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.UserUpdate+json - application/vnd.ibexa.api.UserUpdate+xml - If-Match: - description: Performs a PATCH only if the specified ETag is the current one. - example: ETag - body: - application/vnd.ibexa.api.UserUpdate+xml: - type: UserUpdate - example: !include examples/user/users/user_id/PATCH/UserUpdate.xml.example - application/vnd.ibexa.api.UserUpdate+json: - type: UserUpdateWrapper - example: !include examples/user/users/user_id/PATCH/UserUpdate.json.example - responses: - 200: - description: OK - User updated. - body: - application/vnd.ibexa.api.User+xml: - type: User - example: !include examples/user/users/user_id/PATCH/User.xml.example - application/vnd.ibexa.api.User+json: - type: UserWrapper - example: !include examples/user/users/user_id/PATCH/User.json.example - 400: - description: Error - the input does not match the input schema definition. - 401: - description: Error - the user is not authorized to update the User. - 404: - description: Error - the User does not exist. - 412: - description: Error - the current ETag does not match with the provided one in the If-Match header. - delete: - displayName: Delete User - description: Deletes the given User. - responses: - 204: - description: No Content. - 401: - description: Error - the user is not authorized to delete this User. - 403: - description: Error - the user is the same as the authenticated User. - 404: - description: Error - the User does not exist. - /groups: - get: - displayName: Load Groups of User - description: Returns a list of User Groups the User belongs to. The returned list includes the resources for unassigning a User Group if the User is in multiple groups. - queryParameters: - offset: - description: The offset of the result set. - type: integer - limit: - description: The number of Locations returned. - type: integer - headers: - Accept: - description: If set, the link list of User Groups is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroupRefList+xml - application/vnd.ibexa.api.UserGroupRefList+json - responses: - 200: - body: - application/vnd.ibexa.api.UserGroupRefList+xml: - type: UserGroupRefList - example: !include examples/user/users/user_id/groups/GET/UserGroupRefList.xml.example - application/vnd.ibexa.api.UserGroupRefList+json: - type: UserGroupRefListWrapper - #example: !include examples/user/users/user_id/groups/GET/UserGroupRefList.json.example - 401: - description: Error - the user has no permission to read User Groups. - 404: - description: Error - the user does not exist. - post: - displayName: Assign User Group - description: Assigns the User to a User Group. - queryParameters: - group: - description: The new parent group resource of the User. - headers: - Accept: - description: If set, the link list of User Groups is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroupRefList+xml - application/vnd.ibexa.api.UserGroupRefList+json - responses: - 200: - body: - application/vnd.ibexa.api.UserGroupRefList+xml: - type: UserGroupRefList - example: !include examples/user/users/user_id/groups/POST/UserGroupRefList.xml.example - application/vnd.ibexa.api.UserGroupRefList+json: - type: UserGroupRefListWrapper - example: !include examples/user/users/user_id/groups/POST/UserGroupRefList.json.example - 401: - description: Error - the user is not authorized to assign User Groups. - 403: - description: Error - the new User Group does not exist or the User is already in this group. - 404: - description: Error - the User does not exist. - /{groupId}: - delete: - displayName: Unassign User Group - description: Unassigns the User from a User Group. - headers: - Accept: - description: If set, the link list of User Groups is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserGroupRefList+xml - application/vnd.ibexa.api.UserGroupRefList+json - responses: - 200: - body: - application/vnd.ibexa.api.UserGroupRefList+xml: - type: UserGroupRefList - example: !include examples/user/users/user_id/groups/group_id/DELETE/UserGroupRefList.xml.example - application/vnd.ibexa.api.UserGroupRefList+json: - type: UserGroupRefListWrapper - 401: - description: Error - the user is not authorized to unassign User Groups. - 403: - description: Error - the User is not in the given group. - 404: - description: Error - the User does not exist. - /roles: - get: - displayName: Load Roles for User - description: Returns a list of all Roles assigned to the given User. - headers: - Accept: - description: If set, the Role assignment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignmentList+xml - application/vnd.ibexa.api.RoleAssignmentList+json - responses: - 200: - body: - application/vnd.ibexa.api.RoleAssignmentList+xml: - type: RoleAssignmentList - example: !include examples/user/users/user_id/roles/GET/RoleAssignmentList.xml.example - application/vnd.ibexa.api.RoleAssignmentList+json: - type: RoleAssignmentListWrapper - example: !include examples/user/users/user_id/roles/GET/RoleAssignmentList.json.example - 400: - description: Error - the user has no permission to read Roles. - post: - displayName: Assign Role to User - description: Assigns a Role to a user. - headers: - Accept: - description: If set, the updated Role assignment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignmentList+xml - application/vnd.ibexa.api.RoleAssignmentList+json - Content-Type: - description: The RoleAssignInput schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignInput+json - application/vnd.ibexa.api.RoleAssignInput+xml - body: - application/vnd.ibexa.api.RoleAssignInput+xml: - type: RoleAssignInput - example: !include examples/user/users/user_id/roles/POST/RoleAssignInput.xml.example - application/vnd.ibexa.api.RoleAssignInput+json: - type: RoleAssignInputWrapper - example: !include examples/user/users/user_id/roles/POST/RoleAssignInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.RoleAssignmentList+xml: - type: RoleAssignmentList - example: !include examples/user/users/user_id/roles/POST/RoleAssignmentList.xml.example - application/vnd.ibexa.api.RoleAssignmentList+json: - type: RoleAssignmentListWrapper - example: !include examples/user/users/user_id/roles/POST/RoleAssignmentList.json.example - 400: - description: Error - validation of limitation in RoleAssignInput fails. - 401: - description: Error - the user is not authorized to assign this Role. - /{roleId}: - get: - displayName: Load User Role Assignment - description: Returns a Role assignment to the given User. - headers: - Accept: - description: If set, the Role assignment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignment+xml - application/vnd.ibexa.api.RoleAssignment+json - responses: - 200: - description: OK - Role assignment to the given User Group. - body: - application/vnd.ibexa.api.RoleAssignment+xml: - type: RoleAssignment - example: !include examples/user/users/user_id/roles/role_id/GET/RoleAssignment.xml.example - application/vnd.ibexa.api.RoleAssignment+json: - type: RoleAssignmentWrapper - example: !include examples/user/users/user_id/roles/role_id/GET/RoleAssignment.json.example - 401: - description: Error - the user has no permission to read Roles. - delete: - displayName: Unassign Role from User - description: The given Role is removed from the user. - headers: - Accept: - description: If set, the updated Role assignment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.RoleAssignmentList+xml - application/vnd.ibexa.api.RoleAssignmentList+json - responses: - 200: - body: - application/vnd.ibexa.api.RoleAssignmentList+xml: - type: RoleAssignmentList - example: !include examples/user/users/user_id/roles/role_id/DELETE/RoleAssignmentList.xml.example - application/vnd.ibexa.api.RoleAssignmentList+json: - type: RoleAssignmentListWrapper - example: !include examples/user/users/user_id/roles/role_id/DELETE/RoleAssignmentList.json.example - 401: - description: Error - the user is not authorized to delete this content type. - /segments: - get: - displayName: View user segments - description: TODO - headers: - Accept: - description: If set, the user's segment list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.UserSegmentList+xml - application/vnd.ibexa.api.UserSegmentList+json - post: - displayName: Assign Segments to User - description: Assigns Segments from payload to User given by ID. - headers: - Content-Type: - description: The UserSegmentAssignInput schema encoded in XML or JSON format. - example: | - application/vnd.ibexa.api.UserSegmentAssignInput+xml - application/vnd.ibexa.api.UserSegmentAssignInput+json - /{segmentIdentifier}: - delete: - displayName: Unassign Segment from User - description: The Segment designated by its identifier is unassigned from the User given by ID. - /drafts: - get: - displayName: Load user drafts - description: Loads user's drafts - headers: - Accept: - description: If set, the version list is returned in XML or JSON format. - example: | - application/vnd.ibexa.api.VersionList+xml - application/vnd.ibexa.api.VersionList+json - responses: - 200: - description: OK - List the draft versions - body: - application/vnd.ibexa.api.VersionList+xml: - type: VersionList - application/vnd.ibexa.api.VersionList+json: - type: VersionListWrapper - 401: - description: Error - the current user is not authorized to list the drafts of the given user. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa-views.raml b/docs/api/rest_api/rest_api_reference/input/ibexa-views.raml deleted file mode 100644 index 0a8c49b00d..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa-views.raml +++ /dev/null @@ -1,39 +0,0 @@ -displayName: Searching content -post: - displayName: Search content - description: | - Executes a query and returns a View including the results. - - View input reflects the criteria model of the public PHP API. - - Refer to [Search Criteria Reference](/en/latest/search/criteria_reference/search_criteria_reference/) - headers: - Accept: - description: The view in XML or JSON format. - example: | - application/vnd.ibexa.api.View+xml - application/vnd.ibexa.api.View+json - application/vnd.ibexa.api.View+xml; version=1.1 - application/vnd.ibexa.api.View+json; version=1.1 - Content-Type: - description: The view input in XML or JSON format. - example: | - application/vnd.ibexa.api.ViewInput+xml - application/vnd.ibexa.api.ViewInput+json - application/vnd.ibexa.api.ViewInput+xml; version=1.1 - application/vnd.ibexa.api.ViewInput+json; version=1.1 - body: - application/vnd.ibexa.api.ViewInput+xml: - type: ViewInput - example: !include examples/views/POST/ViewInput.xml.example - application/vnd.ibexa.api.ViewInput+json: - type: ViewInputWrapper - example: !include examples/views/POST/ViewInput.json.example - responses: - 200: - body: - application/vnd.ibexa.api.View+xml; version=1.1: - type: View - example: !include examples/views/POST/View.xml.v11.example - 400: - description: Error - the input does not match the input schema definition. diff --git a/docs/api/rest_api/rest_api_reference/input/ibexa.raml b/docs/api/rest_api/rest_api_reference/input/ibexa.raml deleted file mode 100644 index 04e4912a7e..0000000000 --- a/docs/api/rest_api/rest_api_reference/input/ibexa.raml +++ /dev/null @@ -1,84 +0,0 @@ -#%RAML 1.0 ---- -title: Ibexa REST API -baseUri: ../rest_api_usage/rest_api_usage/ - -/: !include ibexa-root.raml - -/bookmark: !include ibexa-bookmark.raml - -/content: - displayName: Managing content - /objects: !include ibexa-content-objects.raml - /objectstategroups: !include ibexa-objectstategroups.raml - /locations: !include ibexa-content-locations.raml - /views: !include ibexa-content-views.raml - /sections: !include ibexa-content-sections.raml - /trash: !include ibexa-content-trash.raml - /urlaliases: !include ibexa-content-urlaliases.raml - /urlwildcards: !include ibexa-content-urlwildcards.raml - /typegroups: !include ibexa-content-typegroups.raml - /types: !include ibexa-content-types.raml - # /assets: !include ibexa-content-assets.raml - #/binary: !include ibexa-content-binary.raml - -/views: !include ibexa-views.raml - -/calendar: !include ibexa-calendar.raml - - -/user: - displayName: Managing users - /current: !include ibexa-user-current.raml - /groups: !include ibexa-user-groups.raml - /users: !include ibexa-user-users.raml - /roles: !include ibexa-user-roles.raml - /policies: !include ibexa-user-policies.raml - /sessions: !include ibexa-user-sessions.raml - /token: !include ibexa-user-token.raml - -/segments: !include ibexa-segments.raml -/segment_groups: !include ibexa-segment-groups.raml - -#/personalization/v1: !include ibexa-personalization.raml - -/services: !include ibexa-services.raml - -/languages: !include ibexa-languages.raml - -/cart: !include ibexa-cart.raml - -/commerce: !include ibexa-commerce.raml - -/orders: !include ibexa-orders.raml - -/payment-method: !include ibexa-payment-methods.raml - -/shipping: !include ibexa-shipping.raml - -/shipments: !include ibexa-shipments.raml - -/corporate: !include ibexa-corporate.raml - -/product/catalog: - displayName: Product catalog - /catalogs: !include ibexa-product-catalogs.raml - /currencies: !include ibexa-product-currency.raml - /regions: !include ibexa-product-regions.raml - /attribute_types: !include ibexa-product-attributetypes.raml - /attribute_groups: !include ibexa-product-attributegroups.raml - /attributes: !include ibexa-product-attributes.raml - /customer_groups: !include ibexa-product-customergroups.raml - /product_types: !include ibexa-product-producttypes.raml - /products: !include ibexa-product-products.raml - /product_variants: !include ibexa-product-productvariants.raml - /product_variant: !include ibexa-product-productvariant.raml - /vat: !include ibexa-product-vat.raml - -/taxonomy: !include ibexa-taxonomy.raml - -/activity-log-group: !include ibexa-activityloggroup.raml - -/ai: !include ibexa-ai.raml - -types: !include ibexa-types.raml diff --git a/tools/php_api_ref/.phpdoc/template/base.html.twig b/tools/api_refs/.phpdoc/template/base.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/base.html.twig rename to tools/api_refs/.phpdoc/template/base.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/class.html.twig b/tools/api_refs/.phpdoc/template/class.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/class.html.twig rename to tools/api_refs/.phpdoc/template/class.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/anchor.html.twig b/tools/api_refs/.phpdoc/template/components/anchor.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/anchor.html.twig rename to tools/api_refs/.phpdoc/template/components/anchor.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/breadcrumbs.html.twig b/tools/api_refs/.phpdoc/template/components/breadcrumbs.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/breadcrumbs.html.twig rename to tools/api_refs/.phpdoc/template/components/breadcrumbs.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/class-title.html.twig b/tools/api_refs/.phpdoc/template/components/class-title.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/class-title.html.twig rename to tools/api_refs/.phpdoc/template/components/class-title.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/constant-signature.html.twig b/tools/api_refs/.phpdoc/template/components/constant-signature.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/constant-signature.html.twig rename to tools/api_refs/.phpdoc/template/components/constant-signature.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/constant.html.twig b/tools/api_refs/.phpdoc/template/components/constant.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/constant.html.twig rename to tools/api_refs/.phpdoc/template/components/constant.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/constants.html.twig b/tools/api_refs/.phpdoc/template/components/constants.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/constants.html.twig rename to tools/api_refs/.phpdoc/template/components/constants.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/content-header.html.twig b/tools/api_refs/.phpdoc/template/components/content-header.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/content-header.html.twig rename to tools/api_refs/.phpdoc/template/components/content-header.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/description.html.twig b/tools/api_refs/.phpdoc/template/components/description.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/description.html.twig rename to tools/api_refs/.phpdoc/template/components/description.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/doc-switcher.html.twig b/tools/api_refs/.phpdoc/template/components/doc-switcher.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/doc-switcher.html.twig rename to tools/api_refs/.phpdoc/template/components/doc-switcher.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/edition-tag.html.twig b/tools/api_refs/.phpdoc/template/components/edition-tag.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/edition-tag.html.twig rename to tools/api_refs/.phpdoc/template/components/edition-tag.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/enum-case-signature.html.twig b/tools/api_refs/.phpdoc/template/components/enum-case-signature.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/enum-case-signature.html.twig rename to tools/api_refs/.phpdoc/template/components/enum-case-signature.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/enum-case.html.twig b/tools/api_refs/.phpdoc/template/components/enum-case.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/enum-case.html.twig rename to tools/api_refs/.phpdoc/template/components/enum-case.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/enum-title.html.twig b/tools/api_refs/.phpdoc/template/components/enum-title.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/enum-title.html.twig rename to tools/api_refs/.phpdoc/template/components/enum-title.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/header-title.html.twig b/tools/api_refs/.phpdoc/template/components/header-title.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/header-title.html.twig rename to tools/api_refs/.phpdoc/template/components/header-title.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/header.html.twig b/tools/api_refs/.phpdoc/template/components/header.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/header.html.twig rename to tools/api_refs/.phpdoc/template/components/header.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/interface-title.html.twig b/tools/api_refs/.phpdoc/template/components/interface-title.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/interface-title.html.twig rename to tools/api_refs/.phpdoc/template/components/interface-title.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/menu-entry.html.twig b/tools/api_refs/.phpdoc/template/components/menu-entry.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/menu-entry.html.twig rename to tools/api_refs/.phpdoc/template/components/menu-entry.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/menu.html.twig b/tools/api_refs/.phpdoc/template/components/menu.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/menu.html.twig rename to tools/api_refs/.phpdoc/template/components/menu.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/method-arguments.html.twig b/tools/api_refs/.phpdoc/template/components/method-arguments.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/method-arguments.html.twig rename to tools/api_refs/.phpdoc/template/components/method-arguments.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/method-response.html.twig b/tools/api_refs/.phpdoc/template/components/method-response.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/method-response.html.twig rename to tools/api_refs/.phpdoc/template/components/method-response.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/method-signature.html.twig b/tools/api_refs/.phpdoc/template/components/method-signature.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/method-signature.html.twig rename to tools/api_refs/.phpdoc/template/components/method-signature.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/method.html.twig b/tools/api_refs/.phpdoc/template/components/method.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/method.html.twig rename to tools/api_refs/.phpdoc/template/components/method.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/methods.html.twig b/tools/api_refs/.phpdoc/template/components/methods.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/methods.html.twig rename to tools/api_refs/.phpdoc/template/components/methods.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/namespace-title.html.twig b/tools/api_refs/.phpdoc/template/components/namespace-title.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/namespace-title.html.twig rename to tools/api_refs/.phpdoc/template/components/namespace-title.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/properties.html.twig b/tools/api_refs/.phpdoc/template/components/properties.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/properties.html.twig rename to tools/api_refs/.phpdoc/template/components/properties.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/property-signature.html.twig b/tools/api_refs/.phpdoc/template/components/property-signature.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/property-signature.html.twig rename to tools/api_refs/.phpdoc/template/components/property-signature.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/property.html.twig b/tools/api_refs/.phpdoc/template/components/property.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/property.html.twig rename to tools/api_refs/.phpdoc/template/components/property.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/search-results.html.twig b/tools/api_refs/.phpdoc/template/components/search-results.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/search-results.html.twig rename to tools/api_refs/.phpdoc/template/components/search-results.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/search.html.twig b/tools/api_refs/.phpdoc/template/components/search.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/search.html.twig rename to tools/api_refs/.phpdoc/template/components/search.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/sidebar.html.twig b/tools/api_refs/.phpdoc/template/components/sidebar.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/sidebar.html.twig rename to tools/api_refs/.phpdoc/template/components/sidebar.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/signature.html.twig b/tools/api_refs/.phpdoc/template/components/signature.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/signature.html.twig rename to tools/api_refs/.phpdoc/template/components/signature.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/source.html.twig b/tools/api_refs/.phpdoc/template/components/source.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/source.html.twig rename to tools/api_refs/.phpdoc/template/components/source.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/summary.html.twig b/tools/api_refs/.phpdoc/template/components/summary.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/summary.html.twig rename to tools/api_refs/.phpdoc/template/components/summary.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/table-of-contents.html.twig b/tools/api_refs/.phpdoc/template/components/table-of-contents.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/table-of-contents.html.twig rename to tools/api_refs/.phpdoc/template/components/table-of-contents.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/tags.html.twig b/tools/api_refs/.phpdoc/template/components/tags.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/tags.html.twig rename to tools/api_refs/.phpdoc/template/components/tags.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/trait-title.html.twig b/tools/api_refs/.phpdoc/template/components/trait-title.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/trait-title.html.twig rename to tools/api_refs/.phpdoc/template/components/trait-title.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/components/version-switcher.html.twig b/tools/api_refs/.phpdoc/template/components/version-switcher.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/components/version-switcher.html.twig rename to tools/api_refs/.phpdoc/template/components/version-switcher.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/css/base.css.twig b/tools/api_refs/.phpdoc/template/css/base.css.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/css/base.css.twig rename to tools/api_refs/.phpdoc/template/css/base.css.twig diff --git a/tools/php_api_ref/.phpdoc/template/css/codehilite.css.twig b/tools/api_refs/.phpdoc/template/css/codehilite.css.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/css/codehilite.css.twig rename to tools/api_refs/.phpdoc/template/css/codehilite.css.twig diff --git a/tools/php_api_ref/.phpdoc/template/css/custom.css.twig b/tools/api_refs/.phpdoc/template/css/custom.css.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/css/custom.css.twig rename to tools/api_refs/.phpdoc/template/css/custom.css.twig diff --git a/tools/php_api_ref/.phpdoc/template/css/docs.switcher.css.twig b/tools/api_refs/.phpdoc/template/css/docs.switcher.css.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/css/docs.switcher.css.twig rename to tools/api_refs/.phpdoc/template/css/docs.switcher.css.twig diff --git a/tools/php_api_ref/.phpdoc/template/css/main.min.css.twig b/tools/api_refs/.phpdoc/template/css/main.min.css.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/css/main.min.css.twig rename to tools/api_refs/.phpdoc/template/css/main.min.css.twig diff --git a/tools/php_api_ref/.phpdoc/template/css/navigation.css.twig b/tools/api_refs/.phpdoc/template/css/navigation.css.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/css/navigation.css.twig rename to tools/api_refs/.phpdoc/template/css/navigation.css.twig diff --git a/tools/php_api_ref/.phpdoc/template/css/palette.min.css.twig b/tools/api_refs/.phpdoc/template/css/palette.min.css.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/css/palette.min.css.twig rename to tools/api_refs/.phpdoc/template/css/palette.min.css.twig diff --git a/tools/php_api_ref/.phpdoc/template/enum.html.twig b/tools/api_refs/.phpdoc/template/enum.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/enum.html.twig rename to tools/api_refs/.phpdoc/template/enum.html.twig diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro-Black.ttf b/tools/api_refs/.phpdoc/template/fonts/MavenPro-Black.ttf similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro-Black.ttf rename to tools/api_refs/.phpdoc/template/fonts/MavenPro-Black.ttf diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro-Bold.ttf b/tools/api_refs/.phpdoc/template/fonts/MavenPro-Bold.ttf similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro-Bold.ttf rename to tools/api_refs/.phpdoc/template/fonts/MavenPro-Bold.ttf diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro-Medium.ttf b/tools/api_refs/.phpdoc/template/fonts/MavenPro-Medium.ttf similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro-Medium.ttf rename to tools/api_refs/.phpdoc/template/fonts/MavenPro-Medium.ttf diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro-Regular.ttf b/tools/api_refs/.phpdoc/template/fonts/MavenPro-Regular.ttf similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro-Regular.ttf rename to tools/api_refs/.phpdoc/template/fonts/MavenPro-Regular.ttf diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro.css b/tools/api_refs/.phpdoc/template/fonts/MavenPro.css similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/MavenPro.css rename to tools/api_refs/.phpdoc/template/fonts/MavenPro.css diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/MavenProLight-100.otf b/tools/api_refs/.phpdoc/template/fonts/MavenProLight-100.otf similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/MavenProLight-100.otf rename to tools/api_refs/.phpdoc/template/fonts/MavenProLight-100.otf diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/MavenProLight-200.otf b/tools/api_refs/.phpdoc/template/fonts/MavenProLight-200.otf similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/MavenProLight-200.otf rename to tools/api_refs/.phpdoc/template/fonts/MavenProLight-200.otf diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/MavenProLight-300.otf b/tools/api_refs/.phpdoc/template/fonts/MavenProLight-300.otf similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/MavenProLight-300.otf rename to tools/api_refs/.phpdoc/template/fonts/MavenProLight-300.otf diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/LICENSE.txt b/tools/api_refs/.phpdoc/template/fonts/Noto_Sans/LICENSE.txt similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/LICENSE.txt rename to tools/api_refs/.phpdoc/template/fonts/Noto_Sans/LICENSE.txt diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-Bold.ttf b/tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-Bold.ttf similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-Bold.ttf rename to tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-Bold.ttf diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-BoldItalic.ttf b/tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-BoldItalic.ttf similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-BoldItalic.ttf rename to tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-BoldItalic.ttf diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-Italic.ttf b/tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-Italic.ttf similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-Italic.ttf rename to tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-Italic.ttf diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-Regular.ttf b/tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-Regular.ttf similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-Regular.ttf rename to tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-Regular.ttf diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-SemiBold.ttf b/tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-SemiBold.ttf similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-SemiBold.ttf rename to tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-SemiBold.ttf diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-SemiBoldItalic.ttf b/tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-SemiBoldItalic.ttf similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Noto_Sans/NotoSans-SemiBoldItalic.ttf rename to tools/api_refs/.phpdoc/template/fonts/Noto_Sans/NotoSans-SemiBoldItalic.ttf diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Work_Sans/OFL.txt b/tools/api_refs/.phpdoc/template/fonts/Work_Sans/OFL.txt similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Work_Sans/OFL.txt rename to tools/api_refs/.phpdoc/template/fonts/Work_Sans/OFL.txt diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Work_Sans/README.txt b/tools/api_refs/.phpdoc/template/fonts/Work_Sans/README.txt similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Work_Sans/README.txt rename to tools/api_refs/.phpdoc/template/fonts/Work_Sans/README.txt diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Work_Sans/WorkSans-Regular.ttf b/tools/api_refs/.phpdoc/template/fonts/Work_Sans/WorkSans-Regular.ttf similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Work_Sans/WorkSans-Regular.ttf rename to tools/api_refs/.phpdoc/template/fonts/Work_Sans/WorkSans-Regular.ttf diff --git a/tools/php_api_ref/.phpdoc/template/fonts/Work_Sans/WorkSans-SemiBold.ttf b/tools/api_refs/.phpdoc/template/fonts/Work_Sans/WorkSans-SemiBold.ttf similarity index 100% rename from tools/php_api_ref/.phpdoc/template/fonts/Work_Sans/WorkSans-SemiBold.ttf rename to tools/api_refs/.phpdoc/template/fonts/Work_Sans/WorkSans-SemiBold.ttf diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/ez-icons.ttf b/tools/api_refs/.phpdoc/template/fonts/ez-icons.ttf similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/ez-icons.ttf rename to tools/api_refs/.phpdoc/template/fonts/ez-icons.ttf diff --git a/docs/api/rest_api/rest_api_reference/assets/fonts/ez-icons.woff b/tools/api_refs/.phpdoc/template/fonts/ez-icons.woff similarity index 100% rename from docs/api/rest_api/rest_api_reference/assets/fonts/ez-icons.woff rename to tools/api_refs/.phpdoc/template/fonts/ez-icons.woff diff --git a/tools/php_api_ref/.phpdoc/template/images/arrow-right.svg b/tools/api_refs/.phpdoc/template/images/arrow-right.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/arrow-right.svg rename to tools/api_refs/.phpdoc/template/images/arrow-right.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/caret-down-white.svg b/tools/api_refs/.phpdoc/template/images/caret-down-white.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/caret-down-white.svg rename to tools/api_refs/.phpdoc/template/images/caret-down-white.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/caret-down.svg b/tools/api_refs/.phpdoc/template/images/caret-down.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/caret-down.svg rename to tools/api_refs/.phpdoc/template/images/caret-down.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/caret-white.svg b/tools/api_refs/.phpdoc/template/images/caret-white.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/caret-white.svg rename to tools/api_refs/.phpdoc/template/images/caret-white.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/caret.svg b/tools/api_refs/.phpdoc/template/images/caret.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/caret.svg rename to tools/api_refs/.phpdoc/template/images/caret.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/check.svg b/tools/api_refs/.phpdoc/template/images/check.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/check.svg rename to tools/api_refs/.phpdoc/template/images/check.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/copy.svg b/tools/api_refs/.phpdoc/template/images/copy.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/copy.svg rename to tools/api_refs/.phpdoc/template/images/copy.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/favicon.png b/tools/api_refs/.phpdoc/template/images/favicon.png similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/favicon.png rename to tools/api_refs/.phpdoc/template/images/favicon.png diff --git a/tools/php_api_ref/.phpdoc/template/images/file.svg b/tools/api_refs/.phpdoc/template/images/file.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/file.svg rename to tools/api_refs/.phpdoc/template/images/file.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/folder.svg b/tools/api_refs/.phpdoc/template/images/folder.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/folder.svg rename to tools/api_refs/.phpdoc/template/images/folder.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/ibexa-dxp-logo.png b/tools/api_refs/.phpdoc/template/images/ibexa-dxp-logo.png similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/ibexa-dxp-logo.png rename to tools/api_refs/.phpdoc/template/images/ibexa-dxp-logo.png diff --git a/tools/php_api_ref/.phpdoc/template/images/minus-white.svg b/tools/api_refs/.phpdoc/template/images/minus-white.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/minus-white.svg rename to tools/api_refs/.phpdoc/template/images/minus-white.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/minus.svg b/tools/api_refs/.phpdoc/template/images/minus.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/minus.svg rename to tools/api_refs/.phpdoc/template/images/minus.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/page.svg b/tools/api_refs/.phpdoc/template/images/page.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/page.svg rename to tools/api_refs/.phpdoc/template/images/page.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/plus-white.svg b/tools/api_refs/.phpdoc/template/images/plus-white.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/plus-white.svg rename to tools/api_refs/.phpdoc/template/images/plus-white.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/plus.svg b/tools/api_refs/.phpdoc/template/images/plus.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/plus.svg rename to tools/api_refs/.phpdoc/template/images/plus.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/private.svg b/tools/api_refs/.phpdoc/template/images/private.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/private.svg rename to tools/api_refs/.phpdoc/template/images/private.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/protected.svg b/tools/api_refs/.phpdoc/template/images/protected.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/protected.svg rename to tools/api_refs/.phpdoc/template/images/protected.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/public.svg b/tools/api_refs/.phpdoc/template/images/public.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/public.svg rename to tools/api_refs/.phpdoc/template/images/public.svg diff --git a/tools/php_api_ref/.phpdoc/template/images/search.svg b/tools/api_refs/.phpdoc/template/images/search.svg similarity index 100% rename from tools/php_api_ref/.phpdoc/template/images/search.svg rename to tools/api_refs/.phpdoc/template/images/search.svg diff --git a/tools/php_api_ref/.phpdoc/template/index.html.twig b/tools/api_refs/.phpdoc/template/index.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/index.html.twig rename to tools/api_refs/.phpdoc/template/index.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/interface.html.twig b/tools/api_refs/.phpdoc/template/interface.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/interface.html.twig rename to tools/api_refs/.phpdoc/template/interface.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/js/active-menu.js b/tools/api_refs/.phpdoc/template/js/active-menu.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/active-menu.js rename to tools/api_refs/.phpdoc/template/js/active-menu.js diff --git a/tools/php_api_ref/.phpdoc/template/js/copy_to_clipboard.js b/tools/api_refs/.phpdoc/template/js/copy_to_clipboard.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/copy_to_clipboard.js rename to tools/api_refs/.phpdoc/template/js/copy_to_clipboard.js diff --git a/tools/php_api_ref/.phpdoc/template/js/docs.switcher.js b/tools/api_refs/.phpdoc/template/js/docs.switcher.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/docs.switcher.js rename to tools/api_refs/.phpdoc/template/js/docs.switcher.js diff --git a/tools/php_api_ref/.phpdoc/template/js/external-links.js b/tools/api_refs/.phpdoc/template/js/external-links.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/external-links.js rename to tools/api_refs/.phpdoc/template/js/external-links.js diff --git a/tools/php_api_ref/.phpdoc/template/js/menu-resizer.js b/tools/api_refs/.phpdoc/template/js/menu-resizer.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/menu-resizer.js rename to tools/api_refs/.phpdoc/template/js/menu-resizer.js diff --git a/tools/php_api_ref/.phpdoc/template/js/readthedocs-data.js b/tools/api_refs/.phpdoc/template/js/readthedocs-data.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/readthedocs-data.js rename to tools/api_refs/.phpdoc/template/js/readthedocs-data.js diff --git a/tools/php_api_ref/.phpdoc/template/js/search_custom.js b/tools/api_refs/.phpdoc/template/js/search_custom.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/search_custom.js rename to tools/api_refs/.phpdoc/template/js/search_custom.js diff --git a/tools/php_api_ref/.phpdoc/template/js/toc.js b/tools/api_refs/.phpdoc/template/js/toc.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/toc.js rename to tools/api_refs/.phpdoc/template/js/toc.js diff --git a/tools/php_api_ref/.phpdoc/template/js/version_switcher_custom.js b/tools/api_refs/.phpdoc/template/js/version_switcher_custom.js similarity index 100% rename from tools/php_api_ref/.phpdoc/template/js/version_switcher_custom.js rename to tools/api_refs/.phpdoc/template/js/version_switcher_custom.js diff --git a/tools/php_api_ref/.phpdoc/template/layout.html.twig b/tools/api_refs/.phpdoc/template/layout.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/layout.html.twig rename to tools/api_refs/.phpdoc/template/layout.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/namespace.html.twig b/tools/api_refs/.phpdoc/template/namespace.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/namespace.html.twig rename to tools/api_refs/.phpdoc/template/namespace.html.twig diff --git a/tools/php_api_ref/.phpdoc/template/package-edition-map.twig b/tools/api_refs/.phpdoc/template/package-edition-map.twig similarity index 50% rename from tools/php_api_ref/.phpdoc/template/package-edition-map.twig rename to tools/api_refs/.phpdoc/template/package-edition-map.twig index b88416b8e2..f92cf78ba2 100644 --- a/tools/php_api_ref/.phpdoc/template/package-edition-map.twig +++ b/tools/api_refs/.phpdoc/template/package-edition-map.twig @@ -22,8 +22,8 @@ 'ibexa/search': 'oss', 'ibexa/solr': 'oss', 'ibexa/standard-design': 'oss', +'ibexa/twig-components': 'oss', 'ibexa/user': 'oss', -'ibexa/templated-uri-bundle': 'oss', 'ibexa/connect': 'headless', 'ibexa/measurement': 'headless', 'ibexa/migrations': 'headless', @@ -48,82 +48,36 @@ 'ibexa/site-context': 'headless', 'ibexa/headless-assets': 'headless', 'ibexa/app-switcher': 'headless', -'ibexa/activity-log': 'experience', -'ibexa/form-builder': 'experience', -'ibexa/page-builder': 'experience', -'ibexa/fieldtype-address': 'experience', -'ibexa/fieldtype-page': 'experience', -'ibexa/dashboard': 'experience', -'ibexa/permissions': 'experience', -'ibexa/segmentation': 'experience', -'ibexa/site-factory': 'experience', -'ibexa/corporate-account': 'experience', -'ibexa/engage': 'experience', -'ibexa/cart': 'commerce', -'ibexa/checkout': 'commerce', -'ibexa/corporate-account-commerce-bridge': 'commerce', -'ibexa/storefront': 'commerce', -'ibexa/order-management': 'commerce', -'ibexa/payment': 'commerce', -'ibexa/shipping': 'commerce', -'ibexa/connector-payum': 'commerce', 'ibexa/connector-ai': 'optional', 'ibexa/connector-openai': 'optional', 'ibexa/automated-translation': 'optional', 'ibexa/product-catalog-date-time-attribute': 'optional', -'ibexa/rector': 'optional', } %} {% set namespace_package_map = { 'Ibexa\\DoctrineSchema': 'ibexa/doctrine-schema', -'EzSystems\\DoctrineSchema': 'ibexa/doctrine-schema', 'Ibexa\\Bundle\\DoctrineSchema': 'ibexa/doctrine-schema', -'EzSystems\\DoctrineSchemaBundle': 'ibexa/doctrine-schema', 'Ibexa\\Contracts\\DoctrineSchema': 'ibexa/doctrine-schema', 'Ibexa\\SystemInfo': 'ibexa/system-info', 'Ibexa\\Bundle\\SystemInfo': 'ibexa/system-info', -'EzSystems\\EzSupportTools': 'ibexa/system-info', 'Ibexa\\Contracts\\SystemInfo': 'ibexa/system-info', -'EzSystems\\EzSupportToolsBundle': 'ibexa/system-info', 'Ibexa\\AdminUi': 'ibexa/admin-ui', 'Ibexa\\Bundle\\AdminUi': 'ibexa/admin-ui', -'Ibexa\\Platform\\Assets': 'ibexa/admin-ui', 'Ibexa\\Contracts\\AdminUi': 'ibexa/admin-ui', -'EzSystems\\EzPlatformAdminUi': 'ibexa/admin-ui', -'Ibexa\\Platform\\Bundle\\Assets': 'ibexa/admin-ui', -'EzSystems\\EzPlatformEncoreBundle': 'ibexa/admin-ui', -'EzSystems\\EzPlatformAdminUiBundle': 'ibexa/admin-ui', 'Ibexa\\Bundle\\AdminUiAssets': 'ibexa/admin-ui-assets', -'EzSystems\\EzPlatformAdminUiAssetsBundle': 'ibexa/admin-ui-assets', 'Ibexa\\ContentForms': 'ibexa/content-forms', 'Ibexa\\Bundle\\ContentForms': 'ibexa/content-forms', 'Ibexa\\Contracts\\ContentForms': 'ibexa/content-forms', -'EzSystems\\EzPlatformContentForms': 'ibexa/content-forms', -'EzSystems\\EzPlatformContentFormsBundle': 'ibexa/content-forms', -'EzSystems\\EzPlatformContentForms\\Features': 'ibexa/content-forms', 'Ibexa\\Core': 'ibexa/core', -'eZ\\Publish\\API': 'ibexa/core', -'eZ\\Publish\\SPI': 'ibexa/core', 'Ibexa\\Bundle\\IO': 'ibexa/core', -'eZ\\Publish\\Core': 'ibexa/core', 'Ibexa\\Tests\\Core': 'ibexa/core', 'Ibexa\\Bundle\\Core': 'ibexa/core', 'Ibexa\\Bundle\\Debug': 'ibexa/core', 'Ibexa\\Contracts\\Core': 'ibexa/core', -'eZ\\Publish\\SPI\\Tests': 'ibexa/core', 'Ibexa\\Tests\\Bundle\\Core': 'ibexa/core', -'eZ\\Bundle\\EzPublishIOBundle': 'ibexa/core', 'Ibexa\\Tests\\Integration\\Core': 'ibexa/core', -'eZ\\Bundle\\EzPublishCoreBundle': 'ibexa/core', -'eZ\\Bundle\\EzPublishDebugBundle': 'ibexa/core', 'Ibexa\\Bundle\\LegacySearchEngine': 'ibexa/core', -'eZ\\Publish\\API\\Repository\\Tests': 'ibexa/core', 'Ibexa\\Bundle\\RepositoryInstaller': 'ibexa/core', -'EzSystems\\PlatformInstallerBundle': 'ibexa/core', -'eZ\\Bundle\\EzPublishCoreBundle\\Tests': 'ibexa/core', -'eZ\\Publish\\Core\\Persistence\\Legacy\\Tests': 'ibexa/core', -'eZ\\Bundle\\EzPublishLegacySearchEngineBundle': 'ibexa/core', -'eZ\\Publish\\Core\\MVC\\Symfony\\Templating\\Tests': 'ibexa/core', 'Ibexa\\CorePersistence': 'ibexa/core-persistence', 'Ibexa\\Bundle\\CorePersistence': 'ibexa/core-persistence', 'Ibexa\\Contracts\\CorePersistence': 'ibexa/core-persistence', @@ -133,34 +87,24 @@ 'Ibexa\\Cron': 'ibexa/cron', 'Ibexa\\Bundle\\Cron': 'ibexa/cron', 'Ibexa\\Contracts\\Cron': 'ibexa/cron', -'EzSystems\\EzPlatformCronBundle': 'ibexa/cron', 'Ibexa\\DesignEngine': 'ibexa/design-engine', 'Ibexa\\Bundle\\DesignEngine': 'ibexa/design-engine', 'Ibexa\\Contracts\\DesignEngine': 'ibexa/design-engine', -'EzSystems\\EzPlatformDesignEngine': 'ibexa/design-engine', -'EzSystems\\EzPlatformDesignEngineBundle': 'ibexa/design-engine', 'Ibexa\\FieldTypeMatrix': 'ibexa/fieldtype-matrix', 'Ibexa\\Bundle\\FieldTypeMatrix': 'ibexa/fieldtype-matrix', -'EzSystems\\EzPlatformMatrixFieldtype': 'ibexa/fieldtype-matrix', -'EzSystems\\EzPlatformMatrixFieldtypeBundle': 'ibexa/fieldtype-matrix', 'Ibexa\\FieldTypeQuery': 'ibexa/fieldtype-query', 'Ibexa\\Bundle\\FieldTypeQuery': 'ibexa/fieldtype-query', 'Ibexa\\Contracts\\FieldTypeQuery': 'ibexa/fieldtype-query', -'EzSystems\\EzPlatformQueryFieldType': 'ibexa/fieldtype-query', 'Ibexa\\FieldTypeRichText': 'ibexa/fieldtype-richtext', -'EzSystems\\EzPlatformRichText': 'ibexa/fieldtype-richtext', 'Ibexa\\Tests\\FieldTypeRichText': 'ibexa/fieldtype-richtext', 'Ibexa\\Bundle\\FieldTypeRichText': 'ibexa/fieldtype-richtext', 'Ibexa\\Contracts\\FieldTypeRichText': 'ibexa/fieldtype-richtext', -'EzSystems\\EzPlatformRichTextBundle': 'ibexa/fieldtype-richtext', 'Ibexa\\GraphQL': 'ibexa/graphql', 'Ibexa\\Bundle\\GraphQL': 'ibexa/graphql', 'Ibexa\\Contracts\\GraphQL': 'ibexa/graphql', -'EzSystems\\EzPlatformGraphQL': 'ibexa/graphql', 'Ibexa\\HttpCache': 'ibexa/http-cache', 'Ibexa\\Bundle\\HttpCache': 'ibexa/http-cache', 'Ibexa\\Contracts\\HttpCache': 'ibexa/http-cache', -'EzSystems\\PlatformHttpCacheBundle': 'ibexa/http-cache', 'Ibexa\\Notifications': 'ibexa/notifications', 'Ibexa\\Bundle\\Notifications': 'ibexa/notifications', @@ -170,30 +114,22 @@ 'Ibexa\\Rest': 'ibexa/rest', 'Ibexa\\Bundle\\Rest': 'ibexa/rest', 'Ibexa\\Contracts\\Rest': 'ibexa/rest', -'EzSystems\\EzPlatformRest': 'ibexa/rest', -'EzSystems\\EzPlatformRestBundle': 'ibexa/rest', 'Ibexa\\Search': 'ibexa/search', 'Ibexa\\Bundle\\Search': 'ibexa/search', -'Ibexa\\Platform\\Search': 'ibexa/search', 'Ibexa\\Contracts\\Search': 'ibexa/search', -'Ibexa\\Platform\\Bundle\\Search': 'ibexa/search', 'Ibexa\\Solr': 'ibexa/solr', 'Ibexa\\Bundle\\Solr': 'ibexa/solr', 'Ibexa\\Contracts\\Solr': 'ibexa/solr', 'Ibexa\\Tests\\Solr\\SetupFactory': 'ibexa/solr', -'EzSystems\\EzPlatformSolrSearchEngine': 'ibexa/solr', -'EzSystems\\EzPlatformSolrSearchEngineBundle': 'ibexa/solr', -'EzSystems\\EzPlatformSolrSearchEngine\\Tests\\SetupFactory': 'ibexa/solr', 'Ibexa\\StandardDesign': 'ibexa/standard-design', 'Ibexa\\Bundle\\StandardDesign': 'ibexa/standard-design', 'Ibexa\\Contracts\\StandardDesign': 'ibexa/standard-design', -'EzSystems\\EzPlatformStandardDesignBundle': 'ibexa/standard-design', +'Ibexa\\TwigComponents': 'ibexa/twig-components', +'Ibexa\\Bundle\\TwigComponents': 'ibexa/twig-components', +'Ibexa\\Contracts\\TwigComponents': 'ibexa/twig-components', 'Ibexa\\User': 'ibexa/user', 'Ibexa\\Bundle\\User': 'ibexa/user', 'Ibexa\\Contracts\\User': 'ibexa/user', -'EzSystems\\EzPlatformUser': 'ibexa/user', -'EzSystems\\EzPlatformUserBundle': 'ibexa/user', - 'Ibexa\\Bundle\\Connect': 'ibexa/connect', 'Ibexa\\Contracts\\Connect': 'ibexa/connect', 'Ibexa\\Connect': 'ibexa/connect', @@ -203,23 +139,12 @@ 'Ibexa\\Migration': 'ibexa/migrations', 'Ibexa\\Bundle\\Migration': 'ibexa/migrations', 'Ibexa\\Contracts\\Migration': 'ibexa/migrations', -'Ibexa\\Platform\\Bundle\\Migration': 'ibexa/migrations', -'Ibexa\\Platform\\Contracts\\Migration': 'ibexa/migrations', -'Ibexa\\Platform\\Migration': 'ibexa/migrations', 'Ibexa\\ImageEditor': 'ibexa/image-editor', 'Ibexa\\Bundle\\ImageEditor': 'ibexa/image-editor', 'Ibexa\\Contracts\\ImageEditor': 'ibexa/image-editor', -'Ibexa\\Platform\\Bundle\\ImageEditor': 'ibexa/image-editor', -'Ibexa\\Platform\\Contracts\\ImageEditor': 'ibexa/image-editor', -'Ibexa\\Platform\\ImageEditor': 'ibexa/image-editor', 'Ibexa\\OAuth2Client': 'ibexa/oauth2-client', 'Ibexa\\Bundle\\OAuth2Client': 'ibexa/oauth2-client', 'Ibexa\\Contracts\\OAuth2Client': 'ibexa/oauth2-client', -'Ibexa\\Platform\\OAuth2Client': 'ibexa/oauth2-client', -'Ibexa\\Platform\\Bundle\\OAuth2Client': 'ibexa/oauth2-client', -'Ibexa\\Platform\\Contracts\\OAuth2Client': 'ibexa/oauth2-client', -'Ibexa\\Platform\\Bundle\\Installer': 'ibexa/installer', -'Ibexa\\Platform\\Installer': 'ibexa/installer', 'Ibexa\\Installer': 'ibexa/installer', 'Ibexa\\Bundle\\Installer': 'ibexa/installer', 'Ibexa\\Contracts\\Installer': 'ibexa/installer', @@ -229,51 +154,32 @@ 'Ibexa\\Bundle\\Seo': 'ibexa/seo', 'Ibexa\\Contracts\\Seo': 'ibexa/seo', 'Ibexa\\Seo': 'ibexa/seo', -'EzSystems\\DateBasedPublisher': 'ibexa/scheduler', -'EzSystems\\DateBasedPublisherBundle': 'ibexa/scheduler', 'Ibexa\\Scheduler': 'ibexa/scheduler', 'Ibexa\\Bundle\\Scheduler': 'ibexa/scheduler', 'Ibexa\\Contracts\\Scheduler': 'ibexa/scheduler', -'EzSystems\\EzPlatformCalendarBundle': 'ibexa/calendar', -'EzSystems\\EzPlatformCalendar': 'ibexa/calendar', 'Ibexa\\Calendar': 'ibexa/calendar', 'Ibexa\\Bundle\\Calendar': 'ibexa/calendar', 'Ibexa\\Contracts\\Calendar': 'ibexa/calendar', 'Ibexa\\Connector\\Dam': 'ibexa/connector-dam', 'Ibexa\\Bundle\\Connector\\Dam': 'ibexa/connector-dam', 'Ibexa\\Contracts\\Connector\\Dam': 'ibexa/connector-dam', -'Ibexa\\Platform\\Bundle\\Connector\\Dam': 'ibexa/connector-dam', -'Ibexa\\Platform\\Contracts\\Connector\\Dam': 'ibexa/connector-dam', -'Ibexa\\Platform\\Connector\\Dam': 'ibexa/connector-dam', 'Ibexa\\Elasticsearch': 'ibexa/elasticsearch', 'Ibexa\\Bundle\\Elasticsearch': 'ibexa/elasticsearch', 'Ibexa\\Contracts\\Elasticsearch': 'ibexa/elasticsearch', -'Ibexa\\Platform\\Bundle\\ElasticSearchEngine': 'ibexa/elasticsearch', -'Ibexa\\Platform\\Contracts\\ElasticSearchEngine': 'ibexa/elasticsearch', -'Ibexa\\Platform\\ElasticSearchEngine': 'ibexa/elasticsearch', 'Ibexa\\Fastly': 'ibexa/fastly', 'Ibexa\\Bundle\\Fastly': 'ibexa/fastly', 'Ibexa\\Contracts\\Fastly': 'ibexa/fastly', -'EzSystems\\PlatformFastlyCacheBundle': 'ibexa/fastly', -'Ibexa\\Platform\\Bundle\\Icons': 'ibexa/icons', 'Ibexa\\Icons': 'ibexa/icons', 'Ibexa\\Bundle\\Icons': 'ibexa/icons', 'Ibexa\\Personalization': 'ibexa/personalization', 'Ibexa\\Bundle\\Personalization': 'ibexa/personalization', 'Ibexa\\Contracts\\Personalization': 'ibexa/personalization', -'Ibexa\\Platform\\Bundle\\Personalization': 'ibexa/personalization', -'Ibexa\\Platform\\Contracts\\Personalization': 'ibexa/personalization', -'Ibexa\\Platform\\Personalization': 'ibexa/personalization', 'Ibexa\\VersionComparison': 'ibexa/version-comparison', 'Ibexa\\Bundle\\VersionComparison': 'ibexa/version-comparison', 'Ibexa\\Contracts\\VersionComparison': 'ibexa/version-comparison', -'EzSystems\\EzPlatformVersionComparisonBundle': 'ibexa/version-comparison', -'EzSystems\\EzPlatformVersionComparison': 'ibexa/version-comparison', 'Ibexa\\Workflow': 'ibexa/workflow', 'Ibexa\\Bundle\\Workflow': 'ibexa/workflow', 'Ibexa\\Contracts\\Workflow': 'ibexa/workflow', -'EzSystems\\EzPlatformWorkflow': 'ibexa/workflow', -'EzSystems\\EzPlatformWorkflowBundle': 'ibexa/workflow', 'Ibexa\\Bundle\\Taxonomy': 'ibexa/taxonomy', 'Ibexa\\Contracts\\Taxonomy': 'ibexa/taxonomy', 'Ibexa\\Taxonomy': 'ibexa/taxonomy', @@ -295,75 +201,6 @@ 'Ibexa\\Bundle\\AppSwitcher': 'ibexa/app-switcher', 'Ibexa\\Contracts\\AppSwitcher': 'ibexa/app-switcher', 'Ibexa\\AppSwitcher': 'ibexa/app-switcher', -'Ibexa\\Bundle\\ActivityLog': 'ibexa/activity-log', -'Ibexa\\Contracts\\ActivityLog': 'ibexa/activity-log', -'Ibexa\\ActivityLog': 'ibexa/activity-log', -'EzSystems\\EzPlatformFormBuilderBundle': 'ibexa/form-builder', -'EzSystems\\EzPlatformFormBuilder': 'ibexa/form-builder', -'Ibexa\\FormBuilder': 'ibexa/form-builder', -'Ibexa\\Bundle\\FormBuilder': 'ibexa/form-builder', -'Ibexa\\Contracts\\FormBuilder': 'ibexa/form-builder', -'Ibexa\\PageBuilder': 'ibexa/page-builder', -'Ibexa\\Bundle\\PageBuilder': 'ibexa/page-builder', -'Ibexa\\Contracts\\PageBuilder': 'ibexa/page-builder', -'EzSystems\\EzPlatformPageBuilderBundle': 'ibexa/page-builder', -'EzSystems\\EzPlatformPageBuilder': 'ibexa/page-builder', -'Ibexa\\FieldTypeAddress': 'ibexa/fieldtype-address', -'Ibexa\\Bundle\\FieldTypeAddress': 'ibexa/fieldtype-address', -'Ibexa\\Contracts\\FieldTypeAddress': 'ibexa/fieldtype-address', -'Ibexa\\FieldTypePage': 'ibexa/fieldtype-page', -'Ibexa\\Bundle\\FieldTypePage': 'ibexa/fieldtype-page', -'Ibexa\\Contracts\\FieldTypePage': 'ibexa/fieldtype-page', -'EzSystems\\EzPlatformPageFieldType': 'ibexa/fieldtype-page', -'EzSystems\\EzPlatformPageFieldTypeBundle': 'ibexa/fieldtype-page', -'Ibexa\\Bundle\\Dashboard': 'ibexa/dashboard', -'Ibexa\\Contracts\\Dashboard': 'ibexa/dashboard', -'Ibexa\\Dashboard': 'ibexa/dashboard', -'Ibexa\\Platform\\Bundle\\Permissions': 'ibexa/permissions', -'Ibexa\\Platform\\Contracts\\Permissions': 'ibexa/permissions', -'Ibexa\\Platform\\Permissions': 'ibexa/permissions', -'Ibexa\\Permissions': 'ibexa/permissions', -'Ibexa\\Bundle\\Permissions': 'ibexa/permissions', -'Ibexa\\Contracts\\Permissions': 'ibexa/permissions', -'Ibexa\\Segmentation': 'ibexa/segmentation', -'Ibexa\\Bundle\\Segmentation': 'ibexa/segmentation', -'Ibexa\\Contracts\\Segmentation': 'ibexa/segmentation', -'Ibexa\\Platform\\Segmentation': 'ibexa/segmentation', -'Ibexa\\Platform\\Bundle\\Segmentation': 'ibexa/segmentation', -'Ibexa\\Platform\\Contracts\\Segmentation': 'ibexa/segmentation', -'EzSystems\\EzPlatformSiteFactoryBundle': 'ibexa/site-factory', -'EzSystems\\EzPlatformSiteFactory': 'ibexa/site-factory', -'Ibexa\\SiteFactory': 'ibexa/site-factory', -'Ibexa\\Bundle\\SiteFactory': 'ibexa/site-factory', -'Ibexa\\Contracts\\SiteFactory': 'ibexa/site-factory', -'Ibexa\\Bundle\\CorporateAccount': 'ibexa/corporate-account', -'Ibexa\\Contracts\\CorporateAccount': 'ibexa/corporate-account', -'Ibexa\\CorporateAccount': 'ibexa/corporate-account', - -'Ibexa\\Bundle\\Cart': 'ibexa/cart', -'Ibexa\\Contracts\\Cart': 'ibexa/cart', -'Ibexa\\Cart': 'ibexa/cart', -'Ibexa\\Bundle\\Checkout': 'ibexa/checkout', -'Ibexa\\Contracts\\Checkout': 'ibexa/checkout', -'Ibexa\\Checkout': 'ibexa/checkout', -'Ibexa\\Bundle\\CorporateAccountCommerceBridge': 'ibexa/corporate-account-commerce-bridge', -'Ibexa\\Contracts\\CorporateAccountCommerceBridge': 'ibexa/corporate-account-commerce-bridge', -'Ibexa\\CorporateAccountCommerceBridge': 'ibexa/corporate-account-commerce-bridge', -'Ibexa\\Bundle\\Storefront': 'ibexa/storefront', -'Ibexa\\Contracts\\Storefront': 'ibexa/storefront', -'Ibexa\\Storefront': 'ibexa/storefront', -'Ibexa\\Bundle\\OrderManagement': 'ibexa/order-management', -'Ibexa\\Contracts\\OrderManagement': 'ibexa/order-management', -'Ibexa\\OrderManagement': 'ibexa/order-management', -'Ibexa\\Bundle\\Payment': 'ibexa/payment', -'Ibexa\\Contracts\\Payment': 'ibexa/payment', -'Ibexa\\Payment': 'ibexa/payment', -'Ibexa\\Bundle\\Shipping': 'ibexa/shipping', -'Ibexa\\Contracts\\Shipping': 'ibexa/shipping', -'Ibexa\\Shipping': 'ibexa/shipping', -'Ibexa\\Bundle\\ConnectorPayum': 'ibexa/connector-payum', -'Ibexa\\Contracts\\ConnectorPayum': 'ibexa/connector-payum', -'Ibexa\\ConnectorPayum': 'ibexa/connector-payum', 'Ibexa\\Bundle\\ConnectorAi': 'ibexa/connector-ai', 'Ibexa\\Contracts\\ConnectorAi': 'ibexa/connector-ai', 'Ibexa\\ConnectorAi': 'ibexa/connector-ai', @@ -373,12 +210,8 @@ 'Ibexa\\AutomatedTranslation': 'ibexa/automated-translation', 'Ibexa\\Bundle\\AutomatedTranslation': 'ibexa/automated-translation', 'Ibexa\\Contracts\\AutomatedTranslation': 'ibexa/automated-translation', -'EzSystems\\EzPlatformAutomatedTranslation': 'ibexa/automated-translation', -'EzSystems\\EzPlatformAutomatedTranslationBundle': 'ibexa/automated-translation', 'Ibexa\\Bundle\\ProductCatalogDateTimeAttribute': 'ibexa/product-catalog-date-time-attribute', 'Ibexa\\Contracts\\ProductCatalogDateTimeAttribute': 'ibexa/product-catalog-date-time-attribute', 'Ibexa\\ProductCatalogDateTimeAttribute': 'ibexa/product-catalog-date-time-attribute', -'Ibexa\\Rector': 'ibexa/rector', -'Ibexa\\Contracts\\Rector': 'ibexa/rector', } %} {% block content %}{% endblock %} diff --git a/tools/php_api_ref/.phpdoc/template/trait.html.twig b/tools/api_refs/.phpdoc/template/trait.html.twig similarity index 100% rename from tools/php_api_ref/.phpdoc/template/trait.html.twig rename to tools/api_refs/.phpdoc/template/trait.html.twig diff --git a/tools/php_api_ref/README.md b/tools/api_refs/README.md similarity index 79% rename from tools/php_api_ref/README.md rename to tools/api_refs/README.md index 4526adb0a2..787643c514 100644 --- a/tools/php_api_ref/README.md +++ b/tools/api_refs/README.md @@ -6,21 +6,21 @@ Requires [`jq`](https://stedolan.github.io/jq/download/) ## Basic usage -`tools/php_api_ref/phpdoc.sh` is a script generating PHP API Reference, by default, under `docs/api/php_api/php_api_reference/`. +`tools/api_refs/api_refs.sh` is a script generating PHP API Reference, by default, under `docs/api/php_api/php_api_reference/`. - For Composer, if you do not use a global authentication to retrieve _Commerce_ edition, a path to an auth.json file can be given as first argument. For example: ``` - tools/php_api_ref/phpdoc.sh ~/www/ibexa-dxp-commerce/auth.json + tools/api_refs/api_refs.sh ~/www/ibexa-dxp-commerce/auth.json ``` - The second argument can be a path to an output directory to use instead of the default one. For example, using the Composer global authentication file as first argument and the path to directory (which is created if it doesn't exist yet): ``` - tools/php_api_ref/phpdoc.sh ~/.composer/auth.json ./docs/api/php_api/php_api_reference-TMP + tools/api_refs/api_refs.sh ~/.composer/auth.json ./docs/api/php_api/php_api_reference-TMP ``` ## Rebuild example ```bash -tools/php_api_ref/phpdoc.sh +tools/api_refs/api_refs.sh git add docs/api/php_api/php_api_reference/ git commit -m "Rebuild PHP API Ref's HTML" git push @@ -28,7 +28,7 @@ git push ## Maintenance -In `tools/php_api_ref/phpdoc.sh`: +In `tools/api_refs/api_refs.sh`: `PHPDOC_VERSION` should always target the last version of phpDocumentor. @@ -36,7 +36,7 @@ In `tools/php_api_ref/phpdoc.sh`: ### Templates -Custom templates are located in `tools/php_api_ref/.phpdoc/template/` directory. +Custom templates are located in `tools/api_refs/.phpdoc/template/` directory. They are overriding the default templates from a phpDocumentor version. The default templates version is not always the same as the phpDocumentor binary version. To update the default templates version, the overriding custom templates must be updated as well to obtain a better or equal result without bug. @@ -44,7 +44,7 @@ See `PHPDOC_VERSION` and `PHPDOC_TEMPLATE_VERSION`. ## Advanced usage -`tools/php_api_ref/phpdoc.sh` has a set of internal variables that might be edited for particular usages. +`tools/api_refs/api_refs.sh` has a set of internal variables that might be edited for particular usages. `PHPDOC_CONF` can be changed to use a different config file. For example, when working on the design, the set of parsed files can be reduced for a quicker PHP API Reference compilation. @@ -58,16 +58,16 @@ Time is saved. The DXP's code could even be modified for test purpose. If you change some of those values, please do not commit those changes, and don't commit their output. To prevent that, you can make a local copy, and use this copy to generate in a temporary output directory: ```shell -cp tools/php_api_ref/phpdoc.sh tools/php_api_ref/phpdoc.dev.sh +cp tools/api_refs/api_refs.sh tools/api_refs/phpdoc.dev.sh nano phpdoc.dev.sh # Edit and make your changes. For example, change PHPDOC_CONF to use phpdoc.dev.xml. nano phpdoc.dev.xml # Edit and make your changes. For example, target only your package. -tools/php_api_ref/phpdoc.sh ~/.composer/auth.json ./docs/api/php_api/php_api_reference-TMP +tools/api_refs/api_refs.sh ~/.composer/auth.json ./docs/api/php_api/php_api_reference-TMP ``` ### Test a branch To load a package on a development branch instead of a released version, -uncommented in `phpdoc.sh` the piece of code about `MY_PACKAGE` and `MY_BRANCH`, +uncommented in `api_refs.sh` the piece of code about `MY_PACKAGE` and `MY_BRANCH`, and set the value of those two variables. `MY_PACKAGE` is the name of the Ibexa package without the vendor. diff --git a/tools/php_api_ref/phpdoc.sh b/tools/api_refs/api_refs.sh similarity index 78% rename from tools/php_api_ref/phpdoc.sh rename to tools/api_refs/api_refs.sh index 9b612271e7..06259e9ce5 100755 --- a/tools/php_api_ref/phpdoc.sh +++ b/tools/api_refs/api_refs.sh @@ -3,35 +3,37 @@ set +x; AUTH_JSON=${1:-~/.composer/auth.json}; # Path to an auth.json file allowing to install the targeted edition and version -OUTPUT_DIR=${2:-./docs/api/php_api/php_api_reference}; # Path to the directory where the built PHP API Reference is hosted +PHP_API_OUTPUT_DIR=${2:-./docs/api/php_api/php_api_reference}; # Path to the directory where the built PHP API Reference is hosted +REST_API_OUTPUT_FILE=${3:-./docs/api/rest_api/rest_api_reference/rest_api_reference.html}; # Path to the REST API Reference file DXP_EDITION='commerce'; # Edition from and for which the Reference is built -DXP_VERSION='4.6.*'; # Version from and for which the Reference is built -DXP_ADD_ONS=(connector-ai connector-openai automated-translation product-catalog-date-time-attribute rector); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa" +DXP_VERSION='5.0.x-dev'; # Version from and for which the Reference is built +DXP_ADD_ONS=(connector-ai connector-openai automated-translation product-catalog-date-time-attribute); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa" DXP_EDITIONS=(oss headless experience commerce); # Available editions ordered by ascending capabilities -SF_VERSION='5.4'; # Symfony version used by Ibexa DXP +SF_VERSION='6.4'; # Symfony version used by Ibexa DXP PHPDOC_VERSION='3.7.1'; # Version of phpDocumentor used to build the Reference -PHPDOC_CONF="$(pwd)/tools/php_api_ref/phpdoc.dist.xml"; # Absolute path to phpDocumentor configuration file -#PHPDOC_CONF="$(pwd)/tools/php_api_ref/phpdoc.dev.xml"; # Absolute path to phpDocumentor configuration file +PHPDOC_CONF="$(pwd)/tools/api_refs/phpdoc.dist.xml"; # Absolute path to phpDocumentor configuration file +#PHPDOC_CONF="$(pwd)/tools/api_refs/phpdoc.dev.xml"; # Absolute path to phpDocumentor configuration file PHPDOC_TEMPLATE_VERSION='3.7.1'; # Version of the phpDocumentor base template set -PHPDOC_DIR="$(pwd)/tools/php_api_ref/.phpdoc"; # Absolute path to phpDocumentor resource directory (containing the override template set) +PHPDOC_DIR="$(pwd)/tools/api_refs/.phpdoc"; # Absolute path to phpDocumentor resource directory (containing the override template set) PHP_BINARY="php -d error_reporting=`php -r 'echo E_ALL & ~E_DEPRECATED;'`"; # Avoid depreciation messages from phpDocumentor/Reflection/issues/529 when using PHP 8.2 or higher TMP_DXP_DIR=/tmp/ibexa-dxp-phpdoc; # Absolute path of the temporary directory in which Ibexa DXP will be installed and the PHP API Reference built FORCE_DXP_INSTALL=1; # If 1, empty the temporary directory, install DXP from scratch, build, remove temporary directory; if 0, potentially reuse the DXP already installed in temporary directory, keep temporary directory for future uses. -BASE_DXP_BRANCH=''; # Branch from and for which the Reference is built when using a dev branch as version -VIRTUAL_DXP_VERSION=''; # Version for which the reference is supposedly built when using dev branch as version +BASE_DXP_BRANCH='master'; # Branch from and for which the Reference is built when using a dev branch as version +VIRTUAL_DXP_VERSION='5.0.0'; # Version for which the reference is supposedly built when using dev branch as version -if [ ! -d $OUTPUT_DIR ]; then - echo -n "Creating ${OUTPUT_DIR}… "; - mkdir -p $OUTPUT_DIR; +if [ ! -d $PHP_API_OUTPUT_DIR ]; then + echo -n "Creating ${PHP_API_OUTPUT_DIR}… "; + mkdir -p $PHP_API_OUTPUT_DIR; if [ $? -eq 0 ]; then echo 'OK'; else exit 1; fi; fi; -OUTPUT_DIR=$(realpath $OUTPUT_DIR); # Transform to absolute path before changing the working directory +PHP_API_OUTPUT_DIR=$(realpath $PHP_API_OUTPUT_DIR); # Transform into absolute path before changing the working directory +REST_API_OUTPUT_FILE=$(realpath $REST_API_OUTPUT_FILE); # Transform into absolute path before changing the working directory if [ 1 -eq $FORCE_DXP_INSTALL ]; then echo 'Remove temporary directory…'; @@ -179,21 +181,27 @@ if [ $? -eq 0 ]; then ./php_api_reference/js/searchIndex.js \ > ./php_api_reference/js/searchIndex.new.js; mv -f ./php_api_reference/js/searchIndex.new.js ./php_api_reference/js/searchIndex.js; - echo -n "Copy phpDocumentor output to ${OUTPUT_DIR}… "; - cp -rf ./php_api_reference/* $OUTPUT_DIR; + echo -n "Copy phpDocumentor output to ${PHP_API_OUTPUT_DIR}… "; + cp -rf ./php_api_reference/* $PHP_API_OUTPUT_DIR; echo -n 'Remove surplus… '; while IFS= read -r line; do file="$(echo $line | sed -r 's/Only in (.*): (.*)/\1\/\2/')"; - if [[ $file = $OUTPUT_DIR/* ]]; then + if [[ $file = $PHP_API_OUTPUT_DIR/* ]]; then rm -rf $file; fi; - done <<< "$(diff -qr ./php_api_reference $OUTPUT_DIR | grep 'Only in ')"; + done <<< "$(diff -qr ./php_api_reference $PHP_API_OUTPUT_DIR | grep 'Only in ')"; echo 'OK.'; else - echo 'A phpDocumentor error prevents reference update.'; + echo 'A phpDocumentor error prevents PHP Reference update.'; exit 3; fi; +echo -n 'Dumping REST OpenAPI schema… '; +$PHP_BINARY bin/console ibexa:openapi --yaml > openapi.yaml; +echo -n 'Building REST Reference… '; +redocly build-docs openapi.yaml --output $REST_API_OUTPUT_FILE +echo 'OK'; + if [ 1 -eq $FORCE_DXP_INSTALL ]; then echo 'Remove temporary directory…'; rm -rf $TMP_DXP_DIR; diff --git a/tools/php_api_ref/phpdoc.dev.xml b/tools/api_refs/phpdoc.dev.xml similarity index 100% rename from tools/php_api_ref/phpdoc.dev.xml rename to tools/api_refs/phpdoc.dev.xml diff --git a/tools/php_api_ref/phpdoc.dist.xml b/tools/api_refs/phpdoc.dist.xml similarity index 100% rename from tools/php_api_ref/phpdoc.dist.xml rename to tools/api_refs/phpdoc.dist.xml diff --git a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Black.ttf b/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Black.ttf deleted file mode 100644 index f808a1bfb8..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Black.ttf and /dev/null differ diff --git a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Bold.ttf b/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Bold.ttf deleted file mode 100644 index 40c3359261..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Bold.ttf and /dev/null differ diff --git a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Medium.ttf b/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Medium.ttf deleted file mode 100644 index 75a388e2ac..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Medium.ttf and /dev/null differ diff --git a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Regular.ttf b/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Regular.ttf deleted file mode 100644 index 6442c2b226..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro-Regular.ttf and /dev/null differ diff --git a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro.css b/tools/php_api_ref/.phpdoc/template/fonts/MavenPro.css deleted file mode 100644 index 0f62d75e9e..0000000000 --- a/tools/php_api_ref/.phpdoc/template/fonts/MavenPro.css +++ /dev/null @@ -1,48 +0,0 @@ -@font-face { - font-family: "Maven Pro"; - src: url("MavenPro-Regular.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: "Maven Pro"; - src: url("MavenProLight-100.otf") format("truetype"); - font-weight: 100; - font-style: normal; -} - -@font-face { - font-family: "Maven Pro"; - src: url("MavenProLight-200.otf") format("truetype"); - font-weight: 200; - font-style: normal; -} - -@font-face { - font-family: "Maven Pro"; - src: url("MavenProLight-300.otf") format("truetype"); - font-weight: 300; - font-style: normal; -} - -@font-face { - font-family: "Maven Pro"; - src: url("MavenPro-Medium.ttf") format("truetype"); - font-weight: 600; - font-style: normal; -} - -@font-face { - font-family: "Maven Pro"; - src: url("MavenPro-Bold.ttf") format("truetype"); - font-weight: 700; - font-style: normal; -} - -@font-face { - font-family: "Maven Pro"; - src: url("MavenPro-Black.ttf") format("truetype"); - font-weight: 800; - font-style: normal; -} diff --git a/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-100.otf b/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-100.otf deleted file mode 100644 index 8e23189fff..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-100.otf and /dev/null differ diff --git a/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-200.otf b/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-200.otf deleted file mode 100644 index 9df40f4126..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-200.otf and /dev/null differ diff --git a/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-300.otf b/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-300.otf deleted file mode 100644 index 928d32c3fc..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/MavenProLight-300.otf and /dev/null differ diff --git a/tools/php_api_ref/.phpdoc/template/fonts/ez-icons.ttf b/tools/php_api_ref/.phpdoc/template/fonts/ez-icons.ttf deleted file mode 100644 index d612ecf53d..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/ez-icons.ttf and /dev/null differ diff --git a/tools/php_api_ref/.phpdoc/template/fonts/ez-icons.woff b/tools/php_api_ref/.phpdoc/template/fonts/ez-icons.woff deleted file mode 100644 index aab87b0d1b..0000000000 Binary files a/tools/php_api_ref/.phpdoc/template/fonts/ez-icons.woff and /dev/null differ diff --git a/tools/raml2html/.gitignore b/tools/raml2html/.gitignore deleted file mode 100644 index 813afa9a39..0000000000 --- a/tools/raml2html/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -var -vendor -composer.lock -.php_cs.cache diff --git a/tools/raml2html/.php_cs b/tools/raml2html/.php_cs deleted file mode 100644 index 17d70332ee..0000000000 --- a/tools/raml2html/.php_cs +++ /dev/null @@ -1,8 +0,0 @@ -<?php - -return EzSystems\EzPlatformCodeStyle\PhpCsFixer\Config::create()->setFinder( - PhpCsFixer\Finder::create() - ->in(__DIR__ . '/src') - ->in(__DIR__ . '/tests') - ->files()->name('*.php') -); diff --git a/tools/raml2html/README.md b/tools/raml2html/README.md deleted file mode 100644 index 3dde5dbd2c..0000000000 --- a/tools/raml2html/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# raml2html - -Tool for generating static HTML from RAML definitions. - -## Installation - -Install required dependencies before use. Go to raml2html root directory and run: - -``` -composer install -``` - -To generate static HTML from RAML definitions, use the following code: - - -```sh -php tools/raml2html/raml2html.php build --non-standard-http-methods=COPY,MOVE,PUBLISH,SWAP -t default -o docs/api/rest_api/rest_api_reference/ docs/api/rest_api/rest_api_reference/input/ibexa.raml -``` diff --git a/tools/raml2html/composer.json b/tools/raml2html/composer.json deleted file mode 100644 index 07e47581f2..0000000000 --- a/tools/raml2html/composer.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "ibexa/raml2html", - "type": "project", - "license": "MIT", - "authors": [ - { - "name": "Adam Wójs", - "email": "adam@wojs.pl" - }, - { - "name": "Adrien Dupuis", - "email": "adrien.dupuis@ibexa.co" - } - ], - "require": { - "php": "^8.0", - "symfony/console": "^6.0", - "raml-org/raml-php-parser": "^4.8", - "twig/twig": "^3.6", - "symfony/filesystem": "^6.0", - "ramsey/uuid": "^4.7", - "twig/markdown-extra": "^3.6", - "league/commonmark": "^2.3", - "cweagans/composer-patches": "^1.7" - }, - "require-dev": { - "symfony/var-dumper": "^6.0", - "ibexa/code-style": "^1.2" - }, - "autoload": { - "psr-4": { - "EzSystems\\Raml2Html\\": "src" - } - }, - "config": { - "allow-plugins": { - "cweagans/composer-patches": true - } - }, - "extra": { - "patches": { - "raml-org/raml-php-parser": { - "Array of scalars": "https://github.com/raml-org/raml-php-parser/commit/d2e58eac1705a8cf2be43ed3d482006e67e4ef2d.patch", - "No available type list in type not found exception": "https://github.com/raml-org/raml-php-parser/commit/d54af98b9bd6d2400bbdd1c186e9b86c2dd88c83.patch", - "Fix warnings and depreciations for PHP 8.1": "https://patch-diff.githubusercontent.com/raw/raml-org/raml-php-parser/pull/180.patch", - "Fix baseUri misuse": "patches/ApiDefinition.php.patch" - } - } - } -} diff --git a/tools/raml2html/patches/ApiDefinition.php.patch b/tools/raml2html/patches/ApiDefinition.php.patch deleted file mode 100644 index 7dfdbb8558..0000000000 --- a/tools/raml2html/patches/ApiDefinition.php.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: tools/raml2html/vendor/raml-org/raml-php-parser/src/ApiDefinition.php -IDEA additional info: -Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP -<+>UTF-8 -=================================================================== -diff --git a/src/ApiDefinition.php b/src/ApiDefinition.php ---- a/src/ApiDefinition.php -+++ b/src/ApiDefinition.php (date 1707386266597) -@@ -810,7 +810,7 @@ - - private function setProtocolsFromBaseUri(): void - { -- $schema = \mb_strtoupper(\parse_url($this->baseUri, PHP_URL_SCHEME)); -+ $schema = \mb_strtoupper(\parse_url($this->baseUri, PHP_URL_SCHEME) ?? ''); - - $this->protocols = empty($schema) ? [self::PROTOCOL_HTTPS, self::PROTOCOL_HTTP] : [$schema]; - } diff --git a/tools/raml2html/raml2html.php b/tools/raml2html/raml2html.php deleted file mode 100644 index cb1c01d3f1..0000000000 --- a/tools/raml2html/raml2html.php +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env php -<?php - -require_once __DIR__ . '/vendor/autoload.php'; - -use EzSystems\Raml2Html\Application; - -$app = new Application(); -$app->run(); - diff --git a/tools/raml2html/src/Application.php b/tools/raml2html/src/Application.php deleted file mode 100644 index 7485e356c8..0000000000 --- a/tools/raml2html/src/Application.php +++ /dev/null @@ -1,83 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html; - -use EzSystems\Raml2Html\Command\BuildCommand; -use EzSystems\Raml2Html\Command\ClearCacheCommand; -use EzSystems\Raml2Html\Command\LintTypesCommand; -use EzSystems\Raml2Html\Generator\Generator; -use EzSystems\Raml2Html\RAML\ParserFactory; -use EzSystems\Raml2Html\Twig\Extension\HashExtension; -use EzSystems\Raml2Html\Twig\Extension\RenderExtension; -use EzSystems\Raml2Html\Twig\Extra\Markdown\GithubFlavoredMarkdown; -use Symfony\Component\Console\Application as BaseApplication; -use Twig as Twig; -use Twig\Extra\Markdown\DefaultMarkdown; -use Twig\Extra\Markdown\MarkdownExtension; -use Twig\Extra\Markdown\MarkdownRuntime; -use Twig\RuntimeLoader\RuntimeLoaderInterface; - -final class Application extends BaseApplication -{ - private const CACHE_DIR = __DIR__ . '/../var/cache/'; - - /** @var Twig\Environment|null */ - private $twig = null; - - /** - * {@inheritdoc} - */ - protected function getDefaultCommands(): array - { - return array_merge(parent::getDefaultCommands(), [ - new BuildCommand( - $this->getGenerator(), - $this->getRamlParserFactory() - ), - new LintTypesCommand( - $this->getRamlParserFactory() - ), - new ClearCacheCommand(self::CACHE_DIR), - ]); - } - - public function getTwig(): Twig\Environment - { - if ($this->twig === null) { - $loader = new Twig\Loader\FilesystemLoader(__DIR__ . '/../themes'); - $options = [ - 'debug' => true, - 'cache' => self::CACHE_DIR, - 'strict_variables' => true, - ]; - - $this->twig = new Twig\Environment($loader, $options); - $this->twig->addExtension(new RenderExtension()); - $this->twig->addExtension(new MarkdownExtension()); - $this->twig->addRuntimeLoader(new class implements RuntimeLoaderInterface { - public function load($class): ?MarkdownRuntime { - if (MarkdownRuntime::class === $class) { - return new MarkdownRuntime(new GithubFlavoredMarkdown()); - } - - return null; - } - }); - $this->twig->addExtension(new HashExtension()); - } - - return $this->twig; - } - - private function getGenerator(): Generator - { - return new Generator($this->getTwig()); - } - - private function getRamlParserFactory(): ParserFactory - { - return new ParserFactory(); - } -} diff --git a/tools/raml2html/src/Command/BuildCommand.php b/tools/raml2html/src/Command/BuildCommand.php deleted file mode 100644 index 3b3e23e16d..0000000000 --- a/tools/raml2html/src/Command/BuildCommand.php +++ /dev/null @@ -1,89 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html\Command; - -use EzSystems\Raml2Html\Generator\Generator; -use EzSystems\Raml2Html\Generator\GeneratorOptions; -use EzSystems\Raml2Html\RAML\ParserFactory; -use EzSystems\Raml2Html\RAML\ParserConfiguration; -use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; -use Symfony\Component\Console\Output\OutputInterface; - -final class BuildCommand extends Command -{ - private const OPTION_THEME = 'theme'; - private const OPTION_OUTPUT_DIR = 'output'; - private const OPTION_NON_STANDARD_HTTP_METHODS = 'non-standard-http-methods'; - - /** @var \Raml\Parser */ - private $ramlParserFactory; - - /** @var \EzSystems\Raml2Html\Generator\Generator */ - private $generator; - - /** - * @param \EzSystems\Raml2Html\Generator\Generator $generator - * @param \EzSystems\Raml2Html\RAML\ParserFactory $ramlParserFactory - */ - public function __construct(Generator $generator, ParserFactory $ramlParserFactory) - { - parent::__construct(); - - $this->generator = $generator; - $this->ramlParserFactory = $ramlParserFactory; - } - - /** - * {@inheritdoc} - */ - protected function configure(): void - { - $this->setName('build'); - $this->addArgument('definition'); - $this->addOption(self::OPTION_THEME, 't', InputOption::VALUE_REQUIRED, 'Theme', 'default'); - $this->addOption(self::OPTION_OUTPUT_DIR, 'o', InputOption::VALUE_REQUIRED, 'Output directory', getcwd()); - $this->addOption(self::OPTION_NON_STANDARD_HTTP_METHODS, null, InputOption::VALUE_OPTIONAL, 'Non standard HTTP methods'); - } - - /** - * {@inheritdoc} - */ - protected function execute(InputInterface $input, OutputInterface $output): int - { - $ramlParser = $this->ramlParserFactory->createParser( - $this->createParserConfigurationFromInput($input) - ); - - $this->generator->generate( - $ramlParser->parse($input->getArgument('definition')), - $this->createGeneratorOptionsFromInput($input) - ); - - return 0; - } - - private function createParserConfigurationFromInput(InputInterface $input): ParserConfiguration - { - $configuration = new ParserConfiguration(); - - $nonStandardHTTPMethods = $input->getOption(self::OPTION_NON_STANDARD_HTTP_METHODS); - if ($nonStandardHTTPMethods !== null) { - $configuration->setNonStandardHttpMethods(explode(',', $nonStandardHTTPMethods)); - } - - return $configuration; - } - - private function createGeneratorOptionsFromInput(InputInterface $input): GeneratorOptions - { - $generatorOptions = new GeneratorOptions(); - $generatorOptions->setOutputDir($input->getOption(self::OPTION_OUTPUT_DIR)); - $generatorOptions->setTheme($input->getOption(self::OPTION_THEME)); - - return $generatorOptions; - } -} diff --git a/tools/raml2html/src/Command/ClearCacheCommand.php b/tools/raml2html/src/Command/ClearCacheCommand.php deleted file mode 100644 index cc0148d15e..0000000000 --- a/tools/raml2html/src/Command/ClearCacheCommand.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html\Command; - -use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Console\Style\SymfonyStyle; -use Symfony\Component\Filesystem\Exception\IOException; -use Symfony\Component\Filesystem\Filesystem; - -final class ClearCacheCommand extends Command -{ - /** @var string */ - private $cacheDir; - - public function __construct(string $cacheDir) - { - parent::__construct(); - - $this->cacheDir = $cacheDir; - } - - protected function configure(): void - { - $this->setName('cache:clear'); - $this->setDescription('Clears the cache'); - } - - protected function execute(InputInterface $input, OutputInterface $output): void - { - $fs = new Filesystem(); - $io = new SymfonyStyle($input, $output); - - try { - $fs->remove($this->cacheDir); - $io->success('Cache was successfully cleared.'); - } catch (IOException $e) { - if ($output->isVerbose()) { - $io->warning($e->getMessage()); - } - } - } -} diff --git a/tools/raml2html/src/Command/LintTypesCommand.php b/tools/raml2html/src/Command/LintTypesCommand.php deleted file mode 100644 index 7c411107ce..0000000000 --- a/tools/raml2html/src/Command/LintTypesCommand.php +++ /dev/null @@ -1,117 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html\Command; - -use EzSystems\Raml2Html\RAML\ParserConfiguration; -use EzSystems\Raml2Html\RAML\ParserFactory; -use Raml\ApiDefinition; -use Raml\Body; -use Raml\Resource; -use Raml\TypeInterface; -use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; -use Symfony\Component\Console\Output\OutputInterface; - -final class LintTypesCommand extends Command -{ - private const OPTION_NON_STANDARD_HTTP_METHODS = 'non-standard-http-methods'; - - /** @var \EzSystems\Raml2Html\RAML\ParserFactory */ - private $ramlParserFactory; - - /** @var string[] */ - private $nonExisting = []; - - public function __construct(ParserFactory $ramlParserFactory) - { - parent::__construct(); - $this->ramlParserFactory = $ramlParserFactory; - } - - protected function configure(): void - { - $this->setName('lint:types'); - $this->addArgument('definition'); - - $this->addOption(self::OPTION_NON_STANDARD_HTTP_METHODS, null, InputOption::VALUE_OPTIONAL, 'Non standard HTTP methods'); - } - - protected function execute(InputInterface $input, OutputInterface $output): void - { - $ramlParser = $this->ramlParserFactory->createParser( - $this->createParserConfigurationFromInput($input) - ); - - $this->lintTypes($ramlParser->parse($input->getArgument('definition'))); - - $nonExisting = array_unique($this->nonExisting); - foreach ($nonExisting as $typeName) { - $output->writeln($typeName); - } - } - - private function createParserConfigurationFromInput(InputInterface $input): ParserConfiguration - { - $configuration = new ParserConfiguration(); - - $nonStandardHTTPMethods = $input->getOption(self::OPTION_NON_STANDARD_HTTP_METHODS); - if ($nonStandardHTTPMethods !== null) { - $configuration->setNonStandardHttpMethods(explode(',', $nonStandardHTTPMethods)); - } - - return $configuration; - } - - private function lintTypes(ApiDefinition $definition, iterable $resources = null) - { - if ($resources === null) { - $resources = $definition->getResources(); - } - - /** @var resource $resource */ - foreach ($resources as $resource) { - foreach ($resource->getMethods() as $method) { - foreach ($method->getBodies() as $body) { - if (!$body instanceof Body) { - continue; - } - - $this->doCheckType($definition, $body->getType()); - } - } - - foreach ($method->getResponses() as $response) { - foreach ($response->getBodies() as $body) { - if (!$body instanceof Body) { - continue; - } - - $this->doCheckType($definition, $body->getType()); - } - } - - $this->lintTypes($definition, $resource->getResources()); - } - } - - private function doCheckType(ApiDefinition $definition, TypeInterface $needle): void - { - if (!$this->exists($definition, $needle)) { - $this->nonExisting[] = $needle->getName(); - } - } - - private function exists(ApiDefinition $definition, TypeInterface $needle): bool - { - foreach ($definition->getTypes() as $type) { - if ($type->getName() == $needle->getName()) { - return true; - } - } - - return false; - } -} diff --git a/tools/raml2html/src/Generator/Generator.php b/tools/raml2html/src/Generator/Generator.php deleted file mode 100644 index 608bd6aaf9..0000000000 --- a/tools/raml2html/src/Generator/Generator.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html\Generator; - -use Raml\ApiDefinition; -use Symfony\Component\Filesystem\Filesystem; -use Twig\Environment; - -final class Generator -{ - /** @var \Twig\Environment */ - private $twig; - - public function __construct(Environment $twig) - { - $this->twig = $twig; - } - - public function generate(ApiDefinition $apiDefinition, GeneratorOptions $options): void - { - $theme = $options->getTheme(); - - $output = $this->twig->render("$theme/index.html.twig", [ - 'api' => $apiDefinition, - 'theme' => $theme, - ]); - - $filename = $this->getOutputFilePath($apiDefinition, $options); - - $fs = new Filesystem(); - $fs->dumpFile($filename, $output); - } - - private function getOutputFilePath(ApiDefinition $apiDefinition, GeneratorOptions $options): string - { - return $options->getOutputDir() . \DIRECTORY_SEPARATOR . 'rest_api_reference.html'; - } -} diff --git a/tools/raml2html/src/Generator/GeneratorOptions.php b/tools/raml2html/src/Generator/GeneratorOptions.php deleted file mode 100644 index 7ee64517b9..0000000000 --- a/tools/raml2html/src/Generator/GeneratorOptions.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html\Generator; - -final class GeneratorOptions -{ - /** - * Documentation theme. - * - * @var string - */ - private $theme; - - /** - * Output directory. - * - * @var string - */ - private $outputDir; - - public function getTheme(): string - { - return $this->theme; - } - - public function setTheme(string $theme): void - { - $this->theme = $theme; - } - - public function getOutputDir(): string - { - return $this->outputDir; - } - - public function setOutputDir(string $outputDir): void - { - $this->outputDir = $outputDir; - } -} diff --git a/tools/raml2html/src/RAML/ParserConfiguration.php b/tools/raml2html/src/RAML/ParserConfiguration.php deleted file mode 100644 index 7648c5efe2..0000000000 --- a/tools/raml2html/src/RAML/ParserConfiguration.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html\RAML; - -use Raml\ParseConfiguration as BaseParseConfiguration; - -final class ParserConfiguration extends BaseParseConfiguration -{ - /** - * Additional non-standard HTTP methods e.g. COPY, MOVE, PUBLISH. - * - * @var string[] - */ - private $nonStandardHttpMethods = []; - - public function getNonStandardHttpMethods(): array - { - return $this->nonStandardHttpMethods; - } - - public function hasNonStandardHttpMethods(): bool - { - return !empty($this->nonStandardHttpMethods); - } - - public function setNonStandardHttpMethods(array $nonStandardHttpMethods): void - { - $this->nonStandardHttpMethods = $nonStandardHttpMethods; - } -} diff --git a/tools/raml2html/src/RAML/ParserFactory.php b/tools/raml2html/src/RAML/ParserFactory.php deleted file mode 100644 index b1ed408d81..0000000000 --- a/tools/raml2html/src/RAML/ParserFactory.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html\RAML; - -use Raml\Method; -use Raml\Parser; - -final class ParserFactory -{ - public function createParser(ParserConfiguration $configuration = null): Parser - { - if ($configuration === null) { - $configuration = $this->getDefaultConfiguration(); - } - - if ($configuration->hasNonStandardHttpMethods()) { - Method::$validMethods = array_merge(Method::$validMethods, $configuration->getNonStandardHttpMethods()); - } - - $parser = new Parser(); - $parser->setConfiguration($configuration); - - return $parser; - } - - private function getDefaultConfiguration(): ParserConfiguration - { - $configuration = new ParserConfiguration(); - $configuration->enableDirectoryTraversal(); - - return $configuration; - } -} diff --git a/tools/raml2html/src/Twig/Extension/HashExtension.php b/tools/raml2html/src/Twig/Extension/HashExtension.php deleted file mode 100644 index c1459fec88..0000000000 --- a/tools/raml2html/src/Twig/Extension/HashExtension.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -/** - * @copyright Copyright (C) Ibexa AS. All rights reserved. - * @license For full copyright and license information view LICENSE file distributed with this source code. - */ -declare(strict_types=1); - -namespace EzSystems\Raml2Html\Twig\Extension; - -use RuntimeException; -use Twig\Extension\AbstractExtension; -use Twig\TwigFunction; - -class HashExtension extends AbstractExtension -{ - private $hashes = []; - - public function getFunctions(): array - { - return [ - new TwigFunction('hash', function (string ...$values): string { - $hash = hash('sha256', json_encode($values)); - - if (isset($this->hashes[$hash])) { - throw new RuntimeException('Hash is generated twice for ' . json_encode($values)); - } - - $this->hashes[$hash] = $hash; - - return $hash; - }), - ]; - } -} diff --git a/tools/raml2html/src/Twig/Extension/RenderExtension.php b/tools/raml2html/src/Twig/Extension/RenderExtension.php deleted file mode 100644 index b64eace71a..0000000000 --- a/tools/raml2html/src/Twig/Extension/RenderExtension.php +++ /dev/null @@ -1,197 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace EzSystems\Raml2Html\Twig\Extension; - -use Raml\Method; -use Raml\TypeCollection; -use Raml\TypeInterface; -use Raml\Types\ArrayType; -use Raml\Types\LazyProxyType; -use Raml\Types\ObjectType; -use Ramsey\Uuid\Uuid; -use Twig\Extension\AbstractExtension; -use Twig\TwigFunction; -use Twig\TwigTest; - -class RenderExtension extends AbstractExtension -{ - public function getFunctions(): array - { - return [ - new TwigFunction('uuid', function () { - return Uuid::uuid1()->toString(); - }), - new TwigFunction('dump', function ($var, ...$moreVars) { - ob_start(); - dump($var, ...$moreVars); - $output = ob_get_contents(); - ob_end_flush(); - - return $output; - }), - new TwigFunction('method_types', function (TypeCollection $typeCollection, Method $method) { - $types = []; - $methodTypes = $this->getTypes($method); - - foreach ($methodTypes as $type) { - $types[$type] = $typeCollection->getTypeByName($type)->getDefinition()['description'] ?? ''; - } - - return $types; - }), - new TwigFunction('schema_format', [$this, 'getSchemaFormat']), - new TwigFunction('method_name_id', [$this, 'prepareMethodNameId']), - new TwigFunction('examples_tabs', [$this, 'getExamplesTabs']), - new TwigFunction('examples_body', [$this, 'getExamplesBody']), - ]; - } - - public function prepareMethodNameId(string $methodName): string - { - $methodName = strtolower($methodName); - $methodNameNoWhitespaces = preg_replace('/[\s\/]/', '-', $methodName); - - $methodId = preg_replace('/[(){}]/', '', $methodNameNoWhitespaces); - - if (preg_match('/\\W/', substr($methodId, 0, 1))) { - $methodId = substr($methodId, 1); - } - - return $methodId; - } - - public function getExamplesTabs(array $responseBodies): array - { - $tabs = []; - - /** @var \Raml\Body $body */ - foreach ($responseBodies as $body) { - if (!empty($body->getExamples()) && !empty($body->getExample())) { - $tabs[] = $this->getSchemaFormat($body->getMediaType()); - } - } - - return array_unique($tabs); - } - - public function getExamplesBody(array $responseBodies): array - { - $examples = []; - - /** @var \Raml\Body $body */ - foreach ($responseBodies as $body) { - $schemaFormat = $this->getSchemaFormat($body->getMediaType()); - - if (!empty($body->getExamples()) && !empty($body->getExample())) { - $examples[$schemaFormat][] = $body->getExample(); - } - } - - return $examples; - } - - public function getSchemaFormat(string $mediaType): string - { - $format = explode('+', $mediaType)[1] ?? ''; - - if (1 === preg_match('/[\W]/', $format, $matches)) { - $splittedFormat = str_split($format, strpos($format, ';')); - - return current($splittedFormat); - } - - return $format; - } - - public function getTests(): array - { - return [ - new TwigTest('scalar type', function ($type) { - return $this->isScalarType($type); - }), - new TwigTest('array type', function (TypeInterface $type) { - return $this->isArrayType($type); - }), - new TwigTest('object type', function (TypeInterface $type) { - return $this->isObjectType($type); - }), - new TwigTest('standard type', function ($type) { - return $this->isStandardType((string)$type); - }), - ]; - } - - private function isScalarType($type): bool - { - if ($type instanceof TypeInterface) { - $type = $type->getName(); - } - - return in_array($type, [ - 'time-only', - 'datetime', - 'datetime-only', - 'date-only', - 'number', - 'boolean', - 'string', - 'null', - 'nil', - 'file', - 'integer', - ]); - } - - private function isArrayType(TypeInterface $type): bool - { - return $type instanceof ArrayType; - } - - private function isObjectType(TypeInterface $type): bool - { - if ($type instanceof LazyProxyType) { - $type = $type->getWrappedObject(); - } - - return $type instanceof ObjectType; - } - - private function isStandardType($type): bool - { - if ($type instanceof TypeInterface) { - $type = $type->getName(); - } - - return $this->isScalarType($type) || $type === 'object'; - } - - - private function getTypes(Method $method) - { - $requestTypes = $this->getTypesFromBodies($method->getBodies()); - - foreach ($method->getResponses() as $response) { - $requestTypes += array_merge($requestTypes, $this->getTypesFromBodies($response->getBodies())); - } - - return array_unique($requestTypes); - } - - /** - * @param \Raml\BodyInterface[] $bodies - * - * @return array - */ - private function getTypesFromBodies(array $bodies): array - { - $types = []; - - foreach ($bodies as $body) { - $types[] = $body->getType()->getName(); - } - - return $types; - } -} diff --git a/tools/raml2html/src/Twig/Extra/Markdown/GithubFlavoredMarkdown.php b/tools/raml2html/src/Twig/Extra/Markdown/GithubFlavoredMarkdown.php deleted file mode 100644 index 3848c9672c..0000000000 --- a/tools/raml2html/src/Twig/Extra/Markdown/GithubFlavoredMarkdown.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -/** - * @copyright Copyright (C) Ibexa AS. All rights reserved. - * @license For full copyright and license information view LICENSE file distributed with this source code. - */ -declare(strict_types=1); - -namespace EzSystems\Raml2Html\Twig\Extra\Markdown; - -use League\CommonMark\Environment\Environment; -use League\CommonMark\Extension\CommonMark\CommonMarkCoreExtension; -use League\CommonMark\Extension\GithubFlavoredMarkdownExtension; -use League\CommonMark\MarkdownConverter; -use Twig\Extra\Markdown\MarkdownInterface; - -/** - * @internal - */ -final class GithubFlavoredMarkdown implements MarkdownInterface -{ - private MarkdownConverter $converter; - - public function __construct() - { - $environment = new Environment([]); - $environment->addExtension(new CommonMarkCoreExtension()); - $environment->addExtension(new GithubFlavoredMarkdownExtension()); - - $this->converter = new MarkdownConverter($environment); - } - - /** - * @throws \League\CommonMark\Exception\CommonMarkException - */ - public function convert(string $body): string - { - return $this->converter->convert($body)->getContent(); - } -} diff --git a/tools/raml2html/tests/.gitkeep b/tools/raml2html/tests/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tools/raml2html/themes/default/example-modal.html.twig b/tools/raml2html/themes/default/example-modal.html.twig deleted file mode 100644 index ffea427df8..0000000000 --- a/tools/raml2html/themes/default/example-modal.html.twig +++ /dev/null @@ -1,77 +0,0 @@ -<div class="modal fade" id="{{ tabId }}Modal" tabindex="-1" role="dialog" aria-labelledby="{{ tabId }}Title" aria-hidden="true"> - <div class="modal-dialog modal-xl" role="document"> - <div class="modal-content"> - <div class="modal-header"> - <p class="modal-title" id="{{ tabId }}Title"> - <span data-field="method" class="badge badge--sm badge--{{ method.type|lower }}">{{ method.type }}</span> - {{ method.displayName }} - </p> - <button type="button" class="close" data-dismiss="modal" aria-label="Close"> - <span aria-hidden="true">×</span> - </button> - </div> - <div class="modal-body"> - <div class="d-flex justify-content-between align-items-baseline"> - <ul class="nav nav-tabs border-bottom-0" id="{{ tabId }}ModalTab" role="tablist"> - {% if tabItems|length > 0 %} - <li class="nav-item"> - <a href="#" class="nav-link disabled"> - {{ response is defined ? 'Responses' : 'Request' }} - </a> - </li> - {% for item in tabItems %} - {% set itemId = tabId ~ '-' ~ item ~ '-modal' %} - <li class="nav-item"> - <a class="nav-link {{ loop.index == 1 ? 'active' : '' }} text-gray" id="{{ itemId ~ '-tab' }}" - data-toggle="tab" - href="#{{ itemId }}" - role="tab" - aria-controls="{{ itemId }}" - aria-selected="{{ loop.index == 1 ? 'true' : 'false' }}"> - {{ item }} - </a> - </li> - <li> - - </li> - {% endfor %} - {% endif %} - </ul> - {% if response is defined and tabItems|length > 0 %} - <div> - <code>Code: {{ response.statusCode }}</code> - </div> - {% endif %} - </div> - <div class="example position-relative border p-3 mb-3"> - <div class="tab-content" id="{{ tabId }}ModalContent"> - {% for type, example in examples %} - <div class="tab-pane fade {{ loop.index == 1 ? 'show active' : '' }}" - id="{{ tabId ~ '-' ~ type }}-modal" role="tabpanel" - aria-labelledby="{{ tabId ~ '-' ~ type }}-modal-tab"> - {% for body in example %} - {% set margin = example|length > 1 and loop.index == 1 ? 'mb-4' : '' %} - {% set border = loop.index > 1 ? 'border-top' : '' %} - <div class="position-relative {{ margin }} {{ border }}"> - {% set clipboardId = 'M'~hash('M', type, tabId, loop.index) %} - <p class="mb-0 icon icon--copy-clipboard"> - <i class="material-icons-outlined clipboard" - data-toggle="tooltip" - data-placement="top" - data-clipboard-target="#{{ clipboardId }}" - title="Copy to clipboard">file_copy - </i> - </p> - <pre id="{{ clipboardId }}"> - <code class="{{ type }}">{{ body }}</code> - </pre> - </div> - {% endfor %} - </div> - {% endfor %} - </div> - </div> - </div> - </div> - </div> -</div> diff --git a/tools/raml2html/themes/default/example.html.twig b/tools/raml2html/themes/default/example.html.twig deleted file mode 100644 index dd60888165..0000000000 --- a/tools/raml2html/themes/default/example.html.twig +++ /dev/null @@ -1,32 +0,0 @@ -{% set tabId = tabId is defined ? tabId : '' %} -<div class="example position-relative border p-3 mb-3"> - <div class="tab-content" id="{{ tabId }}Content"> - {% if examples is defined and examples|length > 0 %} - {% for type, example in examples %} - {% set elemId = tabId ~ '-' ~ type %} - <div class="tab-pane fade {{ loop.index == 1 ? 'show active' : '' }}" id="{{ elemId }}" role="tabpanel" - aria-labelledby="{{ elemId }}-tab"> - {% for body in example %} - {% set margin = example|length > 1 and loop.index == 1 ? 'mb-4' : '' %} - {% set border = loop.index > 1 ? 'border-top' : '' %} - <div class="position-relative {{ margin }} {{ border }}"> - {% set clipboardId = 'S'~hash('S', type, tabId, loop.index) %} - <p class="mb-0 icon icon--copy-clipboard"> - <i class="material-icons-outlined clipboard" - data-toggle="tooltip" - data-placement="top" - data-clipboard-target="#{{ clipboardId }}" - title="Copy to clipboard">file_copy - </i> - </p> - <pre id="{{ clipboardId }}" class="example__code-wrapper"> - <code class="{{ type }}">{{ body|slice(0,1000) }}</code> - </pre> - </div> - <a href="" data-toggle="modal" data-target="#{{ tabId }}Modal" class="btn btn--example-view-more text-center">View more</a> - {% endfor %} - </div> - {% endfor %} - {% endif %} - </div> -</div> diff --git a/tools/raml2html/themes/default/header-parameters.html.twig b/tools/raml2html/themes/default/header-parameters.html.twig deleted file mode 100644 index f73e5b9bf3..0000000000 --- a/tools/raml2html/themes/default/header-parameters.html.twig +++ /dev/null @@ -1,47 +0,0 @@ -<tr> - <td>Type</td> - <td> - {% set is_structured_value = not item.type is scalar type or not item.type == 'array' %} - - {% if not is_structured_value %} - <span> - {% if item.enum %} - {% if item.enum|length > 1 %} - (one of {{ item.enum | join(', ') }}) - {% else %} - {{ item.enum | first }} - {% endif %} - {% else %} - {% if item.type == 'array' %} - (array of X) - {% else %} - {{ item.type }} - {% endif %} - {% endif %} - </span> - {% if item.isRequired() %} <span class="blue-text">(required)</span>{% endif %} - - {% if item.canRepeat() %} repeat: {{ item.repeat }}{% endif %} - - {% if item.type == 'string' %} - {% if item.minLength or item.minLength is same as(0) %} | minLength: {{ item.minLength }}{% endif %} - {% if item.maxLength or item.maxLength is same as(0) %} | maxLength: {{ item.maxLength }}{% endif %} - {% else %} - {% if item.minimum or item.minimum is same as(0) %} | minimum: {{ item.minimum }}{% endif %} - {% if item.maximum or item.maximum is same as(0) %} | maximum: {{ item.maximum }}{% endif %} - {% endif %} - - {% if item.validationPattern %} | pattern: {{ item.validationPattern }}{% endif %} - {% endif %} - </td> -</tr> -{% if item.examples %} -<tr> - <td>Examples</td> - <td> - {% for example in item.examples %} - <code>{{ example }}</code> - {% endfor %} - </td> -</tr> -{% endif %} diff --git a/tools/raml2html/themes/default/index.html.twig b/tools/raml2html/themes/default/index.html.twig deleted file mode 100644 index 46a59e0245..0000000000 --- a/tools/raml2html/themes/default/index.html.twig +++ /dev/null @@ -1,113 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"/> - <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> - <link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet"> - <link href="assets/css/bootstrap.min.css" rel="stylesheet"> - <link href="assets/css/bootstrap-toc.min.css" rel="stylesheet"> - <link href="assets/fonts/MavenPro.css" rel="stylesheet"> - <link href="assets/css/github-gist.css" rel="stylesheet"> - <link href="assets/css/style.css" rel="stylesheet"> - <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> - <title>{{ api.title }} - - - -
    -
    -
    -
    - - Ibexa - - -
    -
    -
    -
    -
    -
    -
    - -
    -
    - {% for resource in api.resources %} -
    - {% set rootParentName = resource.displayName|default(resource.uri) %} - {% set rootElemId = resource.displayName|replace({' ': '-'})|lower %} -

    - {{ rootParentName }} - -

    - {% include theme ~ "/resource-endpoints.html.twig" with {'isFirstLevel': true} %} -
    - {% endfor %} - {% if api.types is not empty %} - {% for type in api.types %} - - {% endfor %} - {% endif %} -
    -
    -
    -
    -
    -
    -

    Copyright 1999- Ibexa AS and others.

    -
    -
    - - - - - - - - - - - - - - - diff --git a/tools/raml2html/themes/default/method-headers.html.twig b/tools/raml2html/themes/default/method-headers.html.twig deleted file mode 100644 index ac099fd9ee..0000000000 --- a/tools/raml2html/themes/default/method-headers.html.twig +++ /dev/null @@ -1,24 +0,0 @@ -{% if method.headers %} -
    -
    Header parameters
    - {% for item in method.headers %} -
    -

    {{ item.key }}

    -

    {{ item.description }}

    -
    - - - - - - - - - {% include theme ~ "/header-parameters.html.twig" %} - -
    PropertyValue
    -
    -
    - {% endfor %} -
    -{% endif %} diff --git a/tools/raml2html/themes/default/method-possible-responses.html.twig b/tools/raml2html/themes/default/method-possible-responses.html.twig deleted file mode 100644 index 3b57311bd7..0000000000 --- a/tools/raml2html/themes/default/method-possible-responses.html.twig +++ /dev/null @@ -1,34 +0,0 @@ -{% if method.responses %} -
    -
    Possible responses
    -
    - - - - - - - - - {% for response in method.responses %} - - - - - {% endfor %} - -
    CodeDescription
    - {% if response.bodies|length > 0%} - - {{ response.statusCode }} - - {% else %} - {{ response.statusCode }} - {% endif %} - -

    {{ response.description }}

    -
    -
    -
    -{% endif %} diff --git a/tools/raml2html/themes/default/method-query-parameters.html.twig b/tools/raml2html/themes/default/method-query-parameters.html.twig deleted file mode 100644 index feb3dcbe35..0000000000 --- a/tools/raml2html/themes/default/method-query-parameters.html.twig +++ /dev/null @@ -1,21 +0,0 @@ -{% if method.queryParameters %} -
    -
    Query parameters
    -
    - - - - - - - - - - {% for item in method.queryParameters %} - {% include theme ~ "/named-parameter.html.twig" %} - {% endfor %} - -
    PropertyTypeValue
    -
    -
    -{% endif %} diff --git a/tools/raml2html/themes/default/named-parameter.html.twig b/tools/raml2html/themes/default/named-parameter.html.twig deleted file mode 100644 index a36d351328..0000000000 --- a/tools/raml2html/themes/default/named-parameter.html.twig +++ /dev/null @@ -1,44 +0,0 @@ - - - {{ item.key }} - - - {% set is_structured_value = not item.type is scalar type or not item.type == 'array' %} - - {% if not is_structured_value %} - - {% if item.enum %} - {% if item.enum|length > 1 %} - (one of {{ item.enum | join(', ') }}) - {% else %} - {{ item.enum | first }} - {% endif %} - {% else %} - {% if item.type == 'array' %} - (array of X) - {% else %} - {{ item.type }} - {% endif %} - {% endif %} - - {% if item.isRequired() %} (required){% endif %} - - {% if item.canRepeat() %} repeat: {{ item.repeat }}{% endif %} - - {% if item.type == 'string' %} - {% if item.minLength or item.minLength is same as(0) %} | minLength: {{ item.minLength }}{% endif %} - {% if item.maxLength or item.maxLength is same as(0) %} | maxLength: {{ item.maxLength }}{% endif %} - {% else %} - {% if item.minimum or item.minimum is same as(0) %} | minimum: {{ item.minimum }}{% endif %} - {% if item.maximum or item.maximum is same as(0) %} | maximum: {{ item.maximum }}{% endif %} - {% endif %} - - {% if item.validationPattern %} | pattern: {{ item.validationPattern }}{% endif %} - {% endif %} - - - {% if item.description %} - {{ item.description|default('')|markdown_to_html }} - {% endif %} - - diff --git a/tools/raml2html/themes/default/resource-endpoints.html.twig b/tools/raml2html/themes/default/resource-endpoints.html.twig deleted file mode 100644 index 79a578eb20..0000000000 --- a/tools/raml2html/themes/default/resource-endpoints.html.twig +++ /dev/null @@ -1,31 +0,0 @@ -{% if (resource.methods or (resource.description and resource.parentUrl)) %} - {% set sectionId = resource.displayName|replace({' ': '-'})|lower %} -
    -
    -

    {{ resource.uri }}

    -
      - {% for method in resource.methods %} -
    • - {% set methodNameId = method_name_id(method.displayName) %} - - - {{ method.type }} - - -
    • - {% endfor %} -
    -
    -
    - {% for method in resource.methods %} - {% include theme ~ "/resource.html.twig" %} - {% endfor %} -{% endif %} -{% for subresource in resource.resources %} - {% if isFirstLevel and resource.resources|length > 1 %} -
    -

    {{ subresource.uri }}

    -
    - {% endif %} - {% include theme ~ "/resource-endpoints.html.twig" with {'resource': subresource, 'isFirstLevel': false} %} -{% endfor %} diff --git a/tools/raml2html/themes/default/resource-request-content.html.twig b/tools/raml2html/themes/default/resource-request-content.html.twig deleted file mode 100644 index bd20656071..0000000000 --- a/tools/raml2html/themes/default/resource-request-content.html.twig +++ /dev/null @@ -1,35 +0,0 @@ -
    - {% if method.bodies %} - {% set tabId = method_name_id(sectionId ~ '-' ~ method.type|lower ~ '-request') %} -
    -
    - -
    - {% set examples = examples_body(method.bodies) %} - {% if examples|length > 0 %} - {% include theme ~ "/example.html.twig" %} - {% include theme ~ "/example-modal.html.twig" %} - {% endif %} -
    - {% endif %} -
    diff --git a/tools/raml2html/themes/default/resource-response-content.html.twig b/tools/raml2html/themes/default/resource-response-content.html.twig deleted file mode 100644 index 7514d77b61..0000000000 --- a/tools/raml2html/themes/default/resource-response-content.html.twig +++ /dev/null @@ -1,44 +0,0 @@ -
    - {% for response in method.responses %} - {% if response.headers or response.bodies %} - {% if response.bodies %} - {% set tabId = method_name_id(sectionId ~ '-' ~ method.type|lower ~ '-response-' ~ response.statusCode) %} -
    -
    - - {% if tabItems|length > 0 %} -
    - Code: {{ response.statusCode }} -
    - {% endif %} -
    - {% set examples = examples_body(response.bodies) %} - {% if examples|length > 0 %} - {% include theme ~ "/example.html.twig" %} - {% include theme ~ "/example-modal.html.twig" %} - {% endif %} -
    - {% endif %} - {% endif %} - {% endfor %} -
    diff --git a/tools/raml2html/themes/default/resource-securedby-content.html.twig b/tools/raml2html/themes/default/resource-securedby-content.html.twig deleted file mode 100644 index 3613bdd8e4..0000000000 --- a/tools/raml2html/themes/default/resource-securedby-content.html.twig +++ /dev/null @@ -1,98 +0,0 @@ -
    - - - {% for securityScheme in method.securitySchemes %} -
    - {% if securityScheme.description %} -
      -
    • Description
    • -
    • - {{ securityScheme.description }} -
    • -
    - {% endif %} - - {% if securityScheme.type is constant('Raml\\SecurityScheme\\SecuritySettings\\OAuth2SecuritySettings::TYPE') %} - {% if securityScheme.settings.scopes is not empty %} -
      -
    • Scopes
    • -
    • -
        - {% for scope in securityScheme.settings.scopes %} -
      • {{ scope }}
      • - {% endfor %} -
      -
    • -
    - {% endif %} - {% endif %} - - {% if securityScheme.describedBy %} - {% if securityScheme.describedBy.headers %} -
      -
    • Headers
    • -
    • -
        - {% for item in securityScheme.describedBy.headers %} - {% include theme ~ "/named-parameter.html.twig" %} - {% endfor %} -
      -
    • -
    - {% endif %} - - {% if securityScheme.describedBy.queryParameters %} -
      -
    • Query Parameters
    • -
    • -
        - {% for item in securityScheme.describedBy.queryParameters %} - {% include theme ~ "/named-parameter.html.twig" %} - {% endfor %} -
      -
    • -
    - {% endif %} - - {% if securityScheme.describedBy.responses %} - - - {% for response in securityScheme.describedBy.responses %} -
    -

    {{ response.description }}

    - - {% if response.headers %} -
      -
    • Headers
    • -
    • -
        - {% for item in response.headers %} - {% include theme ~ "/named-parameter.html.twig" %} - {% endfor %} -
      -
    • -
    - {% endif %} -
    - {% endfor %} - {% endif %} - {% endif %} -
    - {% endfor %} -
    diff --git a/tools/raml2html/themes/default/resource.html.twig b/tools/raml2html/themes/default/resource.html.twig deleted file mode 100644 index bbf2e4b0e7..0000000000 --- a/tools/raml2html/themes/default/resource.html.twig +++ /dev/null @@ -1,46 +0,0 @@ -{% set methodNameId = method_name_id(method.displayName) %} -
    -
    -
    -
    - {{ method.displayName }} - -
    -
    -
    -

    - {{ method.type }} - {{ resource.uri }} -

    -

    {{ method.description|default('')|markdown_to_html }}

    - {% include theme ~ "/method-headers.html.twig" %} - - {% include theme ~ "/method-query-parameters.html.twig" %} - - {% include theme ~ "/method-possible-responses.html.twig" %} - - {% include theme ~ "/types.html.twig" %} -
    -
    - {% set has_request = method.queryParameters or method.headers or method.bodies %} - {% set has_response = method.responses is not empty %} - {% set has_securedby = method.securitySchemes is not empty %} - - {% if has_request or has_response or has_securedby %} - {% if has_request %} - {% include theme ~ "/resource-request-content.html.twig" %} - {% endif %} - {% if has_securedby %} -
    Security
    - {% include theme ~ "/resource-securedby-content.html.twig" %} - {% endif %} - {% if has_response %} - {% include theme ~ "/resource-response-content.html.twig" %} - {% endif %} - {% endif %} -
    -
    -
    diff --git a/tools/raml2html/themes/default/type.html.twig b/tools/raml2html/themes/default/type.html.twig deleted file mode 100644 index 22b1847121..0000000000 --- a/tools/raml2html/themes/default/type.html.twig +++ /dev/null @@ -1,43 +0,0 @@ -{{ type.name }} - -{% if type.getRequired() %} - * -{% endif %} - -( - {%- if type is array type %} - {{- type.items.name -}}[] - {% else %} - {{- type.type -}} - {% endif -%} -) - - - - {% if type.definition.description is defined %} - {{- type.definition.description -}} - {% endif %} - - -{% if type.enum is not empty %} -

    - Allowed values: - {% for value in type.enum %} - {{ value }} - {% if not loop.last %}, {% endif %} - {% endfor %} -

    -{% endif %} - -{% if type is object type %} -
    -
      - {% for property in type.properties %} -
    • - {% include theme ~ '/type.html.twig' with { - type: property - } %} -
    • - {% endfor %} -
    -
    -{% endif %} diff --git a/tools/raml2html/themes/default/types.html.twig b/tools/raml2html/themes/default/types.html.twig deleted file mode 100644 index 002a86b199..0000000000 --- a/tools/raml2html/themes/default/types.html.twig +++ /dev/null @@ -1,29 +0,0 @@ -{% set types = method_types(api.types, method) %} -{% if types is defined and types|length > 0 %} -
    -
    Types
    -
    - - - - - - - - - {% for typeName, typeDescription in types %} - - - - - {% endfor %} - -
    TypeDescription
    - - {{ typeName }} - - {{ typeDescription }}
    -
    -
    -{% endif %} -