Download the PHP package sajari/sajari-sdk-php without Composer
On this page you can find all versions of the php package sajari/sajari-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sajari/sajari-sdk-php
More information about sajari/sajari-sdk-php
Files in sajari/sajari-sdk-php
Package sajari-sdk-php
Short Description Search.io offers a search and discovery service with Neuralsearch®, the world's first instant AI search technology. Businesses of all sizes use Search.io to build site search and discovery solutions that maximize e-commerce revenue, optimize on-site customer experience, and scale their online presence.
License MIT
Homepage https://www.sajari.com
Informations about the package sajari-sdk-php
Search.io SDK for PHP
The official Search.io PHP client library.
Search.io offers a search and discovery service with Neuralsearch®, the world's first instant AI search technology. Businesses of all sizes use Search.io to build site search and discovery solutions that maximize e-commerce revenue, optimize on-site customer experience, and scale their online presence.
Table of contents
- Installation & usage
- Requirements
- Composer
- Manual installation
- Getting started
- API endpoints
- Models
- Authorization
- BasicAuth
- Tests
- Author
- About this package
Installation & usage
Requirements
PHP 7.2 and later.
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer install
Manual installation
Download the files and include autoload.php
:
Getting started
Please follow the installation procedure and then run the following:
API endpoints
All URIs are relative to https://api.search.io
Class | Method | HTTP request | Description |
---|---|---|---|
CollectionsApi | createCollection | POST /v4/collections | Create collection |
CollectionsApi | deleteCollection | DELETE /v4/collections/{collection_id} | Delete collection |
CollectionsApi | experiment | POST /v4/collections/{collection_id}:experiment | Experiment |
CollectionsApi | getCollection | GET /v4/collections/{collection_id} | Get collection |
CollectionsApi | listCollections | GET /v4/collections | List collections |
CollectionsApi | queryCollection | POST /v4/collections/{collection_id}:query | Query collection |
CollectionsApi | queryCollection2 | POST /v4/collections/{collection_id}:queryCollection | Query collection |
CollectionsApi | trackEvent | POST /v4/collections/{collection_id}:trackEvent | Track event |
CollectionsApi | updateCollection | PATCH /v4/collections/{collection_id} | Update collection |
EventsApi | sendEvent | POST /v4/events:send | Send event |
EventsApi | sendEvent2 | POST /v4/events:sendEvent | Send event |
PipelinesApi | createPipeline | POST /v4/collections/{collection_id}/pipelines | Create pipeline |
PipelinesApi | generatePipelines | POST /v4/collections/{collection_id}:generatePipelines | Generate pipelines |
PipelinesApi | getDefaultPipeline | GET /v4/collections/{collection_id}:getDefaultPipeline | Get default pipeline |
PipelinesApi | getDefaultVersion | GET /v4/collections/{collection_id}/pipelines/{type}/{name}:getDefaultVersion | Get default pipeline version |
PipelinesApi | getPipeline | GET /v4/collections/{collection_id}/pipelines/{type}/{name}/{version} | Get pipeline |
PipelinesApi | listPipelines | GET /v4/collections/{collection_id}/pipelines | List pipelines |
PipelinesApi | setDefaultPipeline | POST /v4/collections/{collection_id}:setDefaultPipeline | Set default pipeline |
PipelinesApi | setDefaultVersion | POST /v4/collections/{collection_id}/pipelines/{type}/{name}:setDefaultVersion | Set default pipeline version |
PromotionsApi | createPromotion | POST /v4/collections/{collection_id}/promotions | Create promotion |
PromotionsApi | deletePromotion | DELETE /v4/collections/{collection_id}/promotions/{promotion_id} | Delete promotion |
PromotionsApi | getPromotion | GET /v4/collections/{collection_id}/promotions/{promotion_id} | Get promotion |
PromotionsApi | listPromotions | GET /v4/collections/{collection_id}/promotions | List promotions |
PromotionsApi | updatePromotion | PATCH /v4/collections/{collection_id}/promotions/{promotion_id} | Update promotion |
RecordsApi | batchUpdateRecords | POST /v4/collections/{collection_id}/records:batchUpdate | Batch update records |
RecordsApi | batchUpsertRecords | POST /v4/collections/{collection_id}/records:batchUpsert | Batch upsert records |
RecordsApi | deleteRecord | POST /v4/collections/{collection_id}/records:delete | Delete record |
RecordsApi | getRecord | POST /v4/collections/{collection_id}/records:get | Get record |
RecordsApi | updateRecord | POST /v4/collections/{collection_id}/records:update | Update record |
RecordsApi | upsertRecord | POST /v4/collections/{collection_id}/records:upsert | Upsert record |
RedirectsApi | createRedirect | POST /v4/collections/{collection_id}/redirects | Create redirect |
RedirectsApi | deleteRedirect | DELETE /v4/collections/{collection_id}/redirects/{redirect_id} | Delete redirect |
RedirectsApi | getRedirect | GET /v4/collections/{collection_id}/redirects/{redirect_id} | Get redirect |
RedirectsApi | listRedirects | GET /v4/collections/{collection_id}/redirects | List redirects |
RedirectsApi | updateRedirect | PATCH /v4/collections/{collection_id}/redirects/{redirect_id} | Update redirect |
SchemaApi | batchCreateSchemaFields | POST /v4/collections/{collection_id}/schemaFields:batchCreate | Batch create schema fields |
SchemaApi | createSchemaField | POST /v4/collections/{collection_id}/schemaFields | Create schema field |
SchemaApi | deleteSchemaField | DELETE /v4/collections/{collection_id}/schemaFields/{schema_field_name} | Delete schema field |
SchemaApi | listSchemaFields | GET /v4/collections/{collection_id}/schemaFields | List schema fields |
SchemaApi | updateSchemaField | PATCH /v4/collections/{collection_id}/schemaFields/{schema_field_name} | Update schema field |
Models
- ActivePromotion
- Banner
- BatchCreateSchemaFieldsRequest
- BatchCreateSchemaFieldsResponse
- BatchCreateSchemaFieldsResponseError
- BatchUpdateRecordsRequest
- BatchUpdateRecordsResponse
- BatchUpdateRecordsResponseError
- BatchUpdateRecordsResponseRecord
- BatchUpsertRecordsRequest
- BatchUpsertRecordsRequestPipeline
- BatchUpsertRecordsResponse
- BatchUpsertRecordsResponseError
- BatchUpsertRecordsResponseKey
- BatchUpsertRecordsResponseVariables
- Collection
- CollectionType
- DeleteRecordRequest
- Error
- Event
- ExperimentRequest
- ExperimentRequestPipeline
- ExperimentResponse
- GeneratePipelinesRequest
- GeneratePipelinesResponse
- GetCollectionRequestView
- GetDefaultPipelineResponse
- GetDefaultVersionRequestView
- GetPipelineRequestView
- GetRecordRequest
- ListCollectionsRequestView
- ListCollectionsResponse
- ListPipelinesRequestView
- ListPipelinesResponse
- ListPromotionsRequestPromotionView
- ListPromotionsResponse
- ListRedirectsResponse
- ListSchemaFieldsResponse
- PercentileDataPoint
- Pipeline
- PipelineStep
- PipelineStepParamBinding
- PipelineType
- Promotion
- PromotionCategory
- PromotionExclusion
- PromotionFilterBoost
- PromotionFilterCondition
- PromotionPin
- PromotionPinMode
- PromotionRangeBoost
- ProtobufAny
- ProtobufFieldMask
- ProtobufNullValue
- QueryAggregateResult
- QueryAggregateResultAnalysis
- QueryAggregateResultBuckets
- QueryAggregateResultBucketsBucket
- QueryAggregateResultCount
- QueryAggregateResultDate
- QueryAggregateResultMetric
- QueryAggregateResultPercentile
- QueryCollectionRequest
- QueryCollectionRequestPipeline
- QueryCollectionRequestTracking
- QueryCollectionRequestTrackingType
- QueryCollectionResponse
- QueryCollectionResponsePipeline
- QueryResult
- QueryResultToken
- QueryResultTokenClick
- QueryResultTokenPosNeg
- RecordKey
- Redirect
- RedirectResult
- SchemaField
- SchemaFieldMode
- SchemaFieldType
- SendEventRequest
- SetDefaultPipelineRequest
- SetDefaultVersionRequest
- Status
- TextPosition
- UpdateRecordRequest
- UpsertRecordRequest
- UpsertRecordRequestPipeline
- UpsertRecordResponse
Authorization
BasicAuth
- Type: HTTP basic authentication
Tests
To run the tests, use:
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
v4
- Package version:
5.1.0
- Package version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen
All versions of sajari-sdk-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2