aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/go-openapi
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-06-01 18:11:50 +0100
committerGravatar GitHub <noreply@github.com> 2017-06-01 18:11:50 +0100
commit3752a97135e93ca32f052375f22e6c2419e2ce4c (patch)
tree4d37dc1139b8b9eabafc804b243aea69c8a625b9 /vendor/github.com/go-openapi
parent30ecb83dce02491a22eb64674354dbd9b1fa08c7 (diff)
downloadcoredns-3752a97135e93ca32f052375f22e6c2419e2ce4c.tar.gz
coredns-3752a97135e93ca32f052375f22e6c2419e2ce4c.tar.zst
coredns-3752a97135e93ca32f052375f22e6c2419e2ce4c.zip
update deps (#686)
Diffstat (limited to 'vendor/github.com/go-openapi')
-rw-r--r--vendor/github.com/go-openapi/jsonpointer/.github/CONTRIBUTING.md117
-rw-r--r--vendor/github.com/go-openapi/jsonreference/.github/CONTRIBUTING.md117
-rw-r--r--vendor/github.com/go-openapi/spec/.github/CONTRIBUTING.md117
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/all-the-things.json254
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/circularRefs.json54
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/circularSpec.json1
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/circularSpec.yaml67
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/clickmeter.json1
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/clickmeter.yaml6461
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/invalid-refs.json85
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/overflow.json124
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/params.json25
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/schemas1.json127
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/expansion/schemas2.json161
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/local_expansion/item.json18
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/local_expansion/spec.json46
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/specs/deeper/arrayProp.json6
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/specs/deeper/stringProp.json3
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/specs/refed.json224
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/specs/resolution.json14
-rw-r--r--vendor/github.com/go-openapi/spec/fixtures/specs/resolution2.json9
-rw-r--r--vendor/github.com/go-openapi/spec/schemas/jsonschema-draft-04.json150
-rw-r--r--vendor/github.com/go-openapi/spec/schemas/v2/README.md5
-rw-r--r--vendor/github.com/go-openapi/spec/schemas/v2/schema.json1607
-rw-r--r--vendor/github.com/go-openapi/swag/.github/CONTRIBUTING.md117
25 files changed, 0 insertions, 9910 deletions
diff --git a/vendor/github.com/go-openapi/jsonpointer/.github/CONTRIBUTING.md b/vendor/github.com/go-openapi/jsonpointer/.github/CONTRIBUTING.md
deleted file mode 100644
index 7dea4240d..000000000
--- a/vendor/github.com/go-openapi/jsonpointer/.github/CONTRIBUTING.md
+++ /dev/null
@@ -1,117 +0,0 @@
-## Contribution Guidelines
-
-### Pull requests are always welcome
-
-We are always thrilled to receive pull requests, and do our best to
-process them as fast as possible. Not sure if that typo is worth a pull
-request? Do it! We will appreciate it.
-
-If your pull request is not accepted on the first try, don't be
-discouraged! If there's a problem with the implementation, hopefully you
-received feedback on what to improve.
-
-We're trying very hard to keep go-swagger lean and focused. We don't want it
-to do everything for everybody. This means that we might decide against
-incorporating a new feature. However, there might be a way to implement
-that feature *on top of* go-swagger.
-
-
-### Conventions
-
-Fork the repo and make changes on your fork in a feature branch:
-
-- If it's a bugfix branch, name it XXX-something where XXX is the number of the
- issue
-- If it's a feature branch, create an enhancement issue to announce your
- intentions, and name it XXX-something where XXX is the number of the issue.
-
-Submit unit tests for your changes. Go has a great test framework built in; use
-it! Take a look at existing tests for inspiration. Run the full test suite on
-your branch before submitting a pull request.
-
-Update the documentation when creating or modifying features. Test
-your documentation changes for clarity, concision, and correctness, as
-well as a clean documentation build. See ``docs/README.md`` for more
-information on building the docs and how docs get released.
-
-Write clean code. Universally formatted code promotes ease of writing, reading,
-and maintenance. Always run `gofmt -s -w file.go` on each changed file before
-committing your changes. Most editors have plugins that do this automatically.
-
-Pull requests descriptions should be as clear as possible and include a
-reference to all the issues that they address.
-
-Pull requests must not contain commits from other users or branches.
-
-Commit messages must start with a capitalized and short summary (max. 50
-chars) written in the imperative, followed by an optional, more detailed
-explanatory text which is separated from the summary by an empty line.
-
-Code review comments may be added to your pull request. Discuss, then make the
-suggested modifications and push additional commits to your feature branch. Be
-sure to post a comment after pushing. The new commits will show up in the pull
-request automatically, but the reviewers will not be notified unless you
-comment.
-
-Before the pull request is merged, make sure that you squash your commits into
-logical units of work using `git rebase -i` and `git push -f`. After every
-commit the test suite should be passing. Include documentation changes in the
-same commit so that a revert would remove all traces of the feature or fix.
-
-Commits that fix or close an issue should include a reference like `Closes #XXX`
-or `Fixes #XXX`, which will automatically close the issue when merged.
-
-### Sign your work
-
-The sign-off is a simple line at the end of the explanation for the
-patch, which certifies that you wrote it or otherwise have the right to
-pass it on as an open-source patch. The rules are pretty simple: if you
-can certify the below (from
-[developercertificate.org](http://developercertificate.org/)):
-
-```
-Developer Certificate of Origin
-Version 1.1
-
-Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
-660 York Street, Suite 102,
-San Francisco, CA 94110 USA
-
-Everyone is permitted to copy and distribute verbatim copies of this
-license document, but changing it is not allowed.
-
-
-Developer's Certificate of Origin 1.1
-
-By making a contribution to this project, I certify that:
-
-(a) The contribution was created in whole or in part by me and I
- have the right to submit it under the open source license
- indicated in the file; or
-
-(b) The contribution is based upon previous work that, to the best
- of my knowledge, is covered under an appropriate open source
- license and I have the right under that license to submit that
- work with modifications, whether created in whole or in part
- by me, under the same open source license (unless I am
- permitted to submit under a different license), as indicated
- in the file; or
-
-(c) The contribution was provided directly to me by some other
- person who certified (a), (b) or (c) and I have not modified
- it.
-
-(d) I understand and agree that this project and the contribution
- are public and that a record of the contribution (including all
- personal information I submit with it, including my sign-off) is
- maintained indefinitely and may be redistributed consistent with
- this project or the open source license(s) involved.
-```
-
-then you just add a line to every git commit message:
-
- Signed-off-by: Joe Smith <joe@gmail.com>
-
-using your real name (sorry, no pseudonyms or anonymous contributions.)
-
-You can add the sign off when creating the git commit via `git commit -s`.
diff --git a/vendor/github.com/go-openapi/jsonreference/.github/CONTRIBUTING.md b/vendor/github.com/go-openapi/jsonreference/.github/CONTRIBUTING.md
deleted file mode 100644
index 7dea4240d..000000000
--- a/vendor/github.com/go-openapi/jsonreference/.github/CONTRIBUTING.md
+++ /dev/null
@@ -1,117 +0,0 @@
-## Contribution Guidelines
-
-### Pull requests are always welcome
-
-We are always thrilled to receive pull requests, and do our best to
-process them as fast as possible. Not sure if that typo is worth a pull
-request? Do it! We will appreciate it.
-
-If your pull request is not accepted on the first try, don't be
-discouraged! If there's a problem with the implementation, hopefully you
-received feedback on what to improve.
-
-We're trying very hard to keep go-swagger lean and focused. We don't want it
-to do everything for everybody. This means that we might decide against
-incorporating a new feature. However, there might be a way to implement
-that feature *on top of* go-swagger.
-
-
-### Conventions
-
-Fork the repo and make changes on your fork in a feature branch:
-
-- If it's a bugfix branch, name it XXX-something where XXX is the number of the
- issue
-- If it's a feature branch, create an enhancement issue to announce your
- intentions, and name it XXX-something where XXX is the number of the issue.
-
-Submit unit tests for your changes. Go has a great test framework built in; use
-it! Take a look at existing tests for inspiration. Run the full test suite on
-your branch before submitting a pull request.
-
-Update the documentation when creating or modifying features. Test
-your documentation changes for clarity, concision, and correctness, as
-well as a clean documentation build. See ``docs/README.md`` for more
-information on building the docs and how docs get released.
-
-Write clean code. Universally formatted code promotes ease of writing, reading,
-and maintenance. Always run `gofmt -s -w file.go` on each changed file before
-committing your changes. Most editors have plugins that do this automatically.
-
-Pull requests descriptions should be as clear as possible and include a
-reference to all the issues that they address.
-
-Pull requests must not contain commits from other users or branches.
-
-Commit messages must start with a capitalized and short summary (max. 50
-chars) written in the imperative, followed by an optional, more detailed
-explanatory text which is separated from the summary by an empty line.
-
-Code review comments may be added to your pull request. Discuss, then make the
-suggested modifications and push additional commits to your feature branch. Be
-sure to post a comment after pushing. The new commits will show up in the pull
-request automatically, but the reviewers will not be notified unless you
-comment.
-
-Before the pull request is merged, make sure that you squash your commits into
-logical units of work using `git rebase -i` and `git push -f`. After every
-commit the test suite should be passing. Include documentation changes in the
-same commit so that a revert would remove all traces of the feature or fix.
-
-Commits that fix or close an issue should include a reference like `Closes #XXX`
-or `Fixes #XXX`, which will automatically close the issue when merged.
-
-### Sign your work
-
-The sign-off is a simple line at the end of the explanation for the
-patch, which certifies that you wrote it or otherwise have the right to
-pass it on as an open-source patch. The rules are pretty simple: if you
-can certify the below (from
-[developercertificate.org](http://developercertificate.org/)):
-
-```
-Developer Certificate of Origin
-Version 1.1
-
-Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
-660 York Street, Suite 102,
-San Francisco, CA 94110 USA
-
-Everyone is permitted to copy and distribute verbatim copies of this
-license document, but changing it is not allowed.
-
-
-Developer's Certificate of Origin 1.1
-
-By making a contribution to this project, I certify that:
-
-(a) The contribution was created in whole or in part by me and I
- have the right to submit it under the open source license
- indicated in the file; or
-
-(b) The contribution is based upon previous work that, to the best
- of my knowledge, is covered under an appropriate open source
- license and I have the right under that license to submit that
- work with modifications, whether created in whole or in part
- by me, under the same open source license (unless I am
- permitted to submit under a different license), as indicated
- in the file; or
-
-(c) The contribution was provided directly to me by some other
- person who certified (a), (b) or (c) and I have not modified
- it.
-
-(d) I understand and agree that this project and the contribution
- are public and that a record of the contribution (including all
- personal information I submit with it, including my sign-off) is
- maintained indefinitely and may be redistributed consistent with
- this project or the open source license(s) involved.
-```
-
-then you just add a line to every git commit message:
-
- Signed-off-by: Joe Smith <joe@gmail.com>
-
-using your real name (sorry, no pseudonyms or anonymous contributions.)
-
-You can add the sign off when creating the git commit via `git commit -s`.
diff --git a/vendor/github.com/go-openapi/spec/.github/CONTRIBUTING.md b/vendor/github.com/go-openapi/spec/.github/CONTRIBUTING.md
deleted file mode 100644
index 7dea4240d..000000000
--- a/vendor/github.com/go-openapi/spec/.github/CONTRIBUTING.md
+++ /dev/null
@@ -1,117 +0,0 @@
-## Contribution Guidelines
-
-### Pull requests are always welcome
-
-We are always thrilled to receive pull requests, and do our best to
-process them as fast as possible. Not sure if that typo is worth a pull
-request? Do it! We will appreciate it.
-
-If your pull request is not accepted on the first try, don't be
-discouraged! If there's a problem with the implementation, hopefully you
-received feedback on what to improve.
-
-We're trying very hard to keep go-swagger lean and focused. We don't want it
-to do everything for everybody. This means that we might decide against
-incorporating a new feature. However, there might be a way to implement
-that feature *on top of* go-swagger.
-
-
-### Conventions
-
-Fork the repo and make changes on your fork in a feature branch:
-
-- If it's a bugfix branch, name it XXX-something where XXX is the number of the
- issue
-- If it's a feature branch, create an enhancement issue to announce your
- intentions, and name it XXX-something where XXX is the number of the issue.
-
-Submit unit tests for your changes. Go has a great test framework built in; use
-it! Take a look at existing tests for inspiration. Run the full test suite on
-your branch before submitting a pull request.
-
-Update the documentation when creating or modifying features. Test
-your documentation changes for clarity, concision, and correctness, as
-well as a clean documentation build. See ``docs/README.md`` for more
-information on building the docs and how docs get released.
-
-Write clean code. Universally formatted code promotes ease of writing, reading,
-and maintenance. Always run `gofmt -s -w file.go` on each changed file before
-committing your changes. Most editors have plugins that do this automatically.
-
-Pull requests descriptions should be as clear as possible and include a
-reference to all the issues that they address.
-
-Pull requests must not contain commits from other users or branches.
-
-Commit messages must start with a capitalized and short summary (max. 50
-chars) written in the imperative, followed by an optional, more detailed
-explanatory text which is separated from the summary by an empty line.
-
-Code review comments may be added to your pull request. Discuss, then make the
-suggested modifications and push additional commits to your feature branch. Be
-sure to post a comment after pushing. The new commits will show up in the pull
-request automatically, but the reviewers will not be notified unless you
-comment.
-
-Before the pull request is merged, make sure that you squash your commits into
-logical units of work using `git rebase -i` and `git push -f`. After every
-commit the test suite should be passing. Include documentation changes in the
-same commit so that a revert would remove all traces of the feature or fix.
-
-Commits that fix or close an issue should include a reference like `Closes #XXX`
-or `Fixes #XXX`, which will automatically close the issue when merged.
-
-### Sign your work
-
-The sign-off is a simple line at the end of the explanation for the
-patch, which certifies that you wrote it or otherwise have the right to
-pass it on as an open-source patch. The rules are pretty simple: if you
-can certify the below (from
-[developercertificate.org](http://developercertificate.org/)):
-
-```
-Developer Certificate of Origin
-Version 1.1
-
-Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
-660 York Street, Suite 102,
-San Francisco, CA 94110 USA
-
-Everyone is permitted to copy and distribute verbatim copies of this
-license document, but changing it is not allowed.
-
-
-Developer's Certificate of Origin 1.1
-
-By making a contribution to this project, I certify that:
-
-(a) The contribution was created in whole or in part by me and I
- have the right to submit it under the open source license
- indicated in the file; or
-
-(b) The contribution is based upon previous work that, to the best
- of my knowledge, is covered under an appropriate open source
- license and I have the right under that license to submit that
- work with modifications, whether created in whole or in part
- by me, under the same open source license (unless I am
- permitted to submit under a different license), as indicated
- in the file; or
-
-(c) The contribution was provided directly to me by some other
- person who certified (a), (b) or (c) and I have not modified
- it.
-
-(d) I understand and agree that this project and the contribution
- are public and that a record of the contribution (including all
- personal information I submit with it, including my sign-off) is
- maintained indefinitely and may be redistributed consistent with
- this project or the open source license(s) involved.
-```
-
-then you just add a line to every git commit message:
-
- Signed-off-by: Joe Smith <joe@gmail.com>
-
-using your real name (sorry, no pseudonyms or anonymous contributions.)
-
-You can add the sign off when creating the git commit via `git commit -s`.
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/all-the-things.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/all-the-things.json
deleted file mode 100644
index 42e6f24e0..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/all-the-things.json
+++ /dev/null
@@ -1,254 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "1.0.0",
- "title": "Swagger Petstore",
- "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification",
- "termsOfService": "http://helloreverb.com/terms/",
- "contact": {
- "name": "Wordnik API Team"
- },
- "license": {
- "name": "MIT"
- }
- },
- "host": "petstore.swagger.wordnik.com",
- "basePath": "/api",
- "schemes": [
- "http"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": {
- "idParam": {
- "name": "id",
- "in": "path",
- "description": "ID of pet to fetch",
- "required": true,
- "type": "integer",
- "format": "int64"
- },
- "tag": {
- "type": "string",
- "in": "query",
- "required": false
- },
- "query": {
- "$ref": "#/parameters/tag"
- }
- },
- "responses": {
- "petResponse": {
- "description": "pet response",
- "schema": {
- "$ref": "#/definitions/pet"
- }
- },
- "stringResponse": {
- "descripion": "string response",
- "schema": {
- "type": "string"
- }
- },
- "anotherPet": {
- "$ref": "#/responses/petResponse"
- }
- },
- "paths": {
- "/": {
- "get": {
- "operationId": "indexStuff",
- "responses": {
- "default": {
- "$ref": "#/responses/stringResponse"
- },
- "200": {
- "$ref": "#/responses/anotherPet"
- }
- }
- }
- },
- "/pets": {
- "get": {
- "description": "Returns all pets from the system that the user has access to",
- "operationId": "findPets",
- "produces": [
- "application/json",
- "application/xml",
- "text/xml",
- "text/html"
- ],
- "parameters": [
- {
- "name": "tags",
- "in": "query",
- "description": "tags to filter by",
- "required": false,
- "type": "array",
- "items": {
- "type": "string"
- },
- "collectionFormat": "csv"
- },
- {
- "name": "limit",
- "in": "query",
- "description": "maximum number of results to return",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "responses": {
- "200": {
- "description": "pet response",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/pet"
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "#/definitions/errorModel"
- }
- }
- }
- },
- "post": {
- "description": "Creates a new pet in the store. Duplicates are allowed",
- "operationId": "addPet",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "pet",
- "in": "body",
- "description": "Pet to add to the store",
- "required": true,
- "schema": {
- "$ref": "#/definitions/petInput"
- }
- }
- ],
- "responses": {
- "200": { "$ref": "#/responses/petResponse" },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "#/definitions/errorModel"
- }
- }
- }
- }
- },
- "/pets/{id}": {
- "get": {
- "description": "Returns a user based on a single ID, if the user does not have access to the pet",
- "operationId": "findPetById",
- "produces": [
- "application/json",
- "application/xml",
- "text/xml",
- "text/html"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/idParam"
- }
- ],
- "responses": {
- "200": {
- "$ref": "#/responses/petResponse"
- },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "#/definitions/errorModel"
- }
- }
- }
- },
- "delete": {
- "description": "deletes a single pet based on the ID supplied",
- "operationId": "deletePet",
- "parameters": [
- {
- "$ref": "#/parameters/idParam"
- }
- ],
- "responses": {
- "204": {
- "description": "pet deleted"
- },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "#/definitions/errorModel"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "pet": {
- "required": [
- "id",
- "name"
- ],
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "name": {
- "type": "string"
- },
- "tag": {
- "type": "string"
- }
- }
- },
- "petInput": {
- "allOf": [
- {
- "$ref": "#/definitions/pet"
- },
- {
- "required": [
- "name"
- ],
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- }
- }
- }
- ]
- },
- "errorModel": {
- "required": [
- "code",
- "message"
- ],
- "properties": {
- "code": {
- "type": "integer",
- "format": "int32"
- },
- "message": {
- "type": "string"
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/circularRefs.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/circularRefs.json
deleted file mode 100644
index f501aa143..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/circularRefs.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "definitions": {
- "brand": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- }
- }
- },
- "category": {
- "type": "object",
- "properties": {
- "children": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/category"
- }
- }
- }
- },
- "car": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "make": {
- "type": "string"
- },
- "similar": {
- "items": {
- "$ref": "#/definitions/car"
- }
- },
- "notSimilar": {
- "additionalProperties": {
- "$ref": "#/definitions/car"
- }
- },
- "oneCar": {
- "$ref": "#/definitions/car"
- },
- "category": {
- "$ref": "#/definitions/category"
- },
- "brand": {
- "$ref": "#/definitions/brand"
- }
- }
- }
- }
-}
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/circularSpec.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/circularSpec.json
deleted file mode 100644
index 7b39b999b..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/circularSpec.json
+++ /dev/null
@@ -1 +0,0 @@
-{"swagger":"2.0","info":{"title":"Swagger Sample","description":"Sample API Playground.","version":"1.0.0"},"basePath":"/v1","schemes":["http"],"consumes":["application/vdn.sample.v1+json"],"produces":["application/vdn.sample.v1+json"],"paths":{"/books":{"get":{"summary":"List all books","operationId":"listBooks","tags":["books"],"responses":{"200":{"headers":{"Link":{"type":"string"}},"description":"An array of books","schema":{"type":"array","items":{"$ref":"#/definitions/Book"}}},"default":{"description":"generic error response","schema":{"$ref":"#/definitions/Error"}}}}}},"definitions":{"Book":{"type":"object","required":["title","summary"],"properties":{"title":{"type":"string","example":"Winnie the Pooh"},"summary":{"type":"string","example":"Famous children's book"},"related_books":{"type":"array","items":{"$ref":"#/definitions/Book"}}}},"Error":{"type":"object","readOnly":true,"properties":{"code":{"type":"integer","format":"int64","example":400},"message":{"type":"string","example":"Unexpected error"}},"required":["message"]}}}
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/circularSpec.yaml b/vendor/github.com/go-openapi/spec/fixtures/expansion/circularSpec.yaml
deleted file mode 100644
index d43bd4640..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/circularSpec.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
----
-swagger: "2.0"
-info:
- title: Swagger Sample
- description: Sample API Playground.
- version: 1.0.0
-basePath: /v1
-schemes:
-- http
-consumes:
-- application/vdn.sample.v1+json
-produces:
-- application/vdn.sample.v1+json
-
-paths:
- /books:
- get:
- summary: List all books
- operationId: listBooks
- tags:
- - books
- responses:
- 200:
- headers:
- Link:
- type: string
- description: An array of books
- schema:
- type: array
- items:
- $ref: "#/definitions/Book"
- default:
- description: generic error response
- schema:
- $ref: "#/definitions/Error"
-
-definitions:
- Book:
- type: object
- required:
- - title
- - summary
- properties:
- title:
- type: string
- example: Winnie the Pooh
- summary:
- type: string
- example: Famous children's book
- related_books:
- type: array
- items:
- $ref: "#/definitions/Book"
-
- Error:
- type: object
- readOnly: true
- properties:
- code:
- type: integer
- format: int64
- example: 400
- message:
- type: string
- example: Unexpected error
- required:
- - message
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/clickmeter.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/clickmeter.json
deleted file mode 100644
index 27e819aa5..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/clickmeter.json
+++ /dev/null
@@ -1 +0,0 @@
-{"swagger":"2.0","schemes":["http","https"],"host":"apiv2.clickmeter.com:80","info":{"contact":{"email":"api@clickmeter.com","name":"Api Support","url":"http://www.clickmeter.com/api"},"description":"Api dashboard for ClickMeter API","title":"ClickMeter","version":"v2","x-logo":{"url":"https://s3.amazonaws.com/clickmeter.com/Web/static/cmlogo.svg"},"x-origin":{"format":"swagger","url":"http://api.v2.clickmeter.com.s3.amazonaws.com/docs/api-docs-v2.json","version":"2.0"},"x-providerName":"clickmeter.com"},"securityDefinitions":{"api_key":{"description":"API Key Authentication","in":"header","name":"X-Clickmeter-AuthKey","type":"apiKey"}},"security":[{"api_key":[]}],"paths":{"/account":{"get":{"consumes":[],"deprecated":false,"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.User"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve current account data","tags":["Account"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.User"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.User"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Update current account data","tags":["Account"]}},"/account/domainwhitelist":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Accounting.DomainWhitelistEntry]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve list of a domains allowed to redirect in DDU mode","tags":["Account"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The entry to add","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.DomainWhitelistEntry"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Create an domain entry","tags":["Account"]}},"/account/domainwhitelist/{whitelistId}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"The id of the domain to delete","in":"path","name":"whitelistId","required":true,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.DomainWhitelistEntry"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete an domain entry","tags":["Account"]}},"/account/guests":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"type":"string"},{"description":"Direction of sort \"asc\" or \"desc\"","enum":["asc","desc"],"in":"query","name":"sortDirection","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve list of a guest","tags":["Account"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Guest object to create","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.Guest"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.Guest"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Create a guest","tags":["Account"]}},"/account/guests/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve count of guests","tags":["Account"]}},"/account/guests/{guestId}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the guest","format":"int64","in":"path","name":"guestId","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete a guest","tags":["Account"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the guest","format":"int64","in":"path","name":"guestId","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.Guest"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a guest","tags":["Account"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the guest","format":"int64","in":"path","name":"guestId","required":true,"type":"integer"},{"description":"Guest object with field updated","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.Guest"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.Guest"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Update a guest","tags":["Account"]}},"/account/guests/{guestId}/permissions":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the guest","format":"int64","in":"path","name":"guestId","required":true,"type":"integer"},{"description":"Can be \"datapoint\" or \"group\"","enum":["datapoint","group"],"in":"query","name":"entityType","required":false,"type":"string"},{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Can be \"w\" or \"r\"","enum":["r","w"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Optional id of the datapoint/group entity to filter by","format":"int64","in":"query","name":"entityId","required":false,"type":"integer"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Grants.Grant]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve permissions for a guest","tags":["Account"]}},"/account/guests/{guestId}/permissions/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the guest","format":"int64","in":"path","name":"guestId","required":true,"type":"integer"},{"description":"Can be \"datapoint\" or \"group\"","enum":["datapoint","group"],"in":"query","name":"entityType","required":false,"type":"string"},{"description":"Can be \"w\" or \"r\"","enum":["r","w"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Optional id of the datapoint/group entity to filter by","format":"int64","in":"query","name":"entityId","required":false,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve count of the permissions for a guest","tags":["Account"]}},"/account/guests/{guestId}/{type}/permissions/patch":{"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the guest","format":"int64","in":"path","name":"guestId","required":true,"type":"integer"},{"description":"Can be \"datapoint\" or \"group\"","enum":["datapoint","group"],"in":"path","name":"type","required":true,"type":"string"},{"description":"The patch permission request","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.PermissionPatchRequest"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Change the permission on a shared object","tags":["Account"]},"put":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the guest","format":"int64","in":"path","name":"guestId","required":true,"type":"integer"},{"description":"Can be \"datapoint\" or \"group\"","enum":["datapoint","group"],"in":"path","name":"type","required":true,"type":"string"},{"description":"The patch permission request","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.PermissionPatchRequest"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Change the permission on a shared object","tags":["Account"]}},"/account/ipblacklist":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Accounting.IpBlacklistEntry]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve list of a ip to exclude from event tracking","tags":["Account"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The entry to add","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.IpBlacklistEntry"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Create an ip blacklist entry","tags":["Account"]}},"/account/ipblacklist/{blacklistId}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"The id of the ip to delete","in":"path","name":"blacklistId","required":true,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.IpBlacklistEntry"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete an ip blacklist entry","tags":["Account"]}},"/account/plan":{"get":{"consumes":[],"deprecated":false,"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.Plan"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve current account plan","tags":["Account"]}},"/aggregated":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","in":"query","name":"hourly","required":false,"type":"boolean"},{"description":"","in":"query","name":"onlyFavorites","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this customer for a timeframe","tags":["Aggregated"]}},"/aggregated/list":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","enum":["week","month"],"in":"query","name":"groupBy","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this customer for a timeframe grouped by some temporal entity (day/week/month)","tags":["Aggregated"]}},"/aggregated/summary/conversions":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Status of conversion (\"deleted\"/\"active\")","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"type":"string"},{"description":"Direction of sort \"asc\" or \"desc\"","enum":["asc","desc"],"in":"query","name":"sortDirection","required":false,"type":"string"},{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about a subset of conversions for a timeframe with conversions data","tags":["Aggregated"]}},"/aggregated/summary/datapoints":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"Type of datapoint (\"tl\"/\"tp\")","enum":["tp","tl"],"in":"query","name":"type","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"type":"string"},{"description":"Is the datapoint marked as favourite","in":"query","name":"favourite","required":false,"type":"boolean"},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"type":"string"},{"description":"Direction of sort \"asc\" or \"desc\"","enum":["asc","desc"],"in":"query","name":"sortDirection","required":false,"type":"string"},{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Filter by this group id","format":"int64","in":"query","name":"groupId","required":false,"type":"integer"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about a subset of datapoints for a timeframe with datapoints data","tags":["Aggregated"]}},"/aggregated/summary/groups":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Status of group (\"deleted\"/\"active\")","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"type":"string"},{"description":"Is the group marked as favourite","in":"query","name":"favourite","required":false,"type":"boolean"},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"type":"string"},{"description":"Direction of sort \"asc\" or \"desc\"","enum":["asc","desc"],"in":"query","name":"sortDirection","required":false,"type":"string"},{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about a subset of groups for a timeframe with groups data","tags":["Aggregated"]}},"/clickstream":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Filter by this group id (mutually exclusive with \"datapoint\" and \"conversion\")","format":"int64","in":"query","name":"group","required":false,"type":"integer"},{"description":"Filter by this datapoint id (mutually exclusive with \"group\" and \"conversion\")","format":"int64","in":"query","name":"datapoint","required":false,"type":"integer"},{"description":"Filter by this conversion id (mutually exclusive with \"datapoint\" and \"group\")","format":"int64","in":"query","name":"conversion","required":false,"type":"integer"},{"default":50,"description":"Limit results to this number","format":"int32","in":"query","name":"pageSize","required":false,"type":"integer"},{"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","enum":["","spiders","uniques","nonuniques","conversions"],"in":"query","name":"filter","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.ClickStream.Hit]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve the latest list of events of this account. Limited to last 100.","tags":["ClickStream"]}},"/conversions":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Status of conversion (\"deleted\"/\"active\")","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude conversions created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude conversions created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a list of conversions","tags":["Conversions"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The body of the conversion","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Conversions.Conversion"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Create a conversion","tags":["Conversions"]}},"/conversions/aggregated/list":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Status of conversion (\"deleted\"/\"active\")","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","enum":["week","month"],"in":"query","name":"groupBy","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this customer for a timeframe related to a subset of conversions grouped by some temporal entity (day/week/month)","tags":["Conversions"]}},"/conversions/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Status of conversion (\"deleted\"/\"active\")","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude conversions created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude conversions created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a count of conversions","tags":["Conversions"]}},"/conversions/{conversionId}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Delete conversion specified by id","tags":["Conversions"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Conversions.Conversion"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve conversion specified by id","tags":["Conversions"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Updated body of the conversion","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Conversions.Conversion"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Update conversion specified by id","tags":["Conversions"]}},"/conversions/{conversionId}/aggregated":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Filter by this tag name","in":"query","name":"tag","required":false,"type":"string"},{"description":"Is the datapoint marked as favourite","in":"query","name":"favourite","required":false,"type":"boolean"},{"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","in":"query","name":"hourly","required":false,"type":"boolean"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this conversion for a timeframe","tags":["Conversions"]}},"/conversions/{conversionId}/aggregated/list":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","enum":["week","month"],"in":"query","name":"groupBy","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this conversion for a timeframe grouped by some temporal entity (day/week/month)","tags":["Conversions"]}},"/conversions/{conversionId}/datapoints":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Type of datapoint (\"tl\"/\"tp\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"Filter by this tag name","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a list of datapoints connected to this conversion","tags":["Conversions"]}},"/conversions/{conversionId}/datapoints/batch/patch":{"put":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Patch requests","in":"body","name":"data","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.PatchBodyBatch"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Modify the association between a conversion and multiple datapoints","tags":["Conversions"]}},"/conversions/{conversionId}/datapoints/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Type of datapoint (\"tl\"/\"tp\")","in":"query","name":"type","required":false,"type":"string"},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","in":"query","name":"status","required":false,"type":"string"},{"description":"Filter by this tag name","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a count of datapoints connected to this conversion","tags":["Conversions"]}},"/conversions/{conversionId}/datapoints/patch":{"put":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Patch request","in":"body","name":"data","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.ConversionPatchBody"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Modify the association between a conversion and a datapoint","tags":["Conversions"]}},"/conversions/{conversionId}/hits":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"],"in":"query","name":"timeframe","required":true,"type":"string"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Offset where to start from (it's the lastKey field in the response object)","in":"query","name":"offset","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","enum":["spiders","uniques","nonuniques","conversions"],"in":"query","name":"filter","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitListPage"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve the list of events related to this conversion.","tags":["Conversions"]}},"/conversions/{conversionId}/notes":{"put":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Patch requests","in":"body","name":"note","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.GenericTextPatch"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Fast patch the \"notes\" field of a conversion","tags":["Conversions"]}},"/conversions/{conversionId}/reports":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the conversion","format":"int64","in":"path","name":"conversionId","required":true,"type":"integer"},{"description":"Type of the report.","enum":["datapoints","groups","browsers","browsersfamilies","platforms","cities","countries","keywords","referrers","convparameters","destinations","languages","params"],"in":"query","name":"type","required":true,"type":"string"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","beginning","custom"],"in":"query","name":"timeframe","required":true,"type":"string"},{"description":"Type of the event you want to filter this report with. By default no filter is applied.","enum":["clicks","views"],"in":"query","name":"hittype","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Tops.Top"}},"401":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a top report connected to this conversion","tags":["Conversions"]}},"/datapoints":{"get":{"consumes":[],"deprecated":false,"parameters":[{"default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified.","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified.","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Type of the datapoint (\"tp\"/\"tl\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Status of the datapoint","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Filter fields by favourite status","in":"query","name":"onlyFavorites","required":false,"type":"boolean"},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"type":"string"},{"description":"Direction of sort \"asc\" or \"desc\"","enum":["asc","desc"],"in":"query","name":"sortDirection","required":false,"type":"string"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the datapoints associated to the user","tags":["DataPoints"]},"post":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The body of the datapoint","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.Datapoint"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Create a datapoint","tags":["DataPoints"]}},"/datapoints/aggregated":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"Type of datapoint (\"tl\"/\"tp\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","in":"query","name":"hourly","required":false,"type":"boolean"},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"type":"string"},{"description":"Is the datapoint is marked as favourite","in":"query","name":"favourite","required":false,"type":"boolean"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this customer for a timeframe by groups","tags":["DataPoints"]}},"/datapoints/aggregated/list":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Type of datapoint (\"tl\"/\"tp\")","enum":["tp","tl"],"in":"query","name":"type","required":true,"type":"string"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"type":"string"},{"description":"Is the datapoint is marked as favourite","in":"query","name":"favourite","required":false,"type":"boolean"},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","enum":["week","month"],"in":"query","name":"groupBy","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about all datapoints of this customer for a timeframe grouped by some temporal entity (day/week/month)","tags":["DataPoints"]}},"/datapoints/batch":{"delete":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"A json containing the datapoints to delete.","in":"body","name":"batch","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.DeleteBatch"}}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.ModifyBatchItemResponce[Api.Core.Dto.Datapoints.Datapoint,System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Delete multiple datapoints","tags":["DataPoints"]},"post":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"A json containing the datapoints to update.","in":"body","name":"batch","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.DatapointsBatch"}}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.ModifyBatchItemResponce[Api.Core.Dto.Datapoints.Datapoint,System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Update multiple datapoints","tags":["DataPoints"]},"put":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"A json containing the datapoints to create.","in":"body","name":"batch","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.DatapointsBatch"}}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.ModifyBatchItemResponce[Api.Core.Dto.Datapoints.Datapoint,System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Create multiple datapoints","tags":["DataPoints"]}},"/datapoints/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Type of the datapoint (\"tp\"/\"tl\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Status of the datapoint","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Filter fields by favourite status","in":"query","name":"onlyFavorites","required":false,"type":"boolean"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Count the datapoints associated to the user","tags":["DataPoints"]}},"/datapoints/{id}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"The id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Delete a datapoint","tags":["DataPoints"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"The id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.Datapoint"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Get a datapoint","tags":["DataPoints"]},"post":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"The body of the datapoint","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.Datapoint"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Update a datapoint","tags":["DataPoints"]}},"/datapoints/{id}/aggregated":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","in":"query","name":"hourly","required":false,"type":"boolean"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this datapoint for a timeframe","tags":["DataPoints"]}},"/datapoints/{id}/aggregated/list":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","enum":["week","month"],"in":"query","name":"groupBy","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this datapoint for a timeframe grouped by some temporal entity (day/week/month)","tags":["DataPoints"]}},"/datapoints/{id}/favourite":{"put":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Fast switch the \"favourite\" field of a datapoint","tags":["DataPoints"]}},"/datapoints/{id}/hits":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"],"in":"query","name":"timeframe","required":true,"type":"string"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Offset where to start from (it's the lastKey field in the response object)","in":"query","name":"offset","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","enum":["spiders","uniques","nonuniques","conversions"],"in":"query","name":"filter","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitListPage"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve the list of events related to this datapoint.","tags":["DataPoints"]}},"/datapoints/{id}/notes":{"put":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Patch requests","in":"body","name":"note","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.GenericTextPatch"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Fast patch the \"notes\" field of a datapoint","tags":["DataPoints"]}},"/datapoints/{id}/reports":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the datapoint","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Type of the report.","enum":["browsers","browsersfamilies","platforms","cities","countries","isps","ips","oss","ossfamilies","keywords","referrers","destinations","languages","params"],"in":"query","name":"type","required":true,"type":"string"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","beginning","custom"],"in":"query","name":"timeframe","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Tops.Top"}},"401":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a top report connected to this datapoint","tags":["DataPoints"]}},"/domains":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"default":"system","description":"Type of domain (\"system\"/\"go\"/\"personal\"/\"dedicated\"). If not specified default is \"system\"","enum":["system","go","personal","dedicated"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Filter domains with this anmen","in":"query","name":"name","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a list of domains","tags":["Domains"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The domain to create","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Domains.Domain"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Create a domain","tags":["Domains"]}},"/domains/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"default":"system","description":"Type of domain (\"system\"/\"go\"/\"personal\"/\"dedicated\"). If not specified default is \"system\"","enum":["system","go","personal","dedicated"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Filter domains with this anmen","in":"query","name":"name","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve count of domains","tags":["Domains"]}},"/domains/{id}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of domain","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete a domain","tags":["Domains"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of domain","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Domains.Domain"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Get a domain","tags":["Domains"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of domain","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"The domain to update","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Domains.Domain"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Update a domain","tags":["Domains"]}},"/groups":{"get":{"consumes":[],"deprecated":false,"parameters":[{"default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified.","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified.","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Status of the group","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude groups created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude groups created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"},{"description":"Write permission","in":"query","name":"write","required":false,"type":"boolean"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the groups associated to the user.","tags":["Groups"]},"post":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The body of the group","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Groups.Group"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Create a group","tags":["Groups"]}},"/groups/aggregated":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","in":"query","name":"hourly","required":false,"type":"boolean"},{"description":"Status of group (\"deleted\"/\"active\")","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"type":"string"},{"description":"Is the group is marked as favourite","in":"query","name":"favourite","required":false,"type":"boolean"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this customer for a timeframe by groups","tags":["Groups"]}},"/groups/aggregated/list":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Status of group (\"deleted\"/\"active\")","in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"type":"string"},{"description":"Is the group is marked as favourite","in":"query","name":"favourite","required":false,"type":"boolean"},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","enum":["deleted","active"],"in":"query","name":"groupBy","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about all groups of this customer for a timeframe grouped by some temporal entity (day/week/month)","tags":["Groups"]}},"/groups/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Status of the datapoint","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude groups created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude groups created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"},{"description":"Write permission","in":"query","name":"write","required":false,"type":"boolean"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Count the groups associated to the user.","tags":["Groups"]}},"/groups/{id}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Delete group specified by id","tags":["Groups"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"The id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Groups.Group"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Get a group","tags":["Groups"]},"post":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"The body of the group","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Groups.Group"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Update a group","tags":["Groups"]}},"/groups/{id}/aggregated":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"If using \"yesterday\" or \"today\" timeframe you can ask for the hourly detail","in":"query","name":"hourly","required":false,"type":"boolean"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this group for a timeframe","tags":["Groups"]}},"/groups/{id}/aggregated/list":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"The temporal entity you want to group by (\"week\"/\"month\"). If unspecified is \"day\".","enum":["week","month"],"in":"query","name":"groupBy","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about this group for a timeframe grouped by some temporal entity (day/week/month)","tags":["Groups"]}},"/groups/{id}/aggregated/summary":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Filter by this group id","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["today","yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","last12months","lastyear","currentyear","beginning","custom"],"in":"query","name":"timeFrame","required":true,"type":"string"},{"description":"Type of datapoint (\"tl\"/\"tp\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Status of datapoint (\"deleted\"/\"active\"/\"paused\"/\"spam\")","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tag","required":false,"type":"string"},{"description":"Is the datapoint marked as favourite","in":"query","name":"favourite","required":false,"type":"boolean"},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"type":"string"},{"description":"Direction of sort \"asc\" or \"desc\"","enum":["asc","desc"],"in":"query","name":"sortDirection","required":false,"type":"string"},{"default":0,"description":"Offset where to start from","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedSummaryResult"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve statistics about a subset of datapoints for a timeframe with datapoints data","tags":["Groups"]}},"/groups/{id}/datapoints":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified.","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified.","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Type of the datapoint (\"tp\"/\"tl\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Status of the datapoint","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Filter fields by favourite status","in":"query","name":"onlyFavorites","required":false,"type":"boolean"},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"type":"string"},{"description":"Direction of sort \"asc\" or \"desc\"","enum":["asc","desc"],"in":"query","name":"sortDirection","required":false,"type":"string"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the datapoints associated to the user in this group.","tags":["Groups"]},"post":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"The body of the datapoint","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.Datapoint"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Create a datapoint in this group","tags":["Groups"]}},"/groups/{id}/datapoints/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Type of the datapoint (\"tp\"/\"tl\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Status of the datapoint","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Filter fields by favourite status","in":"query","name":"onlyFavorites","required":false,"type":"boolean"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Count the datapoints associated to the user in this group.","tags":["Groups"]}},"/groups/{id}/favourite":{"put":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Fast switch the \"favourite\" field of a group","tags":["Groups"]}},"/groups/{id}/hits":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"],"in":"query","name":"timeframe","required":true,"type":"string"},{"description":"Limit results to this number","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Offset where to start from (it's the lastKey field in the response object)","in":"query","name":"offset","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","enum":["spiders","uniques","nonuniques","conversions"],"in":"query","name":"filter","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitListPage"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve the list of events related to this group.","tags":["Groups"]}},"/groups/{id}/notes":{"put":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Patch requests","in":"body","name":"note","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.GenericTextPatch"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Fast patch the \"notes\" field of a group","tags":["Groups"]}},"/groups/{id}/reports":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Type of the report.","enum":["browsers","browsersfamilies","platforms","cities","countries","isps","ips","oss","ossfamilies","keywords","referrers","destinations","languages","params"],"in":"query","name":"type","required":true,"type":"string"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","beginning","custom"],"in":"query","name":"timeframe","required":true,"type":"string"},{"description":"Type of the event you want to filter this report with. By default no filter is applied.","enum":["clicks","views"],"in":"query","name":"hittype","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Tops.Top"}},"401":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a top report connected to this group","tags":["Groups"]}},"/hits":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Timeframe of the request. See list at $timeframeList","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","custom"],"in":"query","name":"timeframe","required":true,"type":"string"},{"description":"Limit results to this number","format":"int32","in":"query","name":"limit","required":false,"type":"integer"},{"description":"Offset where to start from (it's the lastKey field in the response object)","in":"query","name":"offset","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"},{"description":"Filter event type (\"spiders\"/\"uniques\"/\"nonuniques\"/\"conversions\")","enum":["spiders","uniques","nonuniques","conversions"],"in":"query","name":"filter","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitListPage"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve the list of events related to this account.","tags":["Hits"]}},"/me":{"get":{"consumes":[],"deprecated":false,"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.User"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve current account data","tags":["Me"]}},"/me/plan":{"get":{"consumes":[],"deprecated":false,"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Accounting.Plan"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve current account plan","tags":["Me"]}},"/reports":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Type of the report.","enum":["browsers","browsersfamilies","platforms","cities","countries","isps","ips","oss","ossfamilies","keywords","referrers","destinations","languages","params"],"in":"query","name":"type","required":true,"type":"string"},{"description":"Timeframe of the request. See list at $timeframeList","enum":["yesterday","last7","last30","lastmonth","currentmonth","previousmonth","last90","last120","last180","beginning","custom"],"in":"query","name":"timeframe","required":true,"type":"string"},{"description":"Type of the event you want to filter this report with. By default no filter is applied.","in":"query","name":"hittype","required":false,"type":"string"},{"description":"Filter by this group id (mutually exclusive with \"datapoint\" and \"conversion\")","format":"int64","in":"query","name":"group","required":false,"type":"integer"},{"description":"Filter by this datapoint id (mutually exclusive with \"group\" and \"conversion\")","format":"int64","in":"query","name":"datapoint","required":false,"type":"integer"},{"description":"Filter by this conversion id (mutually exclusive with \"datapoint\" and \"group\")","format":"int64","in":"query","name":"conversion","required":false,"type":"integer"},{"description":"If using a \"custom\" timeFrame you can specify the starting day (YYYYMMDD)","in":"query","name":"fromDay","required":false,"type":"string"},{"description":"If using a \"custom\" timeFrame you can specify the ending day (YYYYMMDD)","in":"query","name":"toDay","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Tops.Top"}},"401":{"description":"Forbidden"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a top report","tags":["Reports"]}},"/retargeting":{"get":{"consumes":[],"deprecated":false,"parameters":[{"default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified.","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified.","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the retargeting scripts associated to the user","tags":["Retargeting"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The body of the retargeting script","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Retargeting.RetargetingScript"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Creates a retargeting script","tags":["Retargeting"]}},"/retargeting/count":{"get":{"consumes":[],"deprecated":false,"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve count of retargeting scripts","tags":["Retargeting"]}},"/retargeting/{id}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"The id of the retargeting script","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Deletes a retargeting script (and remove associations)","tags":["Retargeting"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"The id of the retargeting script","format":"int64","in":"path","name":"id","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Retargeting.RetargetingScript"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Get a retargeting script object","tags":["Retargeting"]},"post":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The id of the retargeting script","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"The body of the retargeting script","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Retargeting.RetargetingScript"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Updates a retargeting script","tags":["Retargeting"]}},"/retargeting/{id}/datapoints":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the retargeting script","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified.","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified.","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Status of the datapoint","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Filter fields by favourite status","in":"query","name":"onlyFavorites","required":false,"type":"boolean"},{"description":"Field to sort by","in":"query","name":"sortBy","required":false,"type":"string"},{"description":"Direction of sort \"asc\" or \"desc\"","enum":["asc","desc"],"in":"query","name":"sortDirection","required":false,"type":"string"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the datapoints associated to the retargeting script.","tags":["Retargeting"]}},"/retargeting/{id}/datapoints/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the group","format":"int64","in":"path","name":"id","required":true,"type":"integer"},{"description":"Status of the datapoint","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"A comma separated list of tags you want to filter with.","in":"query","name":"tags","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Filter fields by favourite status","in":"query","name":"onlyFavorites","required":false,"type":"boolean"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Count the datapoints associated to the retargeting script.","tags":["Retargeting"]}},"/tags":{"get":{"consumes":[],"deprecated":false,"parameters":[{"default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified.","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified.","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Name of the tag","in":"query","name":"name","required":false,"type":"string"},{"description":"Comma separated list of datapoints id to filter by","in":"query","name":"datapoints","required":false,"type":"string"},{"description":"Comma separated list of groups id to filter by","in":"query","name":"groups","required":false,"type":"string"},{"description":"Type of entity related to the tag","enum":["tp","tl","dp","gr"],"in":"query","name":"type","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the groups associated to the user filtered by this tag.","tags":["Tags"]},"post":{"consumes":["application/json","text/json","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"The body of the tag","in":"body","name":"value","required":true,"schema":{"$ref":"#/definitions/Api.Core.Dto.Tags.Tag"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Create a tag","tags":["Tags"]}},"/tags/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Name of the tag","in":"query","name":"name","required":false,"type":"string"},{"description":"Comma separated list of datapoints id to filter by","in":"query","name":"datapoints","required":false,"type":"string"},{"description":"Comma separated list of groups id to filter by","in":"query","name":"groups","required":false,"type":"string"},{"description":"Type of entity related to the tag","enum":["tp","tl","dp","gr"],"in":"query","name":"type","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/System.Object"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the groups associated to the user filtered by this tag.","tags":["Tags"]}},"/tags/{tagId}":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the tag","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/System.Object"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete a tag","tags":["Tags"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the tag","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Dto.Tags.Tag"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve a tag","tags":["Tags"]}},"/tags/{tagId}/datapoints":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the tag","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete the association of this tag with all datapoints","tags":["Tags"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the tag.","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"},{"default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified.","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified.","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Type of the datapoint (\"tp\"/\"tl\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Status of the datapoint","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the datapoints associated to the user filtered by this tag","tags":["Tags"]}},"/tags/{tagId}/datapoints/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the tag.","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"},{"description":"Type of the datapoint (\"tp\"/\"tl\")","enum":["tp","tl"],"in":"query","name":"type","required":false,"type":"string"},{"description":"Status of the datapoint","enum":["deleted","active","paused","spam"],"in":"query","name":"status","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude datapoints created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude datapoints created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Count the datapoints associated to the user filtered by this tag","tags":["Tags"]}},"/tags/{tagId}/datapoints/patch":{"put":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the tag","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"},{"description":"The body patch","in":"body","name":"data","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.PatchBody"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Associate/Deassociate a tag with a datapoint","tags":["Tags"]}},"/tags/{tagId}/groups":{"delete":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the tag","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Delete the association of this tag with all groups","tags":["Tags"]},"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the tag.","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"},{"default":0,"description":"Where to start when retrieving elements. Default is 0 if not specified.","format":"int32","in":"query","minLength":0,"name":"offset","required":false,"type":"integer"},{"default":20,"description":"Maximum elements to retrieve. Default to 20 if not specified.","format":"int32","in":"query","maxLength":0,"minLength":0,"name":"limit","required":false,"type":"integer"},{"description":"Status of the datapoint","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude groups created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude groups created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"List of all the groups associated to the user filtered by this tag.","tags":["Tags"]}},"/tags/{tagId}/groups/count":{"get":{"consumes":[],"deprecated":false,"parameters":[{"description":"Id of the tag.","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"},{"description":"Status of the datapoint","enum":["deleted","active"],"in":"query","name":"status","required":false,"type":"string"},{"description":"Filter fields by this pattern","in":"query","name":"textSearch","required":false,"type":"string"},{"description":"Exclude groups created before this date (YYYYMMDD)","in":"query","name":"createdAfter","required":false,"type":"string"},{"description":"Exclude groups created after this date (YYYYMMDD)","in":"query","name":"createdBefore","required":false,"type":"string"}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.CountResponce"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Count the groups associated to the user filtered by this tag","tags":["Tags"]}},"/tags/{tagId}/groups/patch":{"put":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the tag","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"},{"description":"The body patch","in":"body","name":"data","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.PatchBody"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"500":{"description":"Internal Server Error"}},"summary":"Associate/Deassociate a tag with a group","tags":["Tags"]}},"/tags/{tagId}/name":{"put":{"consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"deprecated":false,"parameters":[{"description":"Id of the tag","format":"int64","in":"path","name":"tagId","required":true,"type":"integer"},{"description":"The body patch","in":"body","name":"data","required":true,"schema":{"$ref":"#/definitions/Api.Core.Requests.GenericTextPatch"}}],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"}},"401":{"description":"Unauthorized"},"500":{"description":"Internal Server Error"}},"summary":"Fast patch a tag name","tags":["Tags"]}}},"definitions":{"Api.Core.Dto.Accounting.ConversionOptions":{"properties":{"hideComCost":{"type":"boolean"},"hideCost":{"type":"boolean"},"hideCount":{"type":"boolean"},"hideParams":{"type":"boolean"},"hideValue":{"type":"boolean"},"percentCommission":{"format":"int32","type":"integer"},"percentValue":{"format":"int32","type":"integer"}},"type":"object"},"Api.Core.Dto.Accounting.DomainWhitelistEntry":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"Api.Core.Dto.Accounting.ExtendedGrants":{"properties":{"allowAllGrants":{"type":"boolean"},"allowGroupCreation":{"type":"boolean"}},"type":"object"},"Api.Core.Dto.Accounting.Guest":{"properties":{"apiKey":{"type":"string"},"conversionOptions":{"$ref":"#/definitions/Api.Core.Dto.Accounting.ConversionOptions"},"creationDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"currentGrant":{"$ref":"#/definitions/Api.Core.Dto.Grants.Grant"},"dateFormat":{"type":"string"},"decimalSeparator":{"type":"string"},"email":{"type":"string"},"extendedGrants":{"$ref":"#/definitions/Api.Core.Dto.Accounting.ExtendedGrants"},"groupGrants":{"format":"int64","type":"integer"},"hitOptions":{"$ref":"#/definitions/Api.Core.Dto.Accounting.HitOptions"},"id":{"format":"int64","type":"integer"},"key":{"type":"string"},"language":{"type":"string"},"loginCount":{"format":"int32","type":"integer"},"name":{"type":"string"},"notes":{"type":"string"},"numberGroupSeparator":{"type":"string"},"password":{"type":"string"},"timeFormat":{"enum":["AmPm","H24"],"type":"string"},"timeZone":{"format":"int32","type":"integer"},"timeframeMinDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"timezonename":{"type":"string"},"tlGrants":{"format":"int64","type":"integer"},"tpGrants":{"format":"int64","type":"integer"},"userName":{"type":"string"}},"type":"object"},"Api.Core.Dto.Accounting.HitOptions":{"properties":{"hideReferrer":{"type":"boolean"}},"type":"object"},"Api.Core.Dto.Accounting.IpBlacklistEntry":{"properties":{"id":{"type":"string"},"ip":{"type":"string"}},"type":"object"},"Api.Core.Dto.Accounting.Plan":{"properties":{"allowedPersonalDomains":{"format":"int32","type":"integer"},"allowedPersonalUrls":{"format":"int32","type":"integer"},"billingPeriodEnd":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"billingPeriodStart":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"bonusMonthlyEvents":{"format":"int64","type":"integer"},"maximumDatapoints":{"format":"int64","type":"integer"},"maximumGuests":{"format":"int64","type":"integer"},"monthlyEvents":{"format":"int64","type":"integer"},"name":{"type":"string"},"price":{"format":"double","type":"number"},"profileId":{"format":"int64","type":"integer"},"recurring":{"type":"boolean"},"recurringPeriod":{"format":"int32","type":"integer"},"usedDatapoints":{"format":"int64","type":"integer"},"usedMonthlyEvents":{"format":"int64","type":"integer"}},"type":"object"},"Api.Core.Dto.Accounting.User":{"properties":{"boGoVal":{"type":"string"},"bonusClicks":{"format":"int64","type":"integer"},"companyName":{"type":"string"},"companyRole":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"redirectOnly":{"type":"boolean"},"registrationDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"timeframeMinDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"timezone":{"format":"int32","type":"integer"},"timezonename":{"type":"string"}},"type":"object"},"Api.Core.Dto.Aggregated.AggregatedResult":{"properties":{"activityDay":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"commissionsCost":{"format":"double","type":"number"},"conversionsCost":{"format":"double","type":"number"},"conversionsValue":{"format":"double","type":"number"},"convertedClicks":{"format":"int64","type":"integer"},"entityData":{"$ref":"#/definitions/System.Object"},"entityId":{"type":"string"},"fromDay":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"hourlyBreakDown":{"additionalProperties":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"},"type":"object"},"lastHitDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"spiderHitsCount":{"format":"int64","type":"integer"},"toDay":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"totalClicks":{"format":"int64","type":"integer"},"totalViews":{"format":"int64","type":"integer"},"uniqueClicks":{"format":"int64","type":"integer"},"uniqueConversions":{"format":"int64","type":"integer"},"uniqueViews":{"format":"int64","type":"integer"}},"type":"object"},"Api.Core.Dto.Aggregated.AggregatedSummaryResult":{"properties":{"count":{"format":"int64","type":"integer"},"limit":{"format":"int32","type":"integer"},"offset":{"format":"int64","type":"integer"},"result":{"items":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"},"type":"array"}},"type":"object"},"Api.Core.Dto.ClickStream.Hit":{"properties":{"accessTime":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"browser":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitBrowserInfo"},"clientLanguage":{"type":"string"},"conversion1":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo"},"conversion2":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo"},"conversion3":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo"},"conversion4":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo"},"conversion5":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo"},"conversions":{"items":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo"},"type":"array"},"entity":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitDatapointInfo"},"ip":{"type":"string"},"isProxy":{"type":"string"},"isSpider":{"type":"string"},"isUnique":{"type":"string"},"location":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitLocationInfo"},"org":{"type":"string"},"os":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitOsInfo"},"queryParams":{"type":"string"},"realDestinationUrl":{"type":"string"},"referer":{"type":"string"},"source":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.HitSource"},"type":{"type":"string"}},"type":"object"},"Api.Core.Dto.ClickStream.HitBrowserInfo":{"properties":{"browserType":{"type":"string"},"familyId":{"format":"int64","type":"integer"},"familyName":{"type":"string"},"id":{"format":"int64","type":"integer"},"name":{"type":"string"}},"type":"object"},"Api.Core.Dto.ClickStream.HitConversionInfo":{"properties":{"accessTime":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"comcost":{"format":"double","type":"number"},"cost":{"format":"double","type":"number"},"date":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"deleted":{"type":"boolean"},"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"parameter":{"type":"string"},"value":{"format":"double","type":"number"}},"type":"object"},"Api.Core.Dto.ClickStream.HitDatapointInfo":{"properties":{"creationDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"datapointFavourite":{"type":"boolean"},"datapointId":{"format":"int64","type":"integer"},"datapointName":{"type":"string"},"datapointTitle":{"type":"string"},"datapointType":{"type":"string"},"destinationUrl":{"type":"string"},"groupId":{"format":"int64","type":"integer"},"groupName":{"type":"string"},"isABTest":{"type":"boolean"},"isPrivateShared":{"type":"boolean"},"isPublic":{"type":"boolean"},"notes":{"type":"string"},"status":{"enum":["Active","Paused","Abuse","Deleted"],"type":"string"},"tags":{"items":{"$ref":"#/definitions/Api.Core.Dto.Tags.Tag"},"type":"array"},"trackingCode":{"type":"string"}},"type":"object"},"Api.Core.Dto.ClickStream.HitListPage":{"properties":{"hits":{"items":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.Hit"},"type":"array"},"lastKey":{"type":"string"}},"type":"object"},"Api.Core.Dto.ClickStream.HitLocationInfo":{"properties":{"areacode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"latitude":{"format":"double","type":"number"},"longitude":{"format":"double","type":"number"},"metrocode":{"type":"string"},"organization":{"type":"string"},"postalcode":{"type":"string"},"region":{"type":"string"},"regionName":{"type":"string"}},"type":"object"},"Api.Core.Dto.ClickStream.HitOsInfo":{"properties":{"familyId":{"format":"int64","type":"integer"},"familyName":{"type":"string"},"id":{"format":"int64","type":"integer"},"name":{"type":"string"}},"type":"object"},"Api.Core.Dto.ClickStream.HitSource":{"properties":{"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"param":{"type":"string"}},"type":"object"},"Api.Core.Dto.Conversions.Conversion":{"properties":{"code":{"type":"string"},"creationDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"deleted":{"type":"boolean"},"description":{"type":"string"},"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"protocol":{"enum":["Http","Https"],"type":"string"},"value":{"format":"double","type":"number"}},"type":"object"},"Api.Core.Dto.Datapoints.BrowserBaseDestinationItem":{"properties":{"emailDestinationUrl":{"type":"string"},"mobileDestinationUrl":{"type":"string"},"spidersDestinationUrl":{"type":"string"}},"type":"object"},"Api.Core.Dto.Datapoints.Datapoint":{"properties":{"creationDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"encodeIp":{"type":"boolean"},"fifthConversionId":{"format":"int64","type":"integer"},"fifthConversionName":{"type":"string"},"firstConversionId":{"format":"int64","type":"integer"},"firstConversionName":{"type":"string"},"fourthConversionId":{"format":"int64","type":"integer"},"fourthConversionName":{"type":"string"},"groupId":{"format":"int64","type":"integer"},"groupName":{"type":"string"},"id":{"format":"int64","type":"integer"},"isPublic":{"type":"boolean"},"isSecured":{"type":"boolean"},"lightTracking":{"type":"boolean"},"name":{"type":"string"},"notes":{"type":"string"},"preferred":{"type":"boolean"},"redirectOnly":{"type":"boolean"},"secondConversionId":{"format":"int64","type":"integer"},"secondConversionName":{"type":"string"},"status":{"enum":["Active","Paused","Abuse","Deleted"],"type":"string"},"tags":{"items":{"$ref":"#/definitions/Api.Core.Dto.Tags.Tag"},"type":"array"},"thirdConversionId":{"format":"int64","type":"integer"},"thirdConversionName":{"type":"string"},"title":{"type":"string"},"trackingCode":{"type":"string"},"type":{"enum":["TrackingLink","TrackingPixel"],"type":"string"},"typeTL":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.TrackingLinkSpecifics"},"typeTP":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.TrackingPixelSpecifics"},"writePermited":{"type":"boolean"}},"type":"object"},"Api.Core.Dto.Datapoints.DatapointRetargetingInfo":{"properties":{"id":{"format":"int64","type":"integer"},"name":{"type":"string"}},"type":"object"},"Api.Core.Dto.Datapoints.MultipleDestinationItem":{"properties":{"url":{"type":"string"}},"type":"object"},"Api.Core.Dto.Datapoints.TrackingLinkSpecifics":{"properties":{"appendQuery":{"type":"boolean"},"browserDestinationItem":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.BrowserBaseDestinationItem"},"destinationMode":{"enum":["Simple","RandomDestination","DestinationByLanguage","SpilloverDestination","DynamicUrl","BrowserDestination","DestinationByNation","UniqueDestination","SequentialDestination","WeightedDestination"],"type":"string"},"domainId":{"format":"int32","type":"integer"},"encodeUrl":{"type":"boolean"},"expirationClicks":{"format":"int64","type":"integer"},"expirationDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"firstUrl":{"type":"string"},"goDomainId":{"format":"int32","type":"integer"},"hideUrl":{"type":"boolean"},"hideUrlTitle":{"type":"string"},"isABTest":{"type":"boolean"},"password":{"type":"string"},"pauseAfterClicksExpiration":{"type":"boolean"},"pauseAfterDateExpiration":{"type":"boolean"},"randomDestinationItems":{"items":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.MultipleDestinationItem"},"type":"array"},"redirectType":{"enum":["PermanentRedirect","TemporaryRedirect"],"type":"string"},"referrerClean":{"enum":["None","Clean","Myself"],"type":"string"},"scripts":{"items":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.DatapointRetargetingInfo"},"type":"array"},"sequentialDestinationItems":{"items":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.MultipleDestinationItem"},"type":"array"},"spilloverDestinationItems":{"items":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.MultipleDestinationItem"},"type":"array"},"uniqueDestinationItem":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.UniqueDestinationItem"},"url":{"type":"string"},"urlAfterClicksExpiration":{"type":"string"},"urlAfterDateExpiration":{"type":"string"},"urlsByLanguage":{"items":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.UrlByLanguageItem"},"type":"array"},"urlsByNation":{"items":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.UrlByNationItem"},"type":"array"},"weightedDestinationItems":{"items":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.WeightedDestinationItem"},"type":"array"}},"type":"object"},"Api.Core.Dto.Datapoints.TrackingPixelSpecifics":{"properties":{"parameterNote":{"type":"string"}},"type":"object"},"Api.Core.Dto.Datapoints.UniqueDestinationItem":{"properties":{"firstDestinationUrl":{"type":"string"}},"type":"object"},"Api.Core.Dto.Datapoints.UrlByLanguageItem":{"properties":{"languageCode":{"type":"string"},"url":{"type":"string"}},"type":"object"},"Api.Core.Dto.Datapoints.UrlByNationItem":{"properties":{"nation":{"type":"string"},"url":{"type":"string"}},"type":"object"},"Api.Core.Dto.Datapoints.WeightedDestinationItem":{"properties":{"url":{"type":"string"},"weight":{"format":"int32","type":"integer"}},"type":"object"},"Api.Core.Dto.Domains.Domain":{"properties":{"custom404":{"type":"string"},"customHomepage":{"type":"string"},"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"type":{"enum":["System","Go","Dedicated","Personal"],"type":"string"}},"type":"object"},"Api.Core.Dto.EntityUriLong":{"properties":{"id":{"format":"int64","type":"integer"},"uri":{"type":"string"}},"type":"object"},"Api.Core.Dto.Grants.Grant":{"properties":{"DatapointType":{"type":"string"},"Entity":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"},"EntityName":{"type":"string"},"EntityType":{"type":"string"},"Type":{"type":"string"}},"type":"object"},"Api.Core.Dto.Groups.Group":{"properties":{"creationDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"deleted":{"type":"boolean"},"id":{"format":"int64","type":"integer"},"isPublic":{"type":"boolean"},"name":{"type":"string"},"notes":{"type":"string"},"preferred":{"type":"boolean"},"redirectOnly":{"type":"boolean"},"tags":{"items":{"$ref":"#/definitions/Api.Core.Dto.Tags.Tag"},"type":"array"},"writePermited":{"type":"boolean"}},"type":"object"},"Api.Core.Dto.Retargeting.RetargetingScript":{"properties":{"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"script":{"type":"string"}},"type":"object"},"Api.Core.Dto.Tags.Tag":{"properties":{"datapoints":{"items":{"format":"int64","type":"integer"},"type":"array"},"groups":{"items":{"format":"int64","type":"integer"},"type":"array"},"id":{"format":"int64","type":"integer"},"name":{"type":"string"}},"type":"object"},"Api.Core.Dto.Tops.Top":{"properties":{"createdAt":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"data":{"items":{"$ref":"#/definitions/Api.Core.Dto.Tops.TopItem"},"type":"array"},"key":{"type":"string"}},"type":"object"},"Api.Core.Dto.Tops.TopItem":{"properties":{"entityData":{"$ref":"#/definitions/System.Object"},"id":{"type":"string"},"lastHitDate":{"description":" (A date in \"YmdHis\" format)","example":"20120203120530","type":"string"},"spiderClicks":{"format":"int64","type":"integer"},"spiderHits":{"format":"int64","type":"integer"},"spiderViews":{"format":"int64","type":"integer"},"totalClicks":{"format":"int64","type":"integer"},"totalCommissionsCost":{"format":"double","type":"number"},"totalConversions":{"format":"int64","type":"integer"},"totalConversionsCost":{"format":"double","type":"number"},"totalConversionsValue":{"format":"double","type":"number"},"totalHits":{"format":"int64","type":"integer"},"totalViews":{"format":"int64","type":"integer"},"uniqueClicks":{"format":"int64","type":"integer"},"uniqueHits":{"format":"int64","type":"integer"},"uniqueViews":{"format":"int64","type":"integer"}},"type":"object"},"Api.Core.Requests.ConversionPatchBody":{"properties":{"Action":{"type":"string"},"Id":{"format":"int64","type":"integer"},"ReplaceId":{"format":"int64","type":"integer"}},"type":"object"},"Api.Core.Requests.DatapointsBatch":{"properties":{"List":{"items":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.Datapoint"},"type":"array"}},"type":"object"},"Api.Core.Requests.DeleteBatch":{"properties":{"Entities":{"items":{"$ref":"#/definitions/Api.Core.Dto.EntityUriLong"},"type":"array"}},"type":"object"},"Api.Core.Requests.GenericTextPatch":{"properties":{"Text":{"type":"string"}},"type":"object"},"Api.Core.Requests.PatchBody":{"properties":{"Action":{"type":"string"},"Id":{"format":"int64","type":"integer"}},"type":"object"},"Api.Core.Requests.PatchBodyBatch":{"properties":{"PatchRequests":{"items":{"$ref":"#/definitions/Api.Core.Requests.PatchBody"},"type":"array"}},"type":"object"},"Api.Core.Requests.PermissionPatchRequest":{"properties":{"Action":{"type":"string"},"Id":{"format":"int64","type":"integer"},"Verb":{"type":"string"}},"type":"object"},"Api.Core.Responses.CountResponce":{"properties":{"count":{"format":"int64","type":"integer"}},"type":"object"},"Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Accounting.DomainWhitelistEntry]":{"properties":{"entities":{"items":{"$ref":"#/definitions/Api.Core.Dto.Accounting.DomainWhitelistEntry"},"type":"array"}},"type":"object"},"Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Accounting.IpBlacklistEntry]":{"properties":{"entities":{"items":{"$ref":"#/definitions/Api.Core.Dto.Accounting.IpBlacklistEntry"},"type":"array"}},"type":"object"},"Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]":{"properties":{"entities":{"items":{"$ref":"#/definitions/Api.Core.Dto.Aggregated.AggregatedResult"},"type":"array"}},"type":"object"},"Api.Core.Responses.EntitiesResponse[Api.Core.Dto.ClickStream.Hit]":{"properties":{"entities":{"items":{"$ref":"#/definitions/Api.Core.Dto.ClickStream.Hit"},"type":"array"}},"type":"object"},"Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Grants.Grant]":{"properties":{"entities":{"items":{"$ref":"#/definitions/Api.Core.Dto.Grants.Grant"},"type":"array"}},"type":"object"},"Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]":{"properties":{"entities":{"items":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"},"type":"array"}},"type":"object"},"Api.Core.Responses.EntityUri[System.Int64]":{"properties":{"id":{"format":"int64","type":"integer"},"uri":{"type":"string"}},"type":"object"},"Api.Core.Responses.ModifyBatchItemResponce[Api.Core.Dto.Datapoints.Datapoint,System.Int64]":{"properties":{"entityData":{"$ref":"#/definitions/Api.Core.Dto.Datapoints.Datapoint"},"errors":{"items":{"$ref":"#/definitions/ClickMeter.Infrastructure.Validation.ValidationFailure"},"type":"array"},"result":{"$ref":"#/definitions/Api.Core.Responses.EntityUri[System.Int64]"},"status":{"type":"string"}},"type":"object"},"ClickMeter.Infrastructure.Validation.ValidationFailure":{"properties":{"code":{"$ref":"#/definitions/System.Object"},"errorMessage":{"type":"string"},"errorValue":{"$ref":"#/definitions/System.Object"},"property":{"type":"string"}},"type":"object"},"System.Object":{"properties":{},"type":"object"}}}
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/clickmeter.yaml b/vendor/github.com/go-openapi/spec/fixtures/expansion/clickmeter.yaml
deleted file mode 100644
index 0ce32b1a9..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/clickmeter.yaml
+++ /dev/null
@@ -1,6461 +0,0 @@
-swagger: '2.0'
-schemes:
- - http
- - https
-host: 'apiv2.clickmeter.com:80'
-info:
- contact:
- email: api@clickmeter.com
- name: Api Support
- url: 'http://www.clickmeter.com/api'
- description: Api dashboard for ClickMeter API
- title: ClickMeter
- version: v2
- x-logo:
- url: 'https://s3.amazonaws.com/clickmeter.com/Web/static/cmlogo.svg'
- x-origin:
- format: swagger
- url: 'http://api.v2.clickmeter.com.s3.amazonaws.com/docs/api-docs-v2.json'
- version: '2.0'
- x-providerName: clickmeter.com
-securityDefinitions:
- api_key:
- description: API Key Authentication
- in: header
- name: X-Clickmeter-AuthKey
- type: apiKey
-security:
- - api_key: []
-paths:
- /account:
- get:
- consumes: []
- deprecated: false
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.User'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve current account data
- tags:
- - Account
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.User'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.User'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Update current account data
- tags:
- - Account
- /account/domainwhitelist:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Accounting.DomainWhitelistEntry]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve list of a domains allowed to redirect in DDU mode
- tags:
- - Account
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The entry to add
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.DomainWhitelistEntry'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.DomainWhitelistEntry'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Create an domain entry
- tags:
- - Account
- '/account/domainwhitelist/{whitelistId}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: The id of the domain to delete
- in: path
- name: whitelistId
- required: true
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.DomainWhitelistEntry'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Delete an domain entry
- tags:
- - Account
- /account/guests:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Field to sort by
- in: query
- name: sortBy
- required: false
- type: string
- - description: 'Direction of sort "asc" or "desc"'
- enum:
- - asc
- - desc
- in: query
- name: sortDirection
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve list of a guest
- tags:
- - Account
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Guest object to create
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.Guest'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.Guest'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Create a guest
- tags:
- - Account
- /account/guests/count:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve count of guests
- tags:
- - Account
- '/account/guests/{guestId}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the guest
- format: int64
- in: path
- name: guestId
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Delete a guest
- tags:
- - Account
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the guest
- format: int64
- in: path
- name: guestId
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.Guest'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve a guest
- tags:
- - Account
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the guest
- format: int64
- in: path
- name: guestId
- required: true
- type: integer
- - description: Guest object with field updated
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.Guest'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.Guest'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Update a guest
- tags:
- - Account
- '/account/guests/{guestId}/permissions':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the guest
- format: int64
- in: path
- name: guestId
- required: true
- type: integer
- - description: 'Can be "datapoint" or "group"'
- enum:
- - datapoint
- - group
- in: query
- name: entityType
- required: false
- type: string
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: 'Can be "w" or "r"'
- enum:
- - r
- - w
- in: query
- name: type
- required: false
- type: string
- - description: Optional id of the datapoint/group entity to filter by
- format: int64
- in: query
- name: entityId
- required: false
- type: integer
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Grants.Grant]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve permissions for a guest
- tags:
- - Account
- '/account/guests/{guestId}/permissions/count':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the guest
- format: int64
- in: path
- name: guestId
- required: true
- type: integer
- - description: 'Can be "datapoint" or "group"'
- enum:
- - datapoint
- - group
- in: query
- name: entityType
- required: false
- type: string
- - description: 'Can be "w" or "r"'
- enum:
- - r
- - w
- in: query
- name: type
- required: false
- type: string
- - description: Optional id of the datapoint/group entity to filter by
- format: int64
- in: query
- name: entityId
- required: false
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve count of the permissions for a guest
- tags:
- - Account
- '/account/guests/{guestId}/{type}/permissions/patch':
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the guest
- format: int64
- in: path
- name: guestId
- required: true
- type: integer
- - description: 'Can be "datapoint" or "group"'
- enum:
- - datapoint
- - group
- in: path
- name: type
- required: true
- type: string
- - description: The patch permission request
- in: body
- name: body
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.PermissionPatchRequest'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Change the permission on a shared object
- tags:
- - Account
- put:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the guest
- format: int64
- in: path
- name: guestId
- required: true
- type: integer
- - description: 'Can be "datapoint" or "group"'
- enum:
- - datapoint
- - group
- in: path
- name: type
- required: true
- type: string
- - description: The patch permission request
- in: body
- name: body
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.PermissionPatchRequest'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Change the permission on a shared object
- tags:
- - Account
- /account/ipblacklist:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Accounting.IpBlacklistEntry]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve list of a ip to exclude from event tracking
- tags:
- - Account
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The entry to add
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.IpBlacklistEntry'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.IpBlacklistEntry'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Create an ip blacklist entry
- tags:
- - Account
- '/account/ipblacklist/{blacklistId}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: The id of the ip to delete
- in: path
- name: blacklistId
- required: true
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.IpBlacklistEntry'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Delete an ip blacklist entry
- tags:
- - Account
- /account/plan:
- get:
- consumes: []
- deprecated: false
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.Plan'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve current account plan
- tags:
- - Account
- /aggregated:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'If using "yesterday" or "today" timeframe you can ask for the hourly detail'
- in: query
- name: hourly
- required: false
- type: boolean
- - description: ''
- in: query
- name: onlyFavorites
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this customer for a timeframe
- tags:
- - Aggregated
- /aggregated/list:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'The temporal entity you want to group by ("week"/"month"). If unspecified is "day".'
- enum:
- - week
- - month
- in: query
- name: groupBy
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this customer for a timeframe grouped by some temporal entity (day/week/month)
- tags:
- - Aggregated
- /aggregated/summary/conversions:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Status of conversion ("deleted"/"active")'
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: Field to sort by
- in: query
- name: sortBy
- required: false
- type: string
- - description: 'Direction of sort "asc" or "desc"'
- enum:
- - asc
- - desc
- in: query
- name: sortDirection
- required: false
- type: string
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedSummaryResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about a subset of conversions for a timeframe with conversions data
- tags:
- - Aggregated
- /aggregated/summary/datapoints:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'Type of datapoint ("tl"/"tp")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Status of datapoint ("deleted"/"active"/"paused"/"spam")'
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tag
- required: false
- type: string
- - description: Is the datapoint marked as favourite
- in: query
- name: favourite
- required: false
- type: boolean
- - description: Field to sort by
- in: query
- name: sortBy
- required: false
- type: string
- - description: 'Direction of sort "asc" or "desc"'
- enum:
- - asc
- - desc
- in: query
- name: sortDirection
- required: false
- type: string
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Filter by this group id
- format: int64
- in: query
- name: groupId
- required: false
- type: integer
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedSummaryResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about a subset of datapoints for a timeframe with datapoints data
- tags:
- - Aggregated
- /aggregated/summary/groups:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Status of group ("deleted"/"active")'
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tag
- required: false
- type: string
- - description: Is the group marked as favourite
- in: query
- name: favourite
- required: false
- type: boolean
- - description: Field to sort by
- in: query
- name: sortBy
- required: false
- type: string
- - description: 'Direction of sort "asc" or "desc"'
- enum:
- - asc
- - desc
- in: query
- name: sortDirection
- required: false
- type: string
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedSummaryResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about a subset of groups for a timeframe with groups data
- tags:
- - Aggregated
- /clickstream:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: 'Filter by this group id (mutually exclusive with "datapoint" and "conversion")'
- format: int64
- in: query
- name: group
- required: false
- type: integer
- - description: 'Filter by this datapoint id (mutually exclusive with "group" and "conversion")'
- format: int64
- in: query
- name: datapoint
- required: false
- type: integer
- - description: 'Filter by this conversion id (mutually exclusive with "datapoint" and "group")'
- format: int64
- in: query
- name: conversion
- required: false
- type: integer
- - default: 50
- description: Limit results to this number
- format: int32
- in: query
- name: pageSize
- required: false
- type: integer
- - description: 'Filter event type ("spiders"/"uniques"/"nonuniques"/"conversions")'
- enum:
- - ''
- - spiders
- - uniques
- - nonuniques
- - conversions
- in: query
- name: filter
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.ClickStream.Hit]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve the latest list of events of this account. Limited to last 100.
- tags:
- - ClickStream
- /conversions:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: 'Status of conversion ("deleted"/"active")'
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude conversions created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude conversions created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve a list of conversions
- tags:
- - Conversions
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The body of the conversion
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Conversions.Conversion'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Create a conversion
- tags:
- - Conversions
- /conversions/aggregated/list:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Status of conversion ("deleted"/"active")'
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: 'The temporal entity you want to group by ("week"/"month"). If unspecified is "day".'
- enum:
- - week
- - month
- in: query
- name: groupBy
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this customer for a timeframe related to a subset of conversions grouped by some temporal entity (day/week/month)
- tags:
- - Conversions
- /conversions/count:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: 'Status of conversion ("deleted"/"active")'
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude conversions created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude conversions created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve a count of conversions
- tags:
- - Conversions
- '/conversions/{conversionId}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Delete conversion specified by id
- tags:
- - Conversions
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Conversions.Conversion'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Retrieve conversion specified by id
- tags:
- - Conversions
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Updated body of the conversion
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Conversions.Conversion'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Update conversion specified by id
- tags:
- - Conversions
- '/conversions/{conversionId}/aggregated':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: Filter by this tag name
- in: query
- name: tag
- required: false
- type: string
- - description: Is the datapoint marked as favourite
- in: query
- name: favourite
- required: false
- type: boolean
- - description: 'If using "yesterday" or "today" timeframe you can ask for the hourly detail'
- in: query
- name: hourly
- required: false
- type: boolean
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this conversion for a timeframe
- tags:
- - Conversions
- '/conversions/{conversionId}/aggregated/list':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'The temporal entity you want to group by ("week"/"month"). If unspecified is "day".'
- enum:
- - week
- - month
- in: query
- name: groupBy
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this conversion for a timeframe grouped by some temporal entity (day/week/month)
- tags:
- - Conversions
- '/conversions/{conversionId}/datapoints':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: 'Type of datapoint ("tl"/"tp")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: 'Status of datapoint ("deleted"/"active"/"paused"/"spam")'
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: Filter by this tag name
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve a list of datapoints connected to this conversion
- tags:
- - Conversions
- '/conversions/{conversionId}/datapoints/batch/patch':
- put:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Patch requests
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.PatchBodyBatch'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Modify the association between a conversion and multiple datapoints
- tags:
- - Conversions
- '/conversions/{conversionId}/datapoints/count':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: 'Type of datapoint ("tl"/"tp")'
- in: query
- name: type
- required: false
- type: string
- - description: 'Status of datapoint ("deleted"/"active"/"paused"/"spam")'
- in: query
- name: status
- required: false
- type: string
- - description: Filter by this tag name
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve a count of datapoints connected to this conversion
- tags:
- - Conversions
- '/conversions/{conversionId}/datapoints/patch':
- put:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Patch request
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.ConversionPatchBody'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Modify the association between a conversion and a datapoint
- tags:
- - Conversions
- '/conversions/{conversionId}/hits':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - custom
- in: query
- name: timeframe
- required: true
- type: string
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: "Offset where to start from (it's the lastKey field in the response object)"
- in: query
- name: offset
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Filter event type ("spiders"/"uniques"/"nonuniques"/"conversions")'
- enum:
- - spiders
- - uniques
- - nonuniques
- - conversions
- in: query
- name: filter
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitListPage'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve the list of events related to this conversion.
- tags:
- - Conversions
- '/conversions/{conversionId}/notes':
- put:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Patch requests
- in: body
- name: note
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.GenericTextPatch'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '403':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: 'Fast patch the "notes" field of a conversion'
- tags:
- - Conversions
- '/conversions/{conversionId}/reports':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the conversion
- format: int64
- in: path
- name: conversionId
- required: true
- type: integer
- - description: Type of the report.
- enum:
- - datapoints
- - groups
- - browsers
- - browsersfamilies
- - platforms
- - cities
- - countries
- - keywords
- - referrers
- - convparameters
- - destinations
- - languages
- - params
- in: query
- name: type
- required: true
- type: string
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - beginning
- - custom
- in: query
- name: timeframe
- required: true
- type: string
- - description: Type of the event you want to filter this report with. By default no filter is applied.
- enum:
- - clicks
- - views
- in: query
- name: hittype
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Tops.Top'
- '401':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Retrieve a top report connected to this conversion
- tags:
- - Conversions
- /datapoints:
- get:
- consumes: []
- deprecated: false
- parameters:
- - default: 0
- description: Where to start when retrieving elements. Default is 0 if not specified.
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Maximum elements to retrieve. Default to 20 if not specified.
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: 'Type of the datapoint ("tp"/"tl")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Filter fields by favourite status
- in: query
- name: onlyFavorites
- required: false
- type: boolean
- - description: Field to sort by
- in: query
- name: sortBy
- required: false
- type: string
- - description: 'Direction of sort "asc" or "desc"'
- enum:
- - asc
- - desc
- in: query
- name: sortDirection
- required: false
- type: string
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the datapoints associated to the user
- tags:
- - DataPoints
- post:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The body of the datapoint
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.Datapoint'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Create a datapoint
- tags:
- - DataPoints
- /datapoints/aggregated:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'Type of datapoint ("tl"/"tp")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'If using "yesterday" or "today" timeframe you can ask for the hourly detail'
- in: query
- name: hourly
- required: false
- type: boolean
- - description: 'Status of datapoint ("deleted"/"active"/"paused"/"spam")'
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tag
- required: false
- type: string
- - description: Is the datapoint is marked as favourite
- in: query
- name: favourite
- required: false
- type: boolean
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this customer for a timeframe by groups
- tags:
- - DataPoints
- /datapoints/aggregated/list:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: 'Type of datapoint ("tl"/"tp")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: true
- type: string
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Status of datapoint ("deleted"/"active"/"paused"/"spam")'
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tag
- required: false
- type: string
- - description: Is the datapoint is marked as favourite
- in: query
- name: favourite
- required: false
- type: boolean
- - description: 'The temporal entity you want to group by ("week"/"month"). If unspecified is "day".'
- enum:
- - week
- - month
- in: query
- name: groupBy
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about all datapoints of this customer for a timeframe grouped by some temporal entity (day/week/month)
- tags:
- - DataPoints
- /datapoints/batch:
- delete:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: A json containing the datapoints to delete.
- in: body
- name: batch
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.DeleteBatch'
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.ModifyBatchItemResponce[Api.Core.Dto.Datapoints.Datapoint,System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Delete multiple datapoints
- tags:
- - DataPoints
- post:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: A json containing the datapoints to update.
- in: body
- name: batch
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.DatapointsBatch'
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.ModifyBatchItemResponce[Api.Core.Dto.Datapoints.Datapoint,System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Update multiple datapoints
- tags:
- - DataPoints
- put:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: A json containing the datapoints to create.
- in: body
- name: batch
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.DatapointsBatch'
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.ModifyBatchItemResponce[Api.Core.Dto.Datapoints.Datapoint,System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Create multiple datapoints
- tags:
- - DataPoints
- /datapoints/count:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: 'Type of the datapoint ("tp"/"tl")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Filter fields by favourite status
- in: query
- name: onlyFavorites
- required: false
- type: boolean
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Count the datapoints associated to the user
- tags:
- - DataPoints
- '/datapoints/{id}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: The id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Delete a datapoint
- tags:
- - DataPoints
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: The id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.Datapoint'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Get a datapoint
- tags:
- - DataPoints
- post:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: The body of the datapoint
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.Datapoint'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Update a datapoint
- tags:
- - DataPoints
- '/datapoints/{id}/aggregated':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'If using "yesterday" or "today" timeframe you can ask for the hourly detail'
- in: query
- name: hourly
- required: false
- type: boolean
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this datapoint for a timeframe
- tags:
- - DataPoints
- '/datapoints/{id}/aggregated/list':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'The temporal entity you want to group by ("week"/"month"). If unspecified is "day".'
- enum:
- - week
- - month
- in: query
- name: groupBy
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this datapoint for a timeframe grouped by some temporal entity (day/week/month)
- tags:
- - DataPoints
- '/datapoints/{id}/favourite':
- put:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '403':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: 'Fast switch the "favourite" field of a datapoint'
- tags:
- - DataPoints
- '/datapoints/{id}/hits':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - custom
- in: query
- name: timeframe
- required: true
- type: string
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: "Offset where to start from (it's the lastKey field in the response object)"
- in: query
- name: offset
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Filter event type ("spiders"/"uniques"/"nonuniques"/"conversions")'
- enum:
- - spiders
- - uniques
- - nonuniques
- - conversions
- in: query
- name: filter
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitListPage'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve the list of events related to this datapoint.
- tags:
- - DataPoints
- '/datapoints/{id}/notes':
- put:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Patch requests
- in: body
- name: note
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.GenericTextPatch'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '403':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: 'Fast patch the "notes" field of a datapoint'
- tags:
- - DataPoints
- '/datapoints/{id}/reports':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the datapoint
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Type of the report.
- enum:
- - browsers
- - browsersfamilies
- - platforms
- - cities
- - countries
- - isps
- - ips
- - oss
- - ossfamilies
- - keywords
- - referrers
- - destinations
- - languages
- - params
- in: query
- name: type
- required: true
- type: string
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - beginning
- - custom
- in: query
- name: timeframe
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Tops.Top'
- '401':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Retrieve a top report connected to this datapoint
- tags:
- - DataPoints
- /domains:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - default: system
- description: 'Type of domain ("system"/"go"/"personal"/"dedicated"). If not specified default is "system"'
- enum:
- - system
- - go
- - personal
- - dedicated
- in: query
- name: type
- required: false
- type: string
- - description: Filter domains with this anmen
- in: query
- name: name
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve a list of domains
- tags:
- - Domains
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The domain to create
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Domains.Domain'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Create a domain
- tags:
- - Domains
- /domains/count:
- get:
- consumes: []
- deprecated: false
- parameters:
- - default: system
- description: 'Type of domain ("system"/"go"/"personal"/"dedicated"). If not specified default is "system"'
- enum:
- - system
- - go
- - personal
- - dedicated
- in: query
- name: type
- required: false
- type: string
- - description: Filter domains with this anmen
- in: query
- name: name
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve count of domains
- tags:
- - Domains
- '/domains/{id}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of domain
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Delete a domain
- tags:
- - Domains
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of domain
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Domains.Domain'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Get a domain
- tags:
- - Domains
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of domain
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: The domain to update
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Domains.Domain'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Update a domain
- tags:
- - Domains
- /groups:
- get:
- consumes: []
- deprecated: false
- parameters:
- - default: 0
- description: Where to start when retrieving elements. Default is 0 if not specified.
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Maximum elements to retrieve. Default to 20 if not specified.
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Status of the group
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude groups created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude groups created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- - description: Write permission
- in: query
- name: write
- required: false
- type: boolean
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the groups associated to the user.
- tags:
- - Groups
- post:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The body of the group
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Groups.Group'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Create a group
- tags:
- - Groups
- /groups/aggregated:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'If using "yesterday" or "today" timeframe you can ask for the hourly detail'
- in: query
- name: hourly
- required: false
- type: boolean
- - description: 'Status of group ("deleted"/"active")'
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tag
- required: false
- type: string
- - description: Is the group is marked as favourite
- in: query
- name: favourite
- required: false
- type: boolean
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this customer for a timeframe by groups
- tags:
- - Groups
- /groups/aggregated/list:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Status of group ("deleted"/"active")'
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tag
- required: false
- type: string
- - description: Is the group is marked as favourite
- in: query
- name: favourite
- required: false
- type: boolean
- - description: 'The temporal entity you want to group by ("week"/"month"). If unspecified is "day".'
- enum:
- - deleted
- - active
- in: query
- name: groupBy
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about all groups of this customer for a timeframe grouped by some temporal entity (day/week/month)
- tags:
- - Groups
- /groups/count:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude groups created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude groups created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- - description: Write permission
- in: query
- name: write
- required: false
- type: boolean
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Count the groups associated to the user.
- tags:
- - Groups
- '/groups/{id}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Delete group specified by id
- tags:
- - Groups
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: The id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Groups.Group'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Get a group
- tags:
- - Groups
- post:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: The body of the group
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Groups.Group'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Update a group
- tags:
- - Groups
- '/groups/{id}/aggregated':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'If using "yesterday" or "today" timeframe you can ask for the hourly detail'
- in: query
- name: hourly
- required: false
- type: boolean
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this group for a timeframe
- tags:
- - Groups
- '/groups/{id}/aggregated/list':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'The temporal entity you want to group by ("week"/"month"). If unspecified is "day".'
- enum:
- - week
- - month
- in: query
- name: groupBy
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about this group for a timeframe grouped by some temporal entity (day/week/month)
- tags:
- - Groups
- '/groups/{id}/aggregated/summary':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Filter by this group id
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - today
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - last12months
- - lastyear
- - currentyear
- - beginning
- - custom
- in: query
- name: timeFrame
- required: true
- type: string
- - description: 'Type of datapoint ("tl"/"tp")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Status of datapoint ("deleted"/"active"/"paused"/"spam")'
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tag
- required: false
- type: string
- - description: Is the datapoint marked as favourite
- in: query
- name: favourite
- required: false
- type: boolean
- - description: Field to sort by
- in: query
- name: sortBy
- required: false
- type: string
- - description: 'Direction of sort "asc" or "desc"'
- enum:
- - asc
- - desc
- in: query
- name: sortDirection
- required: false
- type: string
- - default: 0
- description: Offset where to start from
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedSummaryResult'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve statistics about a subset of datapoints for a timeframe with datapoints data
- tags:
- - Groups
- '/groups/{id}/datapoints':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - default: 0
- description: Where to start when retrieving elements. Default is 0 if not specified.
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Maximum elements to retrieve. Default to 20 if not specified.
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: 'Type of the datapoint ("tp"/"tl")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Filter fields by favourite status
- in: query
- name: onlyFavorites
- required: false
- type: boolean
- - description: Field to sort by
- in: query
- name: sortBy
- required: false
- type: string
- - description: 'Direction of sort "asc" or "desc"'
- enum:
- - asc
- - desc
- in: query
- name: sortDirection
- required: false
- type: string
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the datapoints associated to the user in this group.
- tags:
- - Groups
- post:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: The body of the datapoint
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.Datapoint'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Create a datapoint in this group
- tags:
- - Groups
- '/groups/{id}/datapoints/count':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: 'Type of the datapoint ("tp"/"tl")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Filter fields by favourite status
- in: query
- name: onlyFavorites
- required: false
- type: boolean
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Count the datapoints associated to the user in this group.
- tags:
- - Groups
- '/groups/{id}/favourite':
- put:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '403':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: 'Fast switch the "favourite" field of a group'
- tags:
- - Groups
- '/groups/{id}/hits':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - custom
- in: query
- name: timeframe
- required: true
- type: string
- - description: Limit results to this number
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: "Offset where to start from (it's the lastKey field in the response object)"
- in: query
- name: offset
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Filter event type ("spiders"/"uniques"/"nonuniques"/"conversions")'
- enum:
- - spiders
- - uniques
- - nonuniques
- - conversions
- in: query
- name: filter
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitListPage'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve the list of events related to this group.
- tags:
- - Groups
- '/groups/{id}/notes':
- put:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Patch requests
- in: body
- name: note
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.GenericTextPatch'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '403':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: 'Fast patch the "notes" field of a group'
- tags:
- - Groups
- '/groups/{id}/reports':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Type of the report.
- enum:
- - browsers
- - browsersfamilies
- - platforms
- - cities
- - countries
- - isps
- - ips
- - oss
- - ossfamilies
- - keywords
- - referrers
- - destinations
- - languages
- - params
- in: query
- name: type
- required: true
- type: string
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - beginning
- - custom
- in: query
- name: timeframe
- required: true
- type: string
- - description: Type of the event you want to filter this report with. By default no filter is applied.
- enum:
- - clicks
- - views
- in: query
- name: hittype
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Tops.Top'
- '401':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Retrieve a top report connected to this group
- tags:
- - Groups
- /hits:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - custom
- in: query
- name: timeframe
- required: true
- type: string
- - description: Limit results to this number
- format: int32
- in: query
- name: limit
- required: false
- type: integer
- - description: "Offset where to start from (it's the lastKey field in the response object)"
- in: query
- name: offset
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- - description: 'Filter event type ("spiders"/"uniques"/"nonuniques"/"conversions")'
- enum:
- - spiders
- - uniques
- - nonuniques
- - conversions
- in: query
- name: filter
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitListPage'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve the list of events related to this account.
- tags:
- - Hits
- /me:
- get:
- consumes: []
- deprecated: false
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.User'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve current account data
- tags:
- - Me
- /me/plan:
- get:
- consumes: []
- deprecated: false
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Accounting.Plan'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve current account plan
- tags:
- - Me
- /reports:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Type of the report.
- enum:
- - browsers
- - browsersfamilies
- - platforms
- - cities
- - countries
- - isps
- - ips
- - oss
- - ossfamilies
- - keywords
- - referrers
- - destinations
- - languages
- - params
- in: query
- name: type
- required: true
- type: string
- - description: Timeframe of the request. See list at $timeframeList
- enum:
- - yesterday
- - last7
- - last30
- - lastmonth
- - currentmonth
- - previousmonth
- - last90
- - last120
- - last180
- - beginning
- - custom
- in: query
- name: timeframe
- required: true
- type: string
- - description: Type of the event you want to filter this report with. By default no filter is applied.
- in: query
- name: hittype
- required: false
- type: string
- - description: 'Filter by this group id (mutually exclusive with "datapoint" and "conversion")'
- format: int64
- in: query
- name: group
- required: false
- type: integer
- - description: 'Filter by this datapoint id (mutually exclusive with "group" and "conversion")'
- format: int64
- in: query
- name: datapoint
- required: false
- type: integer
- - description: 'Filter by this conversion id (mutually exclusive with "datapoint" and "group")'
- format: int64
- in: query
- name: conversion
- required: false
- type: integer
- - description: 'If using a "custom" timeFrame you can specify the starting day (YYYYMMDD)'
- in: query
- name: fromDay
- required: false
- type: string
- - description: 'If using a "custom" timeFrame you can specify the ending day (YYYYMMDD)'
- in: query
- name: toDay
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Tops.Top'
- '401':
- description: Forbidden
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Retrieve a top report
- tags:
- - Reports
- /retargeting:
- get:
- consumes: []
- deprecated: false
- parameters:
- - default: 0
- description: Where to start when retrieving elements. Default is 0 if not specified.
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Maximum elements to retrieve. Default to 20 if not specified.
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the retargeting scripts associated to the user
- tags:
- - Retargeting
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The body of the retargeting script
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Retargeting.RetargetingScript'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Creates a retargeting script
- tags:
- - Retargeting
- /retargeting/count:
- get:
- consumes: []
- deprecated: false
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve count of retargeting scripts
- tags:
- - Retargeting
- '/retargeting/{id}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: The id of the retargeting script
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Deletes a retargeting script (and remove associations)
- tags:
- - Retargeting
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: The id of the retargeting script
- format: int64
- in: path
- name: id
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Retargeting.RetargetingScript'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Get a retargeting script object
- tags:
- - Retargeting
- post:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The id of the retargeting script
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: The body of the retargeting script
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Retargeting.RetargetingScript'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Updates a retargeting script
- tags:
- - Retargeting
- '/retargeting/{id}/datapoints':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the retargeting script
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - default: 0
- description: Where to start when retrieving elements. Default is 0 if not specified.
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Maximum elements to retrieve. Default to 20 if not specified.
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Filter fields by favourite status
- in: query
- name: onlyFavorites
- required: false
- type: boolean
- - description: Field to sort by
- in: query
- name: sortBy
- required: false
- type: string
- - description: 'Direction of sort "asc" or "desc"'
- enum:
- - asc
- - desc
- in: query
- name: sortDirection
- required: false
- type: string
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the datapoints associated to the retargeting script.
- tags:
- - Retargeting
- '/retargeting/{id}/datapoints/count':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the group
- format: int64
- in: path
- name: id
- required: true
- type: integer
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: A comma separated list of tags you want to filter with.
- in: query
- name: tags
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Filter fields by favourite status
- in: query
- name: onlyFavorites
- required: false
- type: boolean
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Count the datapoints associated to the retargeting script.
- tags:
- - Retargeting
- /tags:
- get:
- consumes: []
- deprecated: false
- parameters:
- - default: 0
- description: Where to start when retrieving elements. Default is 0 if not specified.
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Maximum elements to retrieve. Default to 20 if not specified.
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Name of the tag
- in: query
- name: name
- required: false
- type: string
- - description: Comma separated list of datapoints id to filter by
- in: query
- name: datapoints
- required: false
- type: string
- - description: Comma separated list of groups id to filter by
- in: query
- name: groups
- required: false
- type: string
- - description: Type of entity related to the tag
- enum:
- - tp
- - tl
- - dp
- - gr
- in: query
- name: type
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the groups associated to the user filtered by this tag.
- tags:
- - Tags
- post:
- consumes:
- - application/json
- - text/json
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: The body of the tag
- in: body
- name: value
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Dto.Tags.Tag'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Create a tag
- tags:
- - Tags
- /tags/count:
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Name of the tag
- in: query
- name: name
- required: false
- type: string
- - description: Comma separated list of datapoints id to filter by
- in: query
- name: datapoints
- required: false
- type: string
- - description: Comma separated list of groups id to filter by
- in: query
- name: groups
- required: false
- type: string
- - description: Type of entity related to the tag
- enum:
- - tp
- - tl
- - dp
- - gr
- in: query
- name: type
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/System.Object'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the groups associated to the user filtered by this tag.
- tags:
- - Tags
- '/tags/{tagId}':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the tag
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/System.Object'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Delete a tag
- tags:
- - Tags
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the tag
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Dto.Tags.Tag'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Retrieve a tag
- tags:
- - Tags
- '/tags/{tagId}/datapoints':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the tag
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Delete the association of this tag with all datapoints
- tags:
- - Tags
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the tag.
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- - default: 0
- description: Where to start when retrieving elements. Default is 0 if not specified.
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Maximum elements to retrieve. Default to 20 if not specified.
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: 'Type of the datapoint ("tp"/"tl")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the datapoints associated to the user filtered by this tag
- tags:
- - Tags
- '/tags/{tagId}/datapoints/count':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the tag.
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- - description: 'Type of the datapoint ("tp"/"tl")'
- enum:
- - tp
- - tl
- in: query
- name: type
- required: false
- type: string
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- - paused
- - spam
- in: query
- name: status
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude datapoints created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude datapoints created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Count the datapoints associated to the user filtered by this tag
- tags:
- - Tags
- '/tags/{tagId}/datapoints/patch':
- put:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the tag
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- - description: The body patch
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.PatchBody'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Associate/Deassociate a tag with a datapoint
- tags:
- - Tags
- '/tags/{tagId}/groups':
- delete:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the tag
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Delete the association of this tag with all groups
- tags:
- - Tags
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the tag.
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- - default: 0
- description: Where to start when retrieving elements. Default is 0 if not specified.
- format: int32
- in: query
- minLength: 0
- name: offset
- required: false
- type: integer
- - default: 20
- description: Maximum elements to retrieve. Default to 20 if not specified.
- format: int32
- in: query
- maxLength: 0
- minLength: 0
- name: limit
- required: false
- type: integer
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude groups created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude groups created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: List of all the groups associated to the user filtered by this tag.
- tags:
- - Tags
- '/tags/{tagId}/groups/count':
- get:
- consumes: []
- deprecated: false
- parameters:
- - description: Id of the tag.
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- - description: Status of the datapoint
- enum:
- - deleted
- - active
- in: query
- name: status
- required: false
- type: string
- - description: Filter fields by this pattern
- in: query
- name: textSearch
- required: false
- type: string
- - description: Exclude groups created before this date (YYYYMMDD)
- in: query
- name: createdAfter
- required: false
- type: string
- - description: Exclude groups created after this date (YYYYMMDD)
- in: query
- name: createdBefore
- required: false
- type: string
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.CountResponce'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Count the groups associated to the user filtered by this tag
- tags:
- - Tags
- '/tags/{tagId}/groups/patch':
- put:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the tag
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- - description: The body patch
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.PatchBody'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '404':
- description: Not found
- '500':
- description: Internal Server Error
- summary: Associate/Deassociate a tag with a group
- tags:
- - Tags
- '/tags/{tagId}/name':
- put:
- consumes:
- - application/json
- - text/json
- - application/xml
- - text/xml
- - application/x-www-form-urlencoded
- deprecated: false
- parameters:
- - description: Id of the tag
- format: int64
- in: path
- name: tagId
- required: true
- type: integer
- - description: The body patch
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/Api.Core.Requests.GenericTextPatch'
- produces:
- - application/json
- - text/json
- - application/xml
- - text/xml
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- '401':
- description: Unauthorized
- '500':
- description: Internal Server Error
- summary: Fast patch a tag name
- tags:
- - Tags
-definitions:
- Api.Core.Dto.Accounting.ConversionOptions:
- properties:
- hideComCost:
- type: boolean
- hideCost:
- type: boolean
- hideCount:
- type: boolean
- hideParams:
- type: boolean
- hideValue:
- type: boolean
- percentCommission:
- format: int32
- type: integer
- percentValue:
- format: int32
- type: integer
- type: object
- Api.Core.Dto.Accounting.DomainWhitelistEntry:
- properties:
- id:
- type: string
- name:
- type: string
- type: object
- Api.Core.Dto.Accounting.ExtendedGrants:
- properties:
- allowAllGrants:
- type: boolean
- allowGroupCreation:
- type: boolean
- type: object
- Api.Core.Dto.Accounting.Guest:
- properties:
- apiKey:
- type: string
- conversionOptions:
- $ref: '#/definitions/Api.Core.Dto.Accounting.ConversionOptions'
- creationDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- currentGrant:
- $ref: '#/definitions/Api.Core.Dto.Grants.Grant'
- dateFormat:
- type: string
- decimalSeparator:
- type: string
- email:
- type: string
- extendedGrants:
- $ref: '#/definitions/Api.Core.Dto.Accounting.ExtendedGrants'
- groupGrants:
- format: int64
- type: integer
- hitOptions:
- $ref: '#/definitions/Api.Core.Dto.Accounting.HitOptions'
- id:
- format: int64
- type: integer
- key:
- type: string
- language:
- type: string
- loginCount:
- format: int32
- type: integer
- name:
- type: string
- notes:
- type: string
- numberGroupSeparator:
- type: string
- password:
- type: string
- timeFormat:
- enum:
- - AmPm
- - H24
- type: string
- timeZone:
- format: int32
- type: integer
- timeframeMinDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- timezonename:
- type: string
- tlGrants:
- format: int64
- type: integer
- tpGrants:
- format: int64
- type: integer
- userName:
- type: string
- type: object
- Api.Core.Dto.Accounting.HitOptions:
- properties:
- hideReferrer:
- type: boolean
- type: object
- Api.Core.Dto.Accounting.IpBlacklistEntry:
- properties:
- id:
- type: string
- ip:
- type: string
- type: object
- Api.Core.Dto.Accounting.Plan:
- properties:
- allowedPersonalDomains:
- format: int32
- type: integer
- allowedPersonalUrls:
- format: int32
- type: integer
- billingPeriodEnd:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- billingPeriodStart:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- bonusMonthlyEvents:
- format: int64
- type: integer
- maximumDatapoints:
- format: int64
- type: integer
- maximumGuests:
- format: int64
- type: integer
- monthlyEvents:
- format: int64
- type: integer
- name:
- type: string
- price:
- format: double
- type: number
- profileId:
- format: int64
- type: integer
- recurring:
- type: boolean
- recurringPeriod:
- format: int32
- type: integer
- usedDatapoints:
- format: int64
- type: integer
- usedMonthlyEvents:
- format: int64
- type: integer
- type: object
- Api.Core.Dto.Accounting.User:
- properties:
- boGoVal:
- type: string
- bonusClicks:
- format: int64
- type: integer
- companyName:
- type: string
- companyRole:
- type: string
- email:
- type: string
- firstName:
- type: string
- lastName:
- type: string
- phone:
- type: string
- redirectOnly:
- type: boolean
- registrationDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- timeframeMinDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- timezone:
- format: int32
- type: integer
- timezonename:
- type: string
- type: object
- Api.Core.Dto.Aggregated.AggregatedResult:
- properties:
- activityDay:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- commissionsCost:
- format: double
- type: number
- conversionsCost:
- format: double
- type: number
- conversionsValue:
- format: double
- type: number
- convertedClicks:
- format: int64
- type: integer
- entityData:
- $ref: '#/definitions/System.Object'
- entityId:
- type: string
- fromDay:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- hourlyBreakDown:
- additionalProperties:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- type: object
- lastHitDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- spiderHitsCount:
- format: int64
- type: integer
- toDay:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- totalClicks:
- format: int64
- type: integer
- totalViews:
- format: int64
- type: integer
- uniqueClicks:
- format: int64
- type: integer
- uniqueConversions:
- format: int64
- type: integer
- uniqueViews:
- format: int64
- type: integer
- type: object
- Api.Core.Dto.Aggregated.AggregatedSummaryResult:
- properties:
- count:
- format: int64
- type: integer
- limit:
- format: int32
- type: integer
- offset:
- format: int64
- type: integer
- result:
- items:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- type: array
- type: object
- Api.Core.Dto.ClickStream.Hit:
- properties:
- accessTime:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- browser:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitBrowserInfo'
- clientLanguage:
- type: string
- conversion1:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo'
- conversion2:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo'
- conversion3:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo'
- conversion4:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo'
- conversion5:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo'
- conversions:
- items:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitConversionInfo'
- type: array
- entity:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitDatapointInfo'
- ip:
- type: string
- isProxy:
- type: string
- isSpider:
- type: string
- isUnique:
- type: string
- location:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitLocationInfo'
- org:
- type: string
- os:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitOsInfo'
- queryParams:
- type: string
- realDestinationUrl:
- type: string
- referer:
- type: string
- source:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.HitSource'
- type:
- type: string
- type: object
- Api.Core.Dto.ClickStream.HitBrowserInfo:
- properties:
- browserType:
- type: string
- familyId:
- format: int64
- type: integer
- familyName:
- type: string
- id:
- format: int64
- type: integer
- name:
- type: string
- type: object
- Api.Core.Dto.ClickStream.HitConversionInfo:
- properties:
- accessTime:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- comcost:
- format: double
- type: number
- cost:
- format: double
- type: number
- date:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- deleted:
- type: boolean
- id:
- format: int64
- type: integer
- name:
- type: string
- parameter:
- type: string
- value:
- format: double
- type: number
- type: object
- Api.Core.Dto.ClickStream.HitDatapointInfo:
- properties:
- creationDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- datapointFavourite:
- type: boolean
- datapointId:
- format: int64
- type: integer
- datapointName:
- type: string
- datapointTitle:
- type: string
- datapointType:
- type: string
- destinationUrl:
- type: string
- groupId:
- format: int64
- type: integer
- groupName:
- type: string
- isABTest:
- type: boolean
- isPrivateShared:
- type: boolean
- isPublic:
- type: boolean
- notes:
- type: string
- status:
- enum:
- - Active
- - Paused
- - Abuse
- - Deleted
- type: string
- tags:
- items:
- $ref: '#/definitions/Api.Core.Dto.Tags.Tag'
- type: array
- trackingCode:
- type: string
- type: object
- Api.Core.Dto.ClickStream.HitListPage:
- properties:
- hits:
- items:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.Hit'
- type: array
- lastKey:
- type: string
- type: object
- Api.Core.Dto.ClickStream.HitLocationInfo:
- properties:
- areacode:
- type: string
- city:
- type: string
- country:
- type: string
- latitude:
- format: double
- type: number
- longitude:
- format: double
- type: number
- metrocode:
- type: string
- organization:
- type: string
- postalcode:
- type: string
- region:
- type: string
- regionName:
- type: string
- type: object
- Api.Core.Dto.ClickStream.HitOsInfo:
- properties:
- familyId:
- format: int64
- type: integer
- familyName:
- type: string
- id:
- format: int64
- type: integer
- name:
- type: string
- type: object
- Api.Core.Dto.ClickStream.HitSource:
- properties:
- id:
- format: int64
- type: integer
- name:
- type: string
- param:
- type: string
- type: object
- Api.Core.Dto.Conversions.Conversion:
- properties:
- code:
- type: string
- creationDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- deleted:
- type: boolean
- description:
- type: string
- id:
- format: int64
- type: integer
- name:
- type: string
- protocol:
- enum:
- - Http
- - Https
- type: string
- value:
- format: double
- type: number
- type: object
- Api.Core.Dto.Datapoints.BrowserBaseDestinationItem:
- properties:
- emailDestinationUrl:
- type: string
- mobileDestinationUrl:
- type: string
- spidersDestinationUrl:
- type: string
- type: object
- Api.Core.Dto.Datapoints.Datapoint:
- properties:
- creationDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- encodeIp:
- type: boolean
- fifthConversionId:
- format: int64
- type: integer
- fifthConversionName:
- type: string
- firstConversionId:
- format: int64
- type: integer
- firstConversionName:
- type: string
- fourthConversionId:
- format: int64
- type: integer
- fourthConversionName:
- type: string
- groupId:
- format: int64
- type: integer
- groupName:
- type: string
- id:
- format: int64
- type: integer
- isPublic:
- type: boolean
- isSecured:
- type: boolean
- lightTracking:
- type: boolean
- name:
- type: string
- notes:
- type: string
- preferred:
- type: boolean
- redirectOnly:
- type: boolean
- secondConversionId:
- format: int64
- type: integer
- secondConversionName:
- type: string
- status:
- enum:
- - Active
- - Paused
- - Abuse
- - Deleted
- type: string
- tags:
- items:
- $ref: '#/definitions/Api.Core.Dto.Tags.Tag'
- type: array
- thirdConversionId:
- format: int64
- type: integer
- thirdConversionName:
- type: string
- title:
- type: string
- trackingCode:
- type: string
- type:
- enum:
- - TrackingLink
- - TrackingPixel
- type: string
- typeTL:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.TrackingLinkSpecifics'
- typeTP:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.TrackingPixelSpecifics'
- writePermited:
- type: boolean
- type: object
- Api.Core.Dto.Datapoints.DatapointRetargetingInfo:
- properties:
- id:
- format: int64
- type: integer
- name:
- type: string
- type: object
- Api.Core.Dto.Datapoints.MultipleDestinationItem:
- properties:
- url:
- type: string
- type: object
- Api.Core.Dto.Datapoints.TrackingLinkSpecifics:
- properties:
- appendQuery:
- type: boolean
- browserDestinationItem:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.BrowserBaseDestinationItem'
- destinationMode:
- enum:
- - Simple
- - RandomDestination
- - DestinationByLanguage
- - SpilloverDestination
- - DynamicUrl
- - BrowserDestination
- - DestinationByNation
- - UniqueDestination
- - SequentialDestination
- - WeightedDestination
- type: string
- domainId:
- format: int32
- type: integer
- encodeUrl:
- type: boolean
- expirationClicks:
- format: int64
- type: integer
- expirationDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- firstUrl:
- type: string
- goDomainId:
- format: int32
- type: integer
- hideUrl:
- type: boolean
- hideUrlTitle:
- type: string
- isABTest:
- type: boolean
- password:
- type: string
- pauseAfterClicksExpiration:
- type: boolean
- pauseAfterDateExpiration:
- type: boolean
- randomDestinationItems:
- items:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.MultipleDestinationItem'
- type: array
- redirectType:
- enum:
- - PermanentRedirect
- - TemporaryRedirect
- type: string
- referrerClean:
- enum:
- - None
- - Clean
- - Myself
- type: string
- scripts:
- items:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.DatapointRetargetingInfo'
- type: array
- sequentialDestinationItems:
- items:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.MultipleDestinationItem'
- type: array
- spilloverDestinationItems:
- items:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.MultipleDestinationItem'
- type: array
- uniqueDestinationItem:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.UniqueDestinationItem'
- url:
- type: string
- urlAfterClicksExpiration:
- type: string
- urlAfterDateExpiration:
- type: string
- urlsByLanguage:
- items:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.UrlByLanguageItem'
- type: array
- urlsByNation:
- items:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.UrlByNationItem'
- type: array
- weightedDestinationItems:
- items:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.WeightedDestinationItem'
- type: array
- type: object
- Api.Core.Dto.Datapoints.TrackingPixelSpecifics:
- properties:
- parameterNote:
- type: string
- type: object
- Api.Core.Dto.Datapoints.UniqueDestinationItem:
- properties:
- firstDestinationUrl:
- type: string
- type: object
- Api.Core.Dto.Datapoints.UrlByLanguageItem:
- properties:
- languageCode:
- type: string
- url:
- type: string
- type: object
- Api.Core.Dto.Datapoints.UrlByNationItem:
- properties:
- nation:
- type: string
- url:
- type: string
- type: object
- Api.Core.Dto.Datapoints.WeightedDestinationItem:
- properties:
- url:
- type: string
- weight:
- format: int32
- type: integer
- type: object
- Api.Core.Dto.Domains.Domain:
- properties:
- custom404:
- type: string
- customHomepage:
- type: string
- id:
- format: int64
- type: integer
- name:
- type: string
- type:
- enum:
- - System
- - Go
- - Dedicated
- - Personal
- type: string
- type: object
- Api.Core.Dto.EntityUriLong:
- properties:
- id:
- format: int64
- type: integer
- uri:
- type: string
- type: object
- Api.Core.Dto.Grants.Grant:
- properties:
- DatapointType:
- type: string
- Entity:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- EntityName:
- type: string
- EntityType:
- type: string
- Type:
- type: string
- type: object
- Api.Core.Dto.Groups.Group:
- properties:
- creationDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- deleted:
- type: boolean
- id:
- format: int64
- type: integer
- isPublic:
- type: boolean
- name:
- type: string
- notes:
- type: string
- preferred:
- type: boolean
- redirectOnly:
- type: boolean
- tags:
- items:
- $ref: '#/definitions/Api.Core.Dto.Tags.Tag'
- type: array
- writePermited:
- type: boolean
- type: object
- Api.Core.Dto.Retargeting.RetargetingScript:
- properties:
- id:
- format: int64
- type: integer
- name:
- type: string
- script:
- type: string
- type: object
- Api.Core.Dto.Tags.Tag:
- properties:
- datapoints:
- items:
- format: int64
- type: integer
- type: array
- groups:
- items:
- format: int64
- type: integer
- type: array
- id:
- format: int64
- type: integer
- name:
- type: string
- type: object
- Api.Core.Dto.Tops.Top:
- properties:
- createdAt:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- data:
- items:
- $ref: '#/definitions/Api.Core.Dto.Tops.TopItem'
- type: array
- key:
- type: string
- type: object
- Api.Core.Dto.Tops.TopItem:
- properties:
- entityData:
- $ref: '#/definitions/System.Object'
- id:
- type: string
- lastHitDate:
- description: ' (A date in "YmdHis" format)'
- example: '20120203120530'
- type: string
- spiderClicks:
- format: int64
- type: integer
- spiderHits:
- format: int64
- type: integer
- spiderViews:
- format: int64
- type: integer
- totalClicks:
- format: int64
- type: integer
- totalCommissionsCost:
- format: double
- type: number
- totalConversions:
- format: int64
- type: integer
- totalConversionsCost:
- format: double
- type: number
- totalConversionsValue:
- format: double
- type: number
- totalHits:
- format: int64
- type: integer
- totalViews:
- format: int64
- type: integer
- uniqueClicks:
- format: int64
- type: integer
- uniqueHits:
- format: int64
- type: integer
- uniqueViews:
- format: int64
- type: integer
- type: object
- Api.Core.Requests.ConversionPatchBody:
- properties:
- Action:
- type: string
- Id:
- format: int64
- type: integer
- ReplaceId:
- format: int64
- type: integer
- type: object
- Api.Core.Requests.DatapointsBatch:
- properties:
- List:
- items:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.Datapoint'
- type: array
- type: object
- Api.Core.Requests.DeleteBatch:
- properties:
- Entities:
- items:
- $ref: '#/definitions/Api.Core.Dto.EntityUriLong'
- type: array
- type: object
- Api.Core.Requests.GenericTextPatch:
- properties:
- Text:
- type: string
- type: object
- Api.Core.Requests.PatchBody:
- properties:
- Action:
- type: string
- Id:
- format: int64
- type: integer
- type: object
- Api.Core.Requests.PatchBodyBatch:
- properties:
- PatchRequests:
- items:
- $ref: '#/definitions/Api.Core.Requests.PatchBody'
- type: array
- type: object
- Api.Core.Requests.PermissionPatchRequest:
- properties:
- Action:
- type: string
- Id:
- format: int64
- type: integer
- Verb:
- type: string
- type: object
- Api.Core.Responses.CountResponce:
- properties:
- count:
- format: int64
- type: integer
- type: object
- 'Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Accounting.DomainWhitelistEntry]':
- properties:
- entities:
- items:
- $ref: '#/definitions/Api.Core.Dto.Accounting.DomainWhitelistEntry'
- type: array
- type: object
- 'Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Accounting.IpBlacklistEntry]':
- properties:
- entities:
- items:
- $ref: '#/definitions/Api.Core.Dto.Accounting.IpBlacklistEntry'
- type: array
- type: object
- 'Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Aggregated.AggregatedResult]':
- properties:
- entities:
- items:
- $ref: '#/definitions/Api.Core.Dto.Aggregated.AggregatedResult'
- type: array
- type: object
- 'Api.Core.Responses.EntitiesResponse[Api.Core.Dto.ClickStream.Hit]':
- properties:
- entities:
- items:
- $ref: '#/definitions/Api.Core.Dto.ClickStream.Hit'
- type: array
- type: object
- 'Api.Core.Responses.EntitiesResponse[Api.Core.Dto.Grants.Grant]':
- properties:
- entities:
- items:
- $ref: '#/definitions/Api.Core.Dto.Grants.Grant'
- type: array
- type: object
- 'Api.Core.Responses.EntitiesResponse[Api.Core.Responses.EntityUri[System.Int64]]':
- properties:
- entities:
- items:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- type: array
- type: object
- 'Api.Core.Responses.EntityUri[System.Int64]':
- properties:
- id:
- format: int64
- type: integer
- uri:
- type: string
- type: object
- 'Api.Core.Responses.ModifyBatchItemResponce[Api.Core.Dto.Datapoints.Datapoint,System.Int64]':
- properties:
- entityData:
- $ref: '#/definitions/Api.Core.Dto.Datapoints.Datapoint'
- errors:
- items:
- $ref: '#/definitions/ClickMeter.Infrastructure.Validation.ValidationFailure'
- type: array
- result:
- $ref: '#/definitions/Api.Core.Responses.EntityUri[System.Int64]'
- status:
- type: string
- type: object
- ClickMeter.Infrastructure.Validation.ValidationFailure:
- properties:
- code:
- $ref: '#/definitions/System.Object'
- errorMessage:
- type: string
- errorValue:
- $ref: '#/definitions/System.Object'
- property:
- type: string
- type: object
- System.Object:
- properties: {}
- type: object
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/invalid-refs.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/invalid-refs.json
deleted file mode 100644
index d636d4589..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/invalid-refs.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "1.0.0",
- "title": "Swagger Petstore",
- "contact": {
- "name": "wordnik api team",
- "url": "http://developer.wordnik.com"
- },
- "license": {
- "name": "Creative Commons 4.0 International",
- "url": "http://creativecommons.org/licenses/by/4.0/"
- }
- },
- "host": "petstore.swagger.wordnik.com",
- "basePath": "/api",
- "schemes": [
- "http"
- ],
- "paths": {
- "/pets": {
- "get": {
- "tags": [ "Pet Operations" ],
- "summary": "finds pets in the system",
- "responses": {
- "200": {
- "description": "pet response",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "NotCorrectRef"
- }
- },
- "headers": {
- "x-expires": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "NotCorrectRef"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "Pet": {
- "required": [
- "id",
- "name"
- ],
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "name": {
- "type": "string"
- },
- "tag": {
- "type": "string"
- }
- }
- },
- "Error": {
- "required": [
- "code",
- "message"
- ],
- "properties": {
- "code": {
- "type": "integer",
- "format": "int32"
- },
- "message": {
- "type": "string"
- }
- }
- }
- }
-}
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/overflow.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/overflow.json
deleted file mode 100644
index 5a2a9f3dd..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/overflow.json
+++ /dev/null
@@ -1,124 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Swagger Sample",
- "description": "Sample API Playground.",
- "version": "1.0.0"
- },
- "basePath": "/v1",
- "schemes": [
- "http"
- ],
- "consumes": [
- "application/vdn.sample.v1+json"
- ],
- "produces": [
- "application/vdn.sample.v1+json"
- ],
- "paths": {
- "/books": {
- "get": {
- "summary": "List all books",
- "operationId": "listBooks",
- "tags": [
- "books"
- ],
- "responses": {
- "200": {
- "headers": {
- "Link": {
- "type": "string"
- }
- },
- "description": "An array of books",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Book"
- }
- }
- },
- "default": {
- "description": "generic error response",
- "schema": {
- "$ref": "#/definitions/Error"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "Store": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "example": "Book Shop"
- },
- "categories": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Category"
- }
- }
- }
- },
- "Category": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "example": "Drama"
- },
- "books": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Book"
- }
- }
- }
- },
- "Book": {
- "type": "object",
- "required": [
- "title",
- "summary"
- ],
- "properties": {
- "title": {
- "type": "string",
- "example": "Winnie the Pooh"
- },
- "summary": {
- "type": "string",
- "example": "Famous children's book"
- },
- "related_books": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Book"
- }
- }
- }
- },
- "Error": {
- "type": "object",
- "readOnly": true,
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64",
- "example": 400
- },
- "message": {
- "type": "string",
- "example": "Unexpected error"
- }
- },
- "required": [
- "message"
- ]
- }
- }
-}
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/params.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/params.json
deleted file mode 100644
index 76e7b418e..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/params.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "id": {
- "type": "integer",
- "format": "int64",
- "in": "path",
- "required": true
- },
- "tag": {
- "type": "string",
- "in": "query",
- "required": false
- },
- "query": {
- "$ref": "#/parameters/tag"
- }
- },
- "paths": {
- "/cars/{id}": {
- "parameters": [
- { "$ref": "#/parameters/id"}
- ]
- }
- }
-} \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/schemas1.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/schemas1.json
deleted file mode 100644
index e53a412ef..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/schemas1.json
+++ /dev/null
@@ -1,127 +0,0 @@
-{
- "definitions": {
- "car": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "make": {
- "type": "string"
- },
- "brand": {
- "$ref": "#/definitions/brand"
- }
- }
- },
- "tag": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "value": {
- "type": "string"
- }
- }
- },
- "brand": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "name": {
- "type": "string"
- }
- }
- },
- "truck": {
- "$ref": "#/definitions/car"
- },
- "batch": {
- "items": {
- "$ref": "#/definitions/brand"
- }
- },
- "batch2": {
- "items": [
- {
- "$ref": "#/definitions/brand"
- },
- {
- "$ref": "#/definitions/tag"
- }
- ]
- },
- "allofBoth": {
- "allOf": [
- {
- "$ref": "#/definitions/brand"
- },
- {
- "$ref": "#/definitions/tag"
- }
- ]
- },
- "anyofBoth": {
- "anyOf": [
- {
- "$ref": "#/definitions/brand"
- },
- {
- "$ref": "#/definitions/tag"
- }
- ]
- },
- "oneofBoth": {
- "oneOf": [
- {
- "$ref": "#/definitions/brand"
- },
- {
- "$ref": "#/definitions/tag"
- }
- ]
- },
- "notSomething": {
- "not": {
- "$ref": "#/definitions/tag"
- }
- },
- "withAdditional": {
- "additionalProperties": {
- "$ref": "#/definitions/tag"
- }
- },
- "withPattern": {
- "patternProperties": {
- "^x-ab": {
- "$ref": "#/definitions/tag"
- }
- }
- },
- "withAdditionalItems": {
- "additionalItems": {
- "$ref": "#/definitions/tag"
- }
- },
- "deps": {
- "dependencies": {
- "something": {
- "$ref": "#/definitions/tag"
- }
- }
- },
- "defined": {
- "definitions": {
- "something": {
- "$ref": "#/definitions/tag"
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/fixtures/expansion/schemas2.json b/vendor/github.com/go-openapi/spec/fixtures/expansion/schemas2.json
deleted file mode 100644
index fe885fd98..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/expansion/schemas2.json
+++ /dev/null
@@ -1,161 +0,0 @@
-{
- "definitions": {
- "car": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "make": {
- "type": "string"
- },
- "brand": {
- "items": {
- "$ref": "#/definitions/brand"
- }
- }
- }
- },
- "tag": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "value": {
- "type": "string"
- }
- }
- },
- "brand": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "name": {
- "type": "string"
- }
- }
- },
- "truck": {
- "items": {
- "$ref": "#/definitions/car"
- }
- },
- "batch": {
- "items": {
- "items": {
- "$ref": "#/definitions/brand"
- }
- }
- },
- "batch2": {
- "items": [
- {
- "items": {
- "$ref": "#/definitions/brand"
- }
- },
- {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- ]
- },
- "allofBoth": {
- "allOf": [
- {
- "items": {
- "$ref": "#/definitions/brand"
- }
- },
- {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- ]
- },
- "anyofBoth": {
- "anyOf": [
- {
- "items": {
- "$ref": "#/definitions/brand"
- }
- },
- {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- ]
- },
- "oneofBoth": {
- "oneOf": [
- {
- "items": {
- "$ref": "#/definitions/brand"
- }
- },
- {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- ]
- },
- "notSomething": {
- "not": {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- },
- "withAdditional": {
- "additionalProperties": {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- },
- "withPattern": {
- "patternProperties": {
- "^x-ab": {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- }
- },
- "withAdditionalItems": {
- "additionalItems": {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- },
- "deps": {
- "dependencies": {
- "something": {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- }
- },
- "defined": {
- "definitions": {
- "something": {
- "items": {
- "$ref": "#/definitions/tag"
- }
- }
- }
- }
- }
-}
diff --git a/vendor/github.com/go-openapi/spec/fixtures/local_expansion/item.json b/vendor/github.com/go-openapi/spec/fixtures/local_expansion/item.json
deleted file mode 100644
index f042fdd7a..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/local_expansion/item.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "properties": {
- "id": {
- "format": "int64",
- "readOnly": true,
- "type": "integer"
- },
- "title": {
- "maxLength": 80,
- "minLength": 2,
- "type": "string"
- }
- },
- "required": [
- "title"
- ],
- "type": "object"
-}
diff --git a/vendor/github.com/go-openapi/spec/fixtures/local_expansion/spec.json b/vendor/github.com/go-openapi/spec/fixtures/local_expansion/spec.json
deleted file mode 100644
index 5c653bca8..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/local_expansion/spec.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "basePath": "/v1",
- "consumes": [
- "application/json"
- ],
- "host": "item.api.local",
- "info": {
- "description": "Item API",
- "title": "Item API",
- "version": "1.0.0"
- },
- "paths": {
- "/item": {
- "get": {
- "operationId": "GetItem",
- "responses": {
- "200": {
- "description": "item detail response",
- "schema": {
- "$ref": "item.json"
- }
- }
- }
- }
- }
- },
- "produces": [
- "application/json"
- ],
- "schemes": [
- "http"
- ],
- "security": [
- {
- "key": []
- }
- ],
- "securityDefinitions": {
- "key": {
- "in": "header",
- "name": "x-item-token",
- "type": "apiKey"
- }
- },
- "swagger": "2.0"
-}
diff --git a/vendor/github.com/go-openapi/spec/fixtures/specs/deeper/arrayProp.json b/vendor/github.com/go-openapi/spec/fixtures/specs/deeper/arrayProp.json
deleted file mode 100644
index 8f8dbf6ba..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/specs/deeper/arrayProp.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "type":"array",
- "items": {
- "type": "string"
- }
-} \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/fixtures/specs/deeper/stringProp.json b/vendor/github.com/go-openapi/spec/fixtures/specs/deeper/stringProp.json
deleted file mode 100644
index 169a0d70f..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/specs/deeper/stringProp.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "type": "string"
-} \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/fixtures/specs/refed.json b/vendor/github.com/go-openapi/spec/fixtures/specs/refed.json
deleted file mode 100644
index 142be8bb9..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/specs/refed.json
+++ /dev/null
@@ -1,224 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "1.0.0",
- "title": "Swagger Petstore",
- "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification",
- "termsOfService": "http://helloreverb.com/terms/",
- "contact": {
- "name": "Wordnik API Team"
- },
- "license": {
- "name": "MIT"
- }
- },
- "host": "petstore.swagger.wordnik.com",
- "basePath": "/api",
- "schemes": [
- "http"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": {
- "idParam": {
- "name": "id",
- "in": "path",
- "description": "ID of pet to fetch",
- "required": true,
- "type": "integer",
- "format": "int64"
- }
- },
- "responses": {
- "petResponse": {
- "description": "pet response",
- "schema": {
- "$ref": "#/definitions/pet"
- }
- }
- },
- "paths": {
- "/pets": {
- "get": {
- "description": "Returns all pets from the system that the user has access to",
- "operationId": "findPets",
- "produces": [
- "application/json",
- "application/xml",
- "text/xml",
- "text/html"
- ],
- "parameters": [
- {
- "name": "tags",
- "in": "query",
- "description": "tags to filter by",
- "required": false,
- "type": "array",
- "items": {
- "type": "string"
- },
- "collectionFormat": "csv"
- },
- {
- "name": "limit",
- "in": "query",
- "description": "maximum number of results to return",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "responses": {
- "200": {
- "description": "pet response",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/pet"
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "#/definitions/errorModel"
- }
- }
- }
- },
- "post": {
- "description": "Creates a new pet in the store. Duplicates are allowed",
- "operationId": "addPet",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "pet",
- "in": "body",
- "description": "Pet to add to the store",
- "required": true,
- "schema": {
- "$ref": "#/definitions/petInput"
- }
- }
- ],
- "responses": {
- "200": { "$ref": "#/responses/petResponse" },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "#/definitions/errorModel"
- }
- }
- }
- }
- },
- "/pets/{id}": {
- "get": {
- "description": "Returns a user based on a single ID, if the user does not have access to the pet",
- "operationId": "findPetById",
- "produces": [
- "application/json",
- "application/xml",
- "text/xml",
- "text/html"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/idParam"
- }
- ],
- "responses": {
- "200": {
- "$ref": "#/responses/petResponse"
- },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "#/definitions/errorModel"
- }
- }
- }
- },
- "delete": {
- "description": "deletes a single pet based on the ID supplied",
- "operationId": "deletePet",
- "parameters": [
- {
- "$ref": "#/parameters/idParam"
- }
- ],
- "responses": {
- "204": {
- "description": "pet deleted"
- },
- "default": {
- "description": "unexpected error",
- "schema": {
- "$ref": "#/definitions/errorModel"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "pet": {
- "required": [
- "id",
- "name"
- ],
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "name": {
- "type": "string"
- },
- "tag": {
- "type": "string"
- }
- }
- },
- "petInput": {
- "allOf": [
- {
- "$ref": "pet"
- },
- {
- "required": [
- "name"
- ],
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- }
- }
- }
- ]
- },
- "errorModel": {
- "required": [
- "code",
- "message"
- ],
- "properties": {
- "code": {
- "type": "integer",
- "format": "int32"
- },
- "message": {
- "type": "string"
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/fixtures/specs/resolution.json b/vendor/github.com/go-openapi/spec/fixtures/specs/resolution.json
deleted file mode 100644
index 43cabe858..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/specs/resolution.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "id": "http://localhost:1234",
- "items": {
- "id": "deeper/",
- "items": {
- "$ref": "stringProp.json"
- }
- },
- "definitions": {
- "bool": {
- "$ref": "boolProp.json"
- }
- }
-} \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/fixtures/specs/resolution2.json b/vendor/github.com/go-openapi/spec/fixtures/specs/resolution2.json
deleted file mode 100644
index 5d7a00560..000000000
--- a/vendor/github.com/go-openapi/spec/fixtures/specs/resolution2.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "id": "http://localhost:1234",
- "items": {
- "id": "deeper/",
- "items": {
- "$ref": "arrayProp.json#/items"
- }
- }
-} \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/schemas/jsonschema-draft-04.json b/vendor/github.com/go-openapi/spec/schemas/jsonschema-draft-04.json
deleted file mode 100644
index 85eb502a6..000000000
--- a/vendor/github.com/go-openapi/spec/schemas/jsonschema-draft-04.json
+++ /dev/null
@@ -1,150 +0,0 @@
-{
- "id": "http://json-schema.org/draft-04/schema#",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "description": "Core schema meta-schema",
- "definitions": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": { "$ref": "#" }
- },
- "positiveInteger": {
- "type": "integer",
- "minimum": 0
- },
- "positiveIntegerDefault0": {
- "allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
- },
- "simpleTypes": {
- "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
- },
- "stringArray": {
- "type": "array",
- "items": { "type": "string" },
- "minItems": 1,
- "uniqueItems": true
- }
- },
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "format": "uri"
- },
- "$schema": {
- "type": "string",
- "format": "uri"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": {},
- "multipleOf": {
- "type": "number",
- "minimum": 0,
- "exclusiveMinimum": true
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "boolean",
- "default": false
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "boolean",
- "default": false
- },
- "maxLength": { "$ref": "#/definitions/positiveInteger" },
- "minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "additionalItems": {
- "anyOf": [
- { "type": "boolean" },
- { "$ref": "#" }
- ],
- "default": {}
- },
- "items": {
- "anyOf": [
- { "$ref": "#" },
- { "$ref": "#/definitions/schemaArray" }
- ],
- "default": {}
- },
- "maxItems": { "$ref": "#/definitions/positiveInteger" },
- "minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "maxProperties": { "$ref": "#/definitions/positiveInteger" },
- "minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
- "required": { "$ref": "#/definitions/stringArray" },
- "additionalProperties": {
- "anyOf": [
- { "type": "boolean" },
- { "$ref": "#" }
- ],
- "default": {}
- },
- "definitions": {
- "type": "object",
- "additionalProperties": { "$ref": "#" },
- "default": {}
- },
- "properties": {
- "type": "object",
- "additionalProperties": { "$ref": "#" },
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": { "$ref": "#" },
- "default": {}
- },
- "dependencies": {
- "type": "object",
- "additionalProperties": {
- "anyOf": [
- { "$ref": "#" },
- { "$ref": "#/definitions/stringArray" }
- ]
- }
- },
- "enum": {
- "type": "array",
- "minItems": 1,
- "uniqueItems": true
- },
- "type": {
- "anyOf": [
- { "$ref": "#/definitions/simpleTypes" },
- {
- "type": "array",
- "items": { "$ref": "#/definitions/simpleTypes" },
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- },
- "allOf": { "$ref": "#/definitions/schemaArray" },
- "anyOf": { "$ref": "#/definitions/schemaArray" },
- "oneOf": { "$ref": "#/definitions/schemaArray" },
- "not": { "$ref": "#" }
- },
- "dependencies": {
- "exclusiveMaximum": [ "maximum" ],
- "exclusiveMinimum": [ "minimum" ]
- },
- "default": {}
-}
diff --git a/vendor/github.com/go-openapi/spec/schemas/v2/README.md b/vendor/github.com/go-openapi/spec/schemas/v2/README.md
deleted file mode 100644
index 32c1b929b..000000000
--- a/vendor/github.com/go-openapi/spec/schemas/v2/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Swagger 2.0 specification schema
-
-This folder contains the Swagger 2.0 specification schema files maintained here:
-
-https://github.com/reverb/swagger-spec/blob/master/schemas/v2.0 \ No newline at end of file
diff --git a/vendor/github.com/go-openapi/spec/schemas/v2/schema.json b/vendor/github.com/go-openapi/spec/schemas/v2/schema.json
deleted file mode 100644
index 4dfccd07b..000000000
--- a/vendor/github.com/go-openapi/spec/schemas/v2/schema.json
+++ /dev/null
@@ -1,1607 +0,0 @@
-{
- "title": "A JSON Schema for Swagger 2.0 API.",
- "id": "http://swagger.io/v2/schema.json#",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "type": "object",
- "required": [
- "swagger",
- "info",
- "paths"
- ],
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "swagger": {
- "type": "string",
- "enum": [
- "2.0"
- ],
- "description": "The Swagger version of this document."
- },
- "info": {
- "$ref": "#/definitions/info"
- },
- "host": {
- "type": "string",
- "pattern": "^[^{}/ :\\\\]+(?::\\d+)?$",
- "description": "The host (name or ip) of the API. Example: 'swagger.io'"
- },
- "basePath": {
- "type": "string",
- "pattern": "^/",
- "description": "The base path to the API. Example: '/api'."
- },
- "schemes": {
- "$ref": "#/definitions/schemesList"
- },
- "consumes": {
- "description": "A list of MIME types accepted by the API.",
- "allOf": [
- {
- "$ref": "#/definitions/mediaTypeList"
- }
- ]
- },
- "produces": {
- "description": "A list of MIME types the API can produce.",
- "allOf": [
- {
- "$ref": "#/definitions/mediaTypeList"
- }
- ]
- },
- "paths": {
- "$ref": "#/definitions/paths"
- },
- "definitions": {
- "$ref": "#/definitions/definitions"
- },
- "parameters": {
- "$ref": "#/definitions/parameterDefinitions"
- },
- "responses": {
- "$ref": "#/definitions/responseDefinitions"
- },
- "security": {
- "$ref": "#/definitions/security"
- },
- "securityDefinitions": {
- "$ref": "#/definitions/securityDefinitions"
- },
- "tags": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/tag"
- },
- "uniqueItems": true
- },
- "externalDocs": {
- "$ref": "#/definitions/externalDocs"
- }
- },
- "definitions": {
- "info": {
- "type": "object",
- "description": "General information about the API.",
- "required": [
- "version",
- "title"
- ],
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "title": {
- "type": "string",
- "description": "A unique and precise title of the API."
- },
- "version": {
- "type": "string",
- "description": "A semantic version number of the API."
- },
- "description": {
- "type": "string",
- "description": "A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."
- },
- "termsOfService": {
- "type": "string",
- "description": "The terms of service for the API."
- },
- "contact": {
- "$ref": "#/definitions/contact"
- },
- "license": {
- "$ref": "#/definitions/license"
- }
- }
- },
- "contact": {
- "type": "object",
- "description": "Contact information for the owners of the API.",
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string",
- "description": "The identifying name of the contact person/organization."
- },
- "url": {
- "type": "string",
- "description": "The URL pointing to the contact information.",
- "format": "uri"
- },
- "email": {
- "type": "string",
- "description": "The email address of the contact person/organization.",
- "format": "email"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "license": {
- "type": "object",
- "required": [
- "name"
- ],
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the license type. It's encouraged to use an OSI compatible license."
- },
- "url": {
- "type": "string",
- "description": "The URL pointing to the license.",
- "format": "uri"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "paths": {
- "type": "object",
- "description": "Relative paths to the individual endpoints. They must be relative to the 'basePath'.",
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- },
- "^/": {
- "$ref": "#/definitions/pathItem"
- }
- },
- "additionalProperties": false
- },
- "definitions": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/schema"
- },
- "description": "One or more JSON objects describing the schemas being consumed and produced by the API."
- },
- "parameterDefinitions": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/parameter"
- },
- "description": "One or more JSON representations for parameters"
- },
- "responseDefinitions": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/response"
- },
- "description": "One or more JSON representations for parameters"
- },
- "externalDocs": {
- "type": "object",
- "additionalProperties": false,
- "description": "information about external documentation",
- "required": [
- "url"
- ],
- "properties": {
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string",
- "format": "uri"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "examples": {
- "type": "object",
- "additionalProperties": true
- },
- "mimeType": {
- "type": "string",
- "description": "The MIME type of the HTTP message."
- },
- "operation": {
- "type": "object",
- "required": [
- "responses"
- ],
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "uniqueItems": true
- },
- "summary": {
- "type": "string",
- "description": "A brief summary of the operation."
- },
- "description": {
- "type": "string",
- "description": "A longer description of the operation, GitHub Flavored Markdown is allowed."
- },
- "externalDocs": {
- "$ref": "#/definitions/externalDocs"
- },
- "operationId": {
- "type": "string",
- "description": "A unique identifier of the operation."
- },
- "produces": {
- "description": "A list of MIME types the API can produce.",
- "allOf": [
- {
- "$ref": "#/definitions/mediaTypeList"
- }
- ]
- },
- "consumes": {
- "description": "A list of MIME types the API can consume.",
- "allOf": [
- {
- "$ref": "#/definitions/mediaTypeList"
- }
- ]
- },
- "parameters": {
- "$ref": "#/definitions/parametersList"
- },
- "responses": {
- "$ref": "#/definitions/responses"
- },
- "schemes": {
- "$ref": "#/definitions/schemesList"
- },
- "deprecated": {
- "type": "boolean",
- "default": false
- },
- "security": {
- "$ref": "#/definitions/security"
- }
- }
- },
- "pathItem": {
- "type": "object",
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "$ref": {
- "type": "string"
- },
- "get": {
- "$ref": "#/definitions/operation"
- },
- "put": {
- "$ref": "#/definitions/operation"
- },
- "post": {
- "$ref": "#/definitions/operation"
- },
- "delete": {
- "$ref": "#/definitions/operation"
- },
- "options": {
- "$ref": "#/definitions/operation"
- },
- "head": {
- "$ref": "#/definitions/operation"
- },
- "patch": {
- "$ref": "#/definitions/operation"
- },
- "parameters": {
- "$ref": "#/definitions/parametersList"
- }
- }
- },
- "responses": {
- "type": "object",
- "description": "Response objects names can either be any valid HTTP status code or 'default'.",
- "minProperties": 1,
- "additionalProperties": false,
- "patternProperties": {
- "^([0-9]{3})$|^(default)$": {
- "$ref": "#/definitions/responseValue"
- },
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "not": {
- "type": "object",
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- }
- },
- "responseValue": {
- "oneOf": [
- {
- "$ref": "#/definitions/response"
- },
- {
- "$ref": "#/definitions/jsonReference"
- }
- ]
- },
- "response": {
- "type": "object",
- "required": [
- "description"
- ],
- "properties": {
- "description": {
- "type": "string"
- },
- "schema": {
- "oneOf": [
- {
- "$ref": "#/definitions/schema"
- },
- {
- "$ref": "#/definitions/fileSchema"
- }
- ]
- },
- "headers": {
- "$ref": "#/definitions/headers"
- },
- "examples": {
- "$ref": "#/definitions/examples"
- }
- },
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "headers": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/header"
- }
- },
- "header": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "type"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "string",
- "number",
- "integer",
- "boolean",
- "array"
- ]
- },
- "format": {
- "type": "string"
- },
- "items": {
- "$ref": "#/definitions/primitivesItems"
- },
- "collectionFormat": {
- "$ref": "#/definitions/collectionFormat"
- },
- "default": {
- "$ref": "#/definitions/default"
- },
- "maximum": {
- "$ref": "#/definitions/maximum"
- },
- "exclusiveMaximum": {
- "$ref": "#/definitions/exclusiveMaximum"
- },
- "minimum": {
- "$ref": "#/definitions/minimum"
- },
- "exclusiveMinimum": {
- "$ref": "#/definitions/exclusiveMinimum"
- },
- "maxLength": {
- "$ref": "#/definitions/maxLength"
- },
- "minLength": {
- "$ref": "#/definitions/minLength"
- },
- "pattern": {
- "$ref": "#/definitions/pattern"
- },
- "maxItems": {
- "$ref": "#/definitions/maxItems"
- },
- "minItems": {
- "$ref": "#/definitions/minItems"
- },
- "uniqueItems": {
- "$ref": "#/definitions/uniqueItems"
- },
- "enum": {
- "$ref": "#/definitions/enum"
- },
- "multipleOf": {
- "$ref": "#/definitions/multipleOf"
- },
- "description": {
- "type": "string"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "vendorExtension": {
- "description": "Any property starting with x- is valid.",
- "additionalProperties": true,
- "additionalItems": true
- },
- "bodyParameter": {
- "type": "object",
- "required": [
- "name",
- "in",
- "schema"
- ],
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "description": {
- "type": "string",
- "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
- },
- "name": {
- "type": "string",
- "description": "The name of the parameter."
- },
- "in": {
- "type": "string",
- "description": "Determines the location of the parameter.",
- "enum": [
- "body"
- ]
- },
- "required": {
- "type": "boolean",
- "description": "Determines whether or not this parameter is required or optional.",
- "default": false
- },
- "schema": {
- "$ref": "#/definitions/schema"
- }
- },
- "additionalProperties": false
- },
- "headerParameterSubSchema": {
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "required": {
- "type": "boolean",
- "description": "Determines whether or not this parameter is required or optional.",
- "default": false
- },
- "in": {
- "type": "string",
- "description": "Determines the location of the parameter.",
- "enum": [
- "header"
- ]
- },
- "description": {
- "type": "string",
- "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
- },
- "name": {
- "type": "string",
- "description": "The name of the parameter."
- },
- "type": {
- "type": "string",
- "enum": [
- "string",
- "number",
- "boolean",
- "integer",
- "array"
- ]
- },
- "format": {
- "type": "string"
- },
- "items": {
- "$ref": "#/definitions/primitivesItems"
- },
- "collectionFormat": {
- "$ref": "#/definitions/collectionFormat"
- },
- "default": {
- "$ref": "#/definitions/default"
- },
- "maximum": {
- "$ref": "#/definitions/maximum"
- },
- "exclusiveMaximum": {
- "$ref": "#/definitions/exclusiveMaximum"
- },
- "minimum": {
- "$ref": "#/definitions/minimum"
- },
- "exclusiveMinimum": {
- "$ref": "#/definitions/exclusiveMinimum"
- },
- "maxLength": {
- "$ref": "#/definitions/maxLength"
- },
- "minLength": {
- "$ref": "#/definitions/minLength"
- },
- "pattern": {
- "$ref": "#/definitions/pattern"
- },
- "maxItems": {
- "$ref": "#/definitions/maxItems"
- },
- "minItems": {
- "$ref": "#/definitions/minItems"
- },
- "uniqueItems": {
- "$ref": "#/definitions/uniqueItems"
- },
- "enum": {
- "$ref": "#/definitions/enum"
- },
- "multipleOf": {
- "$ref": "#/definitions/multipleOf"
- }
- }
- },
- "queryParameterSubSchema": {
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "required": {
- "type": "boolean",
- "description": "Determines whether or not this parameter is required or optional.",
- "default": false
- },
- "in": {
- "type": "string",
- "description": "Determines the location of the parameter.",
- "enum": [
- "query"
- ]
- },
- "description": {
- "type": "string",
- "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
- },
- "name": {
- "type": "string",
- "description": "The name of the parameter."
- },
- "allowEmptyValue": {
- "type": "boolean",
- "default": false,
- "description": "allows sending a parameter by name only or with an empty value."
- },
- "type": {
- "type": "string",
- "enum": [
- "string",
- "number",
- "boolean",
- "integer",
- "array"
- ]
- },
- "format": {
- "type": "string"
- },
- "items": {
- "$ref": "#/definitions/primitivesItems"
- },
- "collectionFormat": {
- "$ref": "#/definitions/collectionFormatWithMulti"
- },
- "default": {
- "$ref": "#/definitions/default"
- },
- "maximum": {
- "$ref": "#/definitions/maximum"
- },
- "exclusiveMaximum": {
- "$ref": "#/definitions/exclusiveMaximum"
- },
- "minimum": {
- "$ref": "#/definitions/minimum"
- },
- "exclusiveMinimum": {
- "$ref": "#/definitions/exclusiveMinimum"
- },
- "maxLength": {
- "$ref": "#/definitions/maxLength"
- },
- "minLength": {
- "$ref": "#/definitions/minLength"
- },
- "pattern": {
- "$ref": "#/definitions/pattern"
- },
- "maxItems": {
- "$ref": "#/definitions/maxItems"
- },
- "minItems": {
- "$ref": "#/definitions/minItems"
- },
- "uniqueItems": {
- "$ref": "#/definitions/uniqueItems"
- },
- "enum": {
- "$ref": "#/definitions/enum"
- },
- "multipleOf": {
- "$ref": "#/definitions/multipleOf"
- }
- }
- },
- "formDataParameterSubSchema": {
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "required": {
- "type": "boolean",
- "description": "Determines whether or not this parameter is required or optional.",
- "default": false
- },
- "in": {
- "type": "string",
- "description": "Determines the location of the parameter.",
- "enum": [
- "formData"
- ]
- },
- "description": {
- "type": "string",
- "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
- },
- "name": {
- "type": "string",
- "description": "The name of the parameter."
- },
- "allowEmptyValue": {
- "type": "boolean",
- "default": false,
- "description": "allows sending a parameter by name only or with an empty value."
- },
- "type": {
- "type": "string",
- "enum": [
- "string",
- "number",
- "boolean",
- "integer",
- "array",
- "file"
- ]
- },
- "format": {
- "type": "string"
- },
- "items": {
- "$ref": "#/definitions/primitivesItems"
- },
- "collectionFormat": {
- "$ref": "#/definitions/collectionFormatWithMulti"
- },
- "default": {
- "$ref": "#/definitions/default"
- },
- "maximum": {
- "$ref": "#/definitions/maximum"
- },
- "exclusiveMaximum": {
- "$ref": "#/definitions/exclusiveMaximum"
- },
- "minimum": {
- "$ref": "#/definitions/minimum"
- },
- "exclusiveMinimum": {
- "$ref": "#/definitions/exclusiveMinimum"
- },
- "maxLength": {
- "$ref": "#/definitions/maxLength"
- },
- "minLength": {
- "$ref": "#/definitions/minLength"
- },
- "pattern": {
- "$ref": "#/definitions/pattern"
- },
- "maxItems": {
- "$ref": "#/definitions/maxItems"
- },
- "minItems": {
- "$ref": "#/definitions/minItems"
- },
- "uniqueItems": {
- "$ref": "#/definitions/uniqueItems"
- },
- "enum": {
- "$ref": "#/definitions/enum"
- },
- "multipleOf": {
- "$ref": "#/definitions/multipleOf"
- }
- }
- },
- "pathParameterSubSchema": {
- "additionalProperties": false,
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "required": [
- "required"
- ],
- "properties": {
- "required": {
- "type": "boolean",
- "enum": [
- true
- ],
- "description": "Determines whether or not this parameter is required or optional."
- },
- "in": {
- "type": "string",
- "description": "Determines the location of the parameter.",
- "enum": [
- "path"
- ]
- },
- "description": {
- "type": "string",
- "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
- },
- "name": {
- "type": "string",
- "description": "The name of the parameter."
- },
- "type": {
- "type": "string",
- "enum": [
- "string",
- "number",
- "boolean",
- "integer",
- "array"
- ]
- },
- "format": {
- "type": "string"
- },
- "items": {
- "$ref": "#/definitions/primitivesItems"
- },
- "collectionFormat": {
- "$ref": "#/definitions/collectionFormat"
- },
- "default": {
- "$ref": "#/definitions/default"
- },
- "maximum": {
- "$ref": "#/definitions/maximum"
- },
- "exclusiveMaximum": {
- "$ref": "#/definitions/exclusiveMaximum"
- },
- "minimum": {
- "$ref": "#/definitions/minimum"
- },
- "exclusiveMinimum": {
- "$ref": "#/definitions/exclusiveMinimum"
- },
- "maxLength": {
- "$ref": "#/definitions/maxLength"
- },
- "minLength": {
- "$ref": "#/definitions/minLength"
- },
- "pattern": {
- "$ref": "#/definitions/pattern"
- },
- "maxItems": {
- "$ref": "#/definitions/maxItems"
- },
- "minItems": {
- "$ref": "#/definitions/minItems"
- },
- "uniqueItems": {
- "$ref": "#/definitions/uniqueItems"
- },
- "enum": {
- "$ref": "#/definitions/enum"
- },
- "multipleOf": {
- "$ref": "#/definitions/multipleOf"
- }
- }
- },
- "nonBodyParameter": {
- "type": "object",
- "required": [
- "name",
- "in",
- "type"
- ],
- "oneOf": [
- {
- "$ref": "#/definitions/headerParameterSubSchema"
- },
- {
- "$ref": "#/definitions/formDataParameterSubSchema"
- },
- {
- "$ref": "#/definitions/queryParameterSubSchema"
- },
- {
- "$ref": "#/definitions/pathParameterSubSchema"
- }
- ]
- },
- "parameter": {
- "oneOf": [
- {
- "$ref": "#/definitions/bodyParameter"
- },
- {
- "$ref": "#/definitions/nonBodyParameter"
- }
- ]
- },
- "schema": {
- "type": "object",
- "description": "A deterministic version of a JSON Schema object.",
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "properties": {
- "$ref": {
- "type": "string"
- },
- "format": {
- "type": "string"
- },
- "title": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/title"
- },
- "description": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/description"
- },
- "default": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/default"
- },
- "multipleOf": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf"
- },
- "maximum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/maximum"
- },
- "exclusiveMaximum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
- },
- "minimum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/minimum"
- },
- "exclusiveMinimum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
- },
- "maxLength": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
- },
- "minLength": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
- },
- "pattern": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/pattern"
- },
- "maxItems": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
- },
- "minItems": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
- },
- "uniqueItems": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems"
- },
- "maxProperties": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
- },
- "minProperties": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
- },
- "required": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/stringArray"
- },
- "enum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/enum"
- },
- "additionalProperties": {
- "anyOf": [
- {
- "$ref": "#/definitions/schema"
- },
- {
- "type": "boolean"
- }
- ],
- "default": {}
- },
- "type": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/type"
- },
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/schema"
- },
- {
- "type": "array",
- "minItems": 1,
- "items": {
- "$ref": "#/definitions/schema"
- }
- }
- ],
- "default": {}
- },
- "allOf": {
- "type": "array",
- "minItems": 1,
- "items": {
- "$ref": "#/definitions/schema"
- }
- },
- "properties": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/schema"
- },
- "default": {}
- },
- "discriminator": {
- "type": "string"
- },
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "xml": {
- "$ref": "#/definitions/xml"
- },
- "externalDocs": {
- "$ref": "#/definitions/externalDocs"
- },
- "example": {}
- },
- "additionalProperties": false
- },
- "fileSchema": {
- "type": "object",
- "description": "A deterministic version of a JSON Schema object.",
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- },
- "required": [
- "type"
- ],
- "properties": {
- "format": {
- "type": "string"
- },
- "title": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/title"
- },
- "description": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/description"
- },
- "default": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/default"
- },
- "required": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/stringArray"
- },
- "type": {
- "type": "string",
- "enum": [
- "file"
- ]
- },
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "externalDocs": {
- "$ref": "#/definitions/externalDocs"
- },
- "example": {}
- },
- "additionalProperties": false
- },
- "primitivesItems": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "string",
- "number",
- "integer",
- "boolean",
- "array"
- ]
- },
- "format": {
- "type": "string"
- },
- "items": {
- "$ref": "#/definitions/primitivesItems"
- },
- "collectionFormat": {
- "$ref": "#/definitions/collectionFormat"
- },
- "default": {
- "$ref": "#/definitions/default"
- },
- "maximum": {
- "$ref": "#/definitions/maximum"
- },
- "exclusiveMaximum": {
- "$ref": "#/definitions/exclusiveMaximum"
- },
- "minimum": {
- "$ref": "#/definitions/minimum"
- },
- "exclusiveMinimum": {
- "$ref": "#/definitions/exclusiveMinimum"
- },
- "maxLength": {
- "$ref": "#/definitions/maxLength"
- },
- "minLength": {
- "$ref": "#/definitions/minLength"
- },
- "pattern": {
- "$ref": "#/definitions/pattern"
- },
- "maxItems": {
- "$ref": "#/definitions/maxItems"
- },
- "minItems": {
- "$ref": "#/definitions/minItems"
- },
- "uniqueItems": {
- "$ref": "#/definitions/uniqueItems"
- },
- "enum": {
- "$ref": "#/definitions/enum"
- },
- "multipleOf": {
- "$ref": "#/definitions/multipleOf"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "security": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/securityRequirement"
- },
- "uniqueItems": true
- },
- "securityRequirement": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "uniqueItems": true
- }
- },
- "xml": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "namespace": {
- "type": "string"
- },
- "prefix": {
- "type": "string"
- },
- "attribute": {
- "type": "boolean",
- "default": false
- },
- "wrapped": {
- "type": "boolean",
- "default": false
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "tag": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "externalDocs": {
- "$ref": "#/definitions/externalDocs"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "securityDefinitions": {
- "type": "object",
- "additionalProperties": {
- "oneOf": [
- {
- "$ref": "#/definitions/basicAuthenticationSecurity"
- },
- {
- "$ref": "#/definitions/apiKeySecurity"
- },
- {
- "$ref": "#/definitions/oauth2ImplicitSecurity"
- },
- {
- "$ref": "#/definitions/oauth2PasswordSecurity"
- },
- {
- "$ref": "#/definitions/oauth2ApplicationSecurity"
- },
- {
- "$ref": "#/definitions/oauth2AccessCodeSecurity"
- }
- ]
- }
- },
- "basicAuthenticationSecurity": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "type"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "basic"
- ]
- },
- "description": {
- "type": "string"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "apiKeySecurity": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "type",
- "name",
- "in"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "apiKey"
- ]
- },
- "name": {
- "type": "string"
- },
- "in": {
- "type": "string",
- "enum": [
- "header",
- "query"
- ]
- },
- "description": {
- "type": "string"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "oauth2ImplicitSecurity": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "type",
- "flow",
- "authorizationUrl"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "oauth2"
- ]
- },
- "flow": {
- "type": "string",
- "enum": [
- "implicit"
- ]
- },
- "scopes": {
- "$ref": "#/definitions/oauth2Scopes"
- },
- "authorizationUrl": {
- "type": "string",
- "format": "uri"
- },
- "description": {
- "type": "string"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "oauth2PasswordSecurity": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "type",
- "flow",
- "tokenUrl"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "oauth2"
- ]
- },
- "flow": {
- "type": "string",
- "enum": [
- "password"
- ]
- },
- "scopes": {
- "$ref": "#/definitions/oauth2Scopes"
- },
- "tokenUrl": {
- "type": "string",
- "format": "uri"
- },
- "description": {
- "type": "string"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "oauth2ApplicationSecurity": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "type",
- "flow",
- "tokenUrl"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "oauth2"
- ]
- },
- "flow": {
- "type": "string",
- "enum": [
- "application"
- ]
- },
- "scopes": {
- "$ref": "#/definitions/oauth2Scopes"
- },
- "tokenUrl": {
- "type": "string",
- "format": "uri"
- },
- "description": {
- "type": "string"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "oauth2AccessCodeSecurity": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "type",
- "flow",
- "authorizationUrl",
- "tokenUrl"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "oauth2"
- ]
- },
- "flow": {
- "type": "string",
- "enum": [
- "accessCode"
- ]
- },
- "scopes": {
- "$ref": "#/definitions/oauth2Scopes"
- },
- "authorizationUrl": {
- "type": "string",
- "format": "uri"
- },
- "tokenUrl": {
- "type": "string",
- "format": "uri"
- },
- "description": {
- "type": "string"
- }
- },
- "patternProperties": {
- "^x-": {
- "$ref": "#/definitions/vendorExtension"
- }
- }
- },
- "oauth2Scopes": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "mediaTypeList": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/mimeType"
- },
- "uniqueItems": true
- },
- "parametersList": {
- "type": "array",
- "description": "The parameters needed to send a valid API call.",
- "additionalItems": false,
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/parameter"
- },
- {
- "$ref": "#/definitions/jsonReference"
- }
- ]
- },
- "uniqueItems": true
- },
- "schemesList": {
- "type": "array",
- "description": "The transfer protocol of the API.",
- "items": {
- "type": "string",
- "enum": [
- "http",
- "https",
- "ws",
- "wss"
- ]
- },
- "uniqueItems": true
- },
- "collectionFormat": {
- "type": "string",
- "enum": [
- "csv",
- "ssv",
- "tsv",
- "pipes"
- ],
- "default": "csv"
- },
- "collectionFormatWithMulti": {
- "type": "string",
- "enum": [
- "csv",
- "ssv",
- "tsv",
- "pipes",
- "multi"
- ],
- "default": "csv"
- },
- "title": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/title"
- },
- "description": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/description"
- },
- "default": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/default"
- },
- "multipleOf": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf"
- },
- "maximum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/maximum"
- },
- "exclusiveMaximum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
- },
- "minimum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/minimum"
- },
- "exclusiveMinimum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
- },
- "maxLength": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
- },
- "minLength": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
- },
- "pattern": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/pattern"
- },
- "maxItems": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
- },
- "minItems": {
- "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
- },
- "uniqueItems": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems"
- },
- "enum": {
- "$ref": "http://json-schema.org/draft-04/schema#/properties/enum"
- },
- "jsonReference": {
- "type": "object",
- "required": [
- "$ref"
- ],
- "additionalProperties": false,
- "properties": {
- "$ref": {
- "type": "string"
- }
- }
- }
- }
-}
diff --git a/vendor/github.com/go-openapi/swag/.github/CONTRIBUTING.md b/vendor/github.com/go-openapi/swag/.github/CONTRIBUTING.md
deleted file mode 100644
index 7dea4240d..000000000
--- a/vendor/github.com/go-openapi/swag/.github/CONTRIBUTING.md
+++ /dev/null
@@ -1,117 +0,0 @@
-## Contribution Guidelines
-
-### Pull requests are always welcome
-
-We are always thrilled to receive pull requests, and do our best to
-process them as fast as possible. Not sure if that typo is worth a pull
-request? Do it! We will appreciate it.
-
-If your pull request is not accepted on the first try, don't be
-discouraged! If there's a problem with the implementation, hopefully you
-received feedback on what to improve.
-
-We're trying very hard to keep go-swagger lean and focused. We don't want it
-to do everything for everybody. This means that we might decide against
-incorporating a new feature. However, there might be a way to implement
-that feature *on top of* go-swagger.
-
-
-### Conventions
-
-Fork the repo and make changes on your fork in a feature branch:
-
-- If it's a bugfix branch, name it XXX-something where XXX is the number of the
- issue
-- If it's a feature branch, create an enhancement issue to announce your
- intentions, and name it XXX-something where XXX is the number of the issue.
-
-Submit unit tests for your changes. Go has a great test framework built in; use
-it! Take a look at existing tests for inspiration. Run the full test suite on
-your branch before submitting a pull request.
-
-Update the documentation when creating or modifying features. Test
-your documentation changes for clarity, concision, and correctness, as
-well as a clean documentation build. See ``docs/README.md`` for more
-information on building the docs and how docs get released.
-
-Write clean code. Universally formatted code promotes ease of writing, reading,
-and maintenance. Always run `gofmt -s -w file.go` on each changed file before
-committing your changes. Most editors have plugins that do this automatically.
-
-Pull requests descriptions should be as clear as possible and include a
-reference to all the issues that they address.
-
-Pull requests must not contain commits from other users or branches.
-
-Commit messages must start with a capitalized and short summary (max. 50
-chars) written in the imperative, followed by an optional, more detailed
-explanatory text which is separated from the summary by an empty line.
-
-Code review comments may be added to your pull request. Discuss, then make the
-suggested modifications and push additional commits to your feature branch. Be
-sure to post a comment after pushing. The new commits will show up in the pull
-request automatically, but the reviewers will not be notified unless you
-comment.
-
-Before the pull request is merged, make sure that you squash your commits into
-logical units of work using `git rebase -i` and `git push -f`. After every
-commit the test suite should be passing. Include documentation changes in the
-same commit so that a revert would remove all traces of the feature or fix.
-
-Commits that fix or close an issue should include a reference like `Closes #XXX`
-or `Fixes #XXX`, which will automatically close the issue when merged.
-
-### Sign your work
-
-The sign-off is a simple line at the end of the explanation for the
-patch, which certifies that you wrote it or otherwise have the right to
-pass it on as an open-source patch. The rules are pretty simple: if you
-can certify the below (from
-[developercertificate.org](http://developercertificate.org/)):
-
-```
-Developer Certificate of Origin
-Version 1.1
-
-Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
-660 York Street, Suite 102,
-San Francisco, CA 94110 USA
-
-Everyone is permitted to copy and distribute verbatim copies of this
-license document, but changing it is not allowed.
-
-
-Developer's Certificate of Origin 1.1
-
-By making a contribution to this project, I certify that:
-
-(a) The contribution was created in whole or in part by me and I
- have the right to submit it under the open source license
- indicated in the file; or
-
-(b) The contribution is based upon previous work that, to the best
- of my knowledge, is covered under an appropriate open source
- license and I have the right under that license to submit that
- work with modifications, whether created in whole or in part
- by me, under the same open source license (unless I am
- permitted to submit under a different license), as indicated
- in the file; or
-
-(c) The contribution was provided directly to me by some other
- person who certified (a), (b) or (c) and I have not modified
- it.
-
-(d) I understand and agree that this project and the contribution
- are public and that a record of the contribution (including all
- personal information I submit with it, including my sign-off) is
- maintained indefinitely and may be redistributed consistent with
- this project or the open source license(s) involved.
-```
-
-then you just add a line to every git commit message:
-
- Signed-off-by: Joe Smith <joe@gmail.com>
-
-using your real name (sorry, no pseudonyms or anonymous contributions.)
-
-You can add the sign off when creating the git commit via `git commit -s`.