Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Classification curl commands #159

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/pages/guides/classifications/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Submits a classifications import file for processing.
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.CommitImport' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.CommitImport' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -43,7 +43,7 @@ Creates a classifications export job.
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.CreateExport' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.CreateExport' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -100,7 +100,7 @@ Creates a classifications Import FTP account.
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.CreateFTP' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.CreateFTP' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -148,7 +148,7 @@ Creates a classifications import job.
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.CreateImport' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.CreateImport' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -210,7 +210,7 @@ Returns the available `elements` for a given report suite, and compatibility acr
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetCompatibilityElements' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetCompatibilityElements' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -296,7 +296,7 @@ Retrieves a page of data, known as a file segment, from a completed classificati
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetExport' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetExport' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -358,7 +358,7 @@ Gets classification export filters.
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetFilters' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetFilters' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -402,7 +402,7 @@ Returns a list of the classifications FTP accounts that are configured for a com
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetFTP' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetFTP' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -448,7 +448,7 @@ Returns the status of the specified classification request.
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetStatus' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetStatus' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -491,7 +491,7 @@ Similar to the Template tab in the Classifications tool in the Admin Console UI,
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetTemplate' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.GetTemplate' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down Expand Up @@ -532,7 +532,7 @@ Appends row data to a previously created classifications import job. You can sep
#### Request

```sh
curl -X 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.PopulateImport' \
curl -X POST 'https://api.omniture.com/admin/1.4/rest/?method=Classifications.PopulateImport' \
-H "x-api-key: {CLIENTID}}" \
-H "Authorization: Bearer {ACCESSTOKEN}" \
-H "Content-Type: application/json" \
Expand Down