Discovery v2

Introduction IBM Watson® Discovery is a cognitive search and content analytics engine that you can add to applications to identify patterns, trends and actionable insights to drive better decision-making. Securely unify structured and unstructured data with pre-enriched content, and use a simplified query language to eliminate the need for manual filtering of results. This documentation describes Java SDK major version 9. For more information about how to update your code from the previous version, see the migration guidehttps://github.com/watson-developer-cloud/java-sdk/blob/master/MIGRATION-V9.md. This documentation describes Node SDK major version 6. For more information about how to update your code from the previous version, see the migration guidehttps://github.com/watson-developer-cloud/node-sdk/blob/master/MIGRATION-V6.md. This documentation describes Python SDK major version 5. For more information about how to update your code from the previous version, see the migration guidehttps://github.com/watson-developer-cloud/python-sdk/blob/master/MIGRATION-V5.md. This documentation describes Ruby SDK major version 2. For more information about how to update your code from the previous version, see the migration guidehttps://github.com/watson-developer-cloud/ruby-sdk/blob/master/MIGRATION-V2.md. This documentation describes .NET Standard SDK major version 5. For more information about how to update your code from the previous version, see the migration guidehttps://github.com/watson-developer-cloud/dotnet-standard-sdk/blob/master/MIGRATION-V5.md. This documentation describes Go SDK major version 2. For more information about how to update your code from the previous version, see the migration guidehttps://github.com/watson-developer-cloud/go-sdk/blob/master/MIGRATION-V2.md. This documentation describes Swift SDK major version 4. For more information about how to update your code from the previous version, see the migration guidehttps://github.com/watson-developer-cloud/swift-sdk/blob/master/MIGRATION-V4.md. This documentation describes Unity SDK major version 5. For more information about how to update your code from the previous version, see the migration guidehttps://github.com/watson-developer-cloud/unity-sdk/blob/master/MIGRATION-v5.md. The code examples on this tab use the client library that is provided for Java. Maven xml

MethodPathSummary
GET/v2/projectsList projects
POST/v2/projectsCreate a project
GET/v2/projects/{project_id}Get project
POST/v2/projects/{project_id}Update a project
DELETE/v2/projects/{project_id}Delete a project
GET/v2/projects/{project_id}/fieldsList fields
GET/v2/projects/{project_id}/collectionsList collections
POST/v2/projects/{project_id}/collectionsCreate a collection
GET/v2/projects/{project_id}/collections/{collection_id}Get collection details
POST/v2/projects/{project_id}/collections/{collection_id}Update a collection
DELETE/v2/projects/{project_id}/collections/{collection_id}Delete a collection
GET/v2/projects/{project_id}/collections/{collection_id}/documentsList documents
POST/v2/projects/{project_id}/collections/{collection_id}/documentsAdd a document
GET/v2/projects/{project_id}/collections/{collection_id}/documents/{document_id}Get document details
POST/v2/projects/{project_id}/collections/{collection_id}/documents/{document_id}Update a document
DELETE/v2/projects/{project_id}/collections/{collection_id}/documents/{document_id}Delete a document
POST/v2/projects/{project_id}/queryQuery a project
GET/v2/projects/{project_id}/autocompletionGet Autocomplete Suggestions
GET/v2/projects/{project_id}/collections/{collection_id}/noticesQuery collection notices
GET/v2/projects/{project_id}/noticesQuery project notices
GET/v2/projects/{project_id}/collections/{collection_id}/stopwordsGet a custom stop words list
POST/v2/projects/{project_id}/collections/{collection_id}/stopwordsCreate a custom stop words list
DELETE/v2/projects/{project_id}/collections/{collection_id}/stopwordsDelete a custom stop words list
GET/v2/projects/{project_id}/collections/{collection_id}/expansionsGet the expansion list
POST/v2/projects/{project_id}/collections/{collection_id}/expansionsCreate or update an expansion list
DELETE/v2/projects/{project_id}/collections/{collection_id}/expansionsDelete the expansion list
GET/v2/projects/{project_id}/component_settingsList component settings
GET/v2/projects/{project_id}/training_data/queriesList training queries
DELETE/v2/projects/{project_id}/training_data/queriesDelete training queries
POST/v2/projects/{project_id}/training_data/queriesCreate a training query
GET/v2/projects/{project_id}/training_data/queries/{query_id}Get a training data query
POST/v2/projects/{project_id}/training_data/queries/{query_id}Update a training query
DELETE/v2/projects/{project_id}/training_data/queries/{query_id}Delete a training data query
GET/v2/projects/{project_id}/enrichmentsList enrichments
POST/v2/projects/{project_id}/enrichmentsCreate an enrichment
GET/v2/projects/{project_id}/enrichments/{enrichment_id}Get enrichment
POST/v2/projects/{project_id}/enrichments/{enrichment_id}Update an enrichment
DELETE/v2/projects/{project_id}/enrichments/{enrichment_id}Delete an enrichment
GET/v2/projects/{project_id}/collections/{collection_id}/batchesList batches
GET/v2/projects/{project_id}/collections/{collection_id}/batches/{batch_id}Pull batches
POST/v2/projects/{project_id}/collections/{collection_id}/batches/{batch_id}Push batches
GET/v2/projects/{project_id}/document_classifiersList document classifiers
POST/v2/projects/{project_id}/document_classifiersCreate a document classifier
GET/v2/projects/{project_id}/document_classifiers/{classifier_id}Get a document classifier
POST/v2/projects/{project_id}/document_classifiers/{classifier_id}Update a document classifier
DELETE/v2/projects/{project_id}/document_classifiers/{classifier_id}Delete a document classifier
GET/v2/projects/{project_id}/document_classifiers/{classifier_id}/modelsList document classifier models
POST/v2/projects/{project_id}/document_classifiers/{classifier_id}/modelsCreate a document classifier model
GET/v2/projects/{project_id}/document_classifiers/{classifier_id}/models/{model_id}Get a document classifier model
POST/v2/projects/{project_id}/document_classifiers/{classifier_id}/models/{model_id}Update a document classifier model
DELETE/v2/projects/{project_id}/document_classifiers/{classifier_id}/models/{model_id}Delete a document classifier model
POST/v2/projects/{project_id}/collections/{collection_id}/analyzeAnalyze a document
DELETE/v2/user_dataDelete labeled data
GET/v2/projects/{project_id}/curationsList curations
POST/v2/projects/{project_id}/curationsCreate curation
GET/v2/projects/{project_id}/curations/{curation_id}Get curation
DELETE/v2/projects/{project_id}/curations/{curation_id}Delete curation
POST/v2/projects/{project_id}/curations/{curation_id}/curated_resultsUpdate curation results