@prdb/sdk 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/downloadedFromIndexers/index.d.ts +2 -2
- package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts +2 -2
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts +2 -2
- package/dist/generated/indexerFilehashes/lookup/index.d.ts +2 -2
- package/dist/generated/models/index.d.ts +13 -13
- package/dist/generated/videos/filehashSubmissions/index.d.ts +2 -2
- package/dist/generated/videos/filehashes/lookup/index.d.ts +2 -2
- package/dist/generated/videos/identify/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export interface DownloadedFromIndexersRequestBuilder extends BaseRequestBuilder
|
|
|
12
12
|
*/
|
|
13
13
|
byDownloadedFromIndexerId(downloadedFromIndexerId: Guid): WithDownloadedFromIndexerItemRequestBuilder;
|
|
14
14
|
/**
|
|
15
|
-
* Creates a downloaded-from-indexer entry for the authenticated user and returns 201, or returns the complete existing owned entry without mutating it and returns 200. Uniqueness is defined by userId, videoId (including null), indexerSource, and the trimmed indexerId; comparison uses the database collation. downloadIdentifier is not part of the key. Returns 404 when the referenced wanted video does not exist and 409 only for a different non-recoverable conflict.
|
|
15
|
+
* Creates a downloaded-from-indexer entry for the authenticated user and returns 201, or returns the complete existing owned entry without mutating it and returns 200. Uniqueness is defined by userId, videoId (including null), indexerSource, and the trimmed indexerId; comparison uses the database collation. downloadIdentifier is not part of the key. A pHash on a filename must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. Returns 404 when the referenced wanted video does not exist and 409 only for a different non-recoverable conflict.
|
|
16
16
|
* @param body The request body
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {Promise<DownloadedFromIndexerResponse>}
|
|
@@ -26,7 +26,7 @@ export interface DownloadedFromIndexersRequestBuilder extends BaseRequestBuilder
|
|
|
26
26
|
*/
|
|
27
27
|
post(body: AddDownloadedFromIndexerRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DownloadedFromIndexerResponse | undefined>;
|
|
28
28
|
/**
|
|
29
|
-
* Creates a downloaded-from-indexer entry for the authenticated user and returns 201, or returns the complete existing owned entry without mutating it and returns 200. Uniqueness is defined by userId, videoId (including null), indexerSource, and the trimmed indexerId; comparison uses the database collation. downloadIdentifier is not part of the key. Returns 404 when the referenced wanted video does not exist and 409 only for a different non-recoverable conflict.
|
|
29
|
+
* Creates a downloaded-from-indexer entry for the authenticated user and returns 201, or returns the complete existing owned entry without mutating it and returns 200. Uniqueness is defined by userId, videoId (including null), indexerSource, and the trimmed indexerId; comparison uses the database collation. downloadIdentifier is not part of the key. A pHash on a filename must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. Returns 404 when the referenced wanted video does not exist and 409 only for a different non-recoverable conflict.
|
|
30
30
|
* @param body The request body
|
|
31
31
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
32
|
* @returns {RequestInformation}
|
|
@@ -12,7 +12,7 @@ export interface FilenamesRequestBuilder extends BaseRequestBuilder<FilenamesReq
|
|
|
12
12
|
*/
|
|
13
13
|
byFilenameId(filenameId: Guid): WithFilenameItemRequestBuilder;
|
|
14
14
|
/**
|
|
15
|
-
* Adds a single filename row to a downloaded-from-indexer entry owned by the currently authenticated user. Returns 409 when the filename already exists under the parent entry.
|
|
15
|
+
* Adds a single filename row to a downloaded-from-indexer entry owned by the currently authenticated user. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. Returns 409 when the filename already exists under the parent entry.
|
|
16
16
|
* @param body The request body
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {Promise<DownloadedFromIndexerResponse>}
|
|
@@ -26,7 +26,7 @@ export interface FilenamesRequestBuilder extends BaseRequestBuilder<FilenamesReq
|
|
|
26
26
|
*/
|
|
27
27
|
post(body: AddDownloadedFromIndexerFilenameRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DownloadedFromIndexerResponse | undefined>;
|
|
28
28
|
/**
|
|
29
|
-
* Adds a single filename row to a downloaded-from-indexer entry owned by the currently authenticated user. Returns 409 when the filename already exists under the parent entry.
|
|
29
|
+
* Adds a single filename row to a downloaded-from-indexer entry owned by the currently authenticated user. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. Returns 409 when the filename already exists under the parent entry.
|
|
30
30
|
* @param body The request body
|
|
31
31
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
32
|
* @returns {RequestInformation}
|
|
@@ -15,7 +15,7 @@ export interface WithFilenameItemRequestBuilder extends BaseRequestBuilder<WithF
|
|
|
15
15
|
*/
|
|
16
16
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
17
17
|
/**
|
|
18
|
-
* Updates a single filename row for a downloaded-from-indexer entry owned by the currently authenticated user. Returns 409 when the filename would duplicate another filename under the same parent.
|
|
18
|
+
* Updates a single filename row for a downloaded-from-indexer entry owned by the currently authenticated user. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. Returns 409 when the filename would duplicate another filename under the same parent.
|
|
19
19
|
* @param body The request body
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {Promise<DownloadedFromIndexerResponse>}
|
|
@@ -35,7 +35,7 @@ export interface WithFilenameItemRequestBuilder extends BaseRequestBuilder<WithF
|
|
|
35
35
|
*/
|
|
36
36
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
37
|
/**
|
|
38
|
-
* Updates a single filename row for a downloaded-from-indexer entry owned by the currently authenticated user. Returns 409 when the filename would duplicate another filename under the same parent.
|
|
38
|
+
* Updates a single filename row for a downloaded-from-indexer entry owned by the currently authenticated user. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. Returns 409 when the filename would duplicate another filename under the same parent.
|
|
39
39
|
* @param body The request body
|
|
40
40
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
41
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface LookupRequestBuilder extends BaseRequestBuilder<LookupRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a flat list of active indexer filehash entries matching any supplied IDs, combined indexer source and indexer ID pairs, hashes, filenames, or file sizes. Requires API key authentication.
|
|
8
|
+
* Returns a flat list of active indexer filehash entries matching any supplied IDs, combined indexer source and indexer ID pairs, hashes, filenames, or file sizes. pHashes are matched for equality and must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure matches nothing. Requires API key authentication.
|
|
9
9
|
* @param body The request body
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<LookupIndexerFilehashesResponse>}
|
|
@@ -17,7 +17,7 @@ export interface LookupRequestBuilder extends BaseRequestBuilder<LookupRequestBu
|
|
|
17
17
|
*/
|
|
18
18
|
post(body: LookupIndexerFilehashesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LookupIndexerFilehashesResponse | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* Returns a flat list of active indexer filehash entries matching any supplied IDs, combined indexer source and indexer ID pairs, hashes, filenames, or file sizes. Requires API key authentication.
|
|
20
|
+
* Returns a flat list of active indexer filehash entries matching any supplied IDs, combined indexer source and indexer ID pairs, hashes, filenames, or file sizes. pHashes are matched for equality and must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure matches nothing. Requires API key authentication.
|
|
21
21
|
* @param body The request body
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {RequestInformation}
|
|
@@ -51,7 +51,7 @@ export interface ActorChangeActorDto extends AdditionalDataHolder, Parsable {
|
|
|
51
51
|
*/
|
|
52
52
|
birthday?: DateOnly | null;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Known values: ExactDate (1), MonthYear (2), Year (3).
|
|
55
55
|
*/
|
|
56
56
|
birthdayType?: number | null;
|
|
57
57
|
/**
|
|
@@ -269,7 +269,7 @@ export interface ActorDetailDto extends AdditionalDataHolder, Parsable {
|
|
|
269
269
|
*/
|
|
270
270
|
birthday?: DateOnly | null;
|
|
271
271
|
/**
|
|
272
|
-
*
|
|
272
|
+
* Known values: ExactDate (1), MonthYear (2), Year (3).
|
|
273
273
|
*/
|
|
274
274
|
birthdayType?: number | null;
|
|
275
275
|
/**
|
|
@@ -2149,11 +2149,11 @@ export interface FulfillWantedVideoItem extends AdditionalDataHolder, Parsable {
|
|
|
2149
2149
|
*/
|
|
2150
2150
|
fulfilledAtUtc?: Date | null;
|
|
2151
2151
|
/**
|
|
2152
|
-
*
|
|
2152
|
+
* Known values: P720 (0), P1080 (1), P2160 (2).
|
|
2153
2153
|
*/
|
|
2154
2154
|
fulfilledInQuality?: number | null;
|
|
2155
2155
|
/**
|
|
2156
|
-
*
|
|
2156
|
+
* Known values: Sabnzbd (0), Nzbget (1), Filesystem (2), Other (3), Ordeno (4).
|
|
2157
2157
|
*/
|
|
2158
2158
|
fulfillmentByApp?: number | null;
|
|
2159
2159
|
/**
|
|
@@ -2443,7 +2443,7 @@ export interface IdentifyVideoResultDto extends AdditionalDataHolder, Parsable {
|
|
|
2443
2443
|
*/
|
|
2444
2444
|
confidence?: number | null;
|
|
2445
2445
|
/**
|
|
2446
|
-
*
|
|
2446
|
+
* Known values: OsHash (0), PHash (1), Filename (2), ReleaseName (3), Site (4).
|
|
2447
2447
|
*/
|
|
2448
2448
|
matchedBy?: number | null;
|
|
2449
2449
|
/**
|
|
@@ -4088,11 +4088,11 @@ export interface UpdateWantedVideoRequest extends AdditionalDataHolder, Parsable
|
|
|
4088
4088
|
*/
|
|
4089
4089
|
fulfilledAtUtc?: Date | null;
|
|
4090
4090
|
/**
|
|
4091
|
-
*
|
|
4091
|
+
* Known values: P720 (0), P1080 (1), P2160 (2).
|
|
4092
4092
|
*/
|
|
4093
4093
|
fulfilledInQuality?: number | null;
|
|
4094
4094
|
/**
|
|
4095
|
-
*
|
|
4095
|
+
* Known values: Sabnzbd (0), Nzbget (1), Filesystem (2), Other (3), Ordeno (4).
|
|
4096
4096
|
*/
|
|
4097
4097
|
fulfillmentByApp?: number | null;
|
|
4098
4098
|
/**
|
|
@@ -4114,11 +4114,11 @@ export interface UpdateWantedVideoResponse extends AdditionalDataHolder, Parsabl
|
|
|
4114
4114
|
*/
|
|
4115
4115
|
fulfilledAtUtc?: Date | null;
|
|
4116
4116
|
/**
|
|
4117
|
-
*
|
|
4117
|
+
* Known values: P720 (0), P1080 (1), P2160 (2).
|
|
4118
4118
|
*/
|
|
4119
4119
|
fulfilledInQuality?: number | null;
|
|
4120
4120
|
/**
|
|
4121
|
-
*
|
|
4121
|
+
* Known values: Sabnzbd (0), Nzbget (1), Filesystem (2), Other (3), Ordeno (4).
|
|
4122
4122
|
*/
|
|
4123
4123
|
fulfillmentByApp?: number | null;
|
|
4124
4124
|
/**
|
|
@@ -4588,11 +4588,11 @@ export interface WantedVideoChangeWantedVideoDto extends AdditionalDataHolder, P
|
|
|
4588
4588
|
*/
|
|
4589
4589
|
fulfilledAtUtc?: Date | null;
|
|
4590
4590
|
/**
|
|
4591
|
-
*
|
|
4591
|
+
* Known values: P720 (0), P1080 (1), P2160 (2).
|
|
4592
4592
|
*/
|
|
4593
4593
|
fulfilledInQuality?: number | null;
|
|
4594
4594
|
/**
|
|
4595
|
-
*
|
|
4595
|
+
* Known values: Sabnzbd (0), Nzbget (1), Filesystem (2), Other (3), Ordeno (4).
|
|
4596
4596
|
*/
|
|
4597
4597
|
fulfillmentByApp?: number | null;
|
|
4598
4598
|
/**
|
|
@@ -4646,11 +4646,11 @@ export interface WantedVideoSummaryDto extends AdditionalDataHolder, Parsable {
|
|
|
4646
4646
|
*/
|
|
4647
4647
|
fulfilledAtUtc?: Date | null;
|
|
4648
4648
|
/**
|
|
4649
|
-
*
|
|
4649
|
+
* Known values: P720 (0), P1080 (1), P2160 (2).
|
|
4650
4650
|
*/
|
|
4651
4651
|
fulfilledInQuality?: number | null;
|
|
4652
4652
|
/**
|
|
4653
|
-
*
|
|
4653
|
+
* Known values: Sabnzbd (0), Nzbget (1), Filesystem (2), Other (3), Ordeno (4).
|
|
4654
4654
|
*/
|
|
4655
4655
|
fulfillmentByApp?: number | null;
|
|
4656
4656
|
/**
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface FilehashSubmissionsRequestBuilder extends BaseRequestBuilder<FilehashSubmissionsRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Submits up to 200 assignments of a file hash to a video, on behalf of the authenticated user. Intended for assignments a person confirmed in a client's UI — exactly the cases automatic detection missed. Each entry needs a videoId and an osHash; the osHash is the only aggregation key, so an entry carrying only a pHash cannot be used. The filename is optional and may be withheld; the endpoint works without it. Every entry gets its own outcome and the status stays 200: an unknown videoId is reported as videoNotFound, and an assignment that contradicts an existing one is stored as conflicted rather than overwriting it. Submissions are recorded in their own table. They appear in no read endpoint and change no lookup result; whether they ever enter the aggregated hash set is decided by the scraper's aggregation job, not here. Clients must make this strictly opt-in and off by default — that is a client-side obligation the API cannot enforce. Requires API key authentication.
|
|
8
|
+
* Submits up to 200 assignments of a file hash to a video, on behalf of the authenticated user. Intended for assignments a person confirmed in a client's UI — exactly the cases automatic detection missed. Each entry needs a videoId and an osHash; the osHash is the only aggregation key, so an entry carrying only a pHash cannot be used. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. The filename is optional and may be withheld; the endpoint works without it. Every entry gets its own outcome and the status stays 200: an unknown videoId is reported as videoNotFound, and an assignment that contradicts an existing one is stored as conflicted rather than overwriting it. Submissions are recorded in their own table. They appear in no read endpoint and change no lookup result; whether they ever enter the aggregated hash set is decided by the scraper's aggregation job, not here. Clients must make this strictly opt-in and off by default — that is a client-side obligation the API cannot enforce. Requires API key authentication.
|
|
9
9
|
* @param body The request body
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<SubmitVideoFilehashesResponse>}
|
|
@@ -17,7 +17,7 @@ export interface FilehashSubmissionsRequestBuilder extends BaseRequestBuilder<Fi
|
|
|
17
17
|
*/
|
|
18
18
|
post(body: SubmitVideoFilehashesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SubmitVideoFilehashesResponse | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* Submits up to 200 assignments of a file hash to a video, on behalf of the authenticated user. Intended for assignments a person confirmed in a client's UI — exactly the cases automatic detection missed. Each entry needs a videoId and an osHash; the osHash is the only aggregation key, so an entry carrying only a pHash cannot be used. The filename is optional and may be withheld; the endpoint works without it. Every entry gets its own outcome and the status stays 200: an unknown videoId is reported as videoNotFound, and an assignment that contradicts an existing one is stored as conflicted rather than overwriting it. Submissions are recorded in their own table. They appear in no read endpoint and change no lookup result; whether they ever enter the aggregated hash set is decided by the scraper's aggregation job, not here. Clients must make this strictly opt-in and off by default — that is a client-side obligation the API cannot enforce. Requires API key authentication.
|
|
20
|
+
* Submits up to 200 assignments of a file hash to a video, on behalf of the authenticated user. Intended for assignments a person confirmed in a client's UI — exactly the cases automatic detection missed. Each entry needs a videoId and an osHash; the osHash is the only aggregation key, so an entry carrying only a pHash cannot be used. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. The filename is optional and may be withheld; the endpoint works without it. Every entry gets its own outcome and the status stays 200: an unknown videoId is reported as videoNotFound, and an assignment that contradicts an existing one is stored as conflicted rather than overwriting it. Submissions are recorded in their own table. They appear in no read endpoint and change no lookup result; whether they ever enter the aggregated hash set is decided by the scraper's aggregation job, not here. Clients must make this strictly opt-in and off by default — that is a client-side obligation the API cannot enforce. Requires API key authentication.
|
|
21
21
|
* @param body The request body
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface LookupRequestBuilder extends BaseRequestBuilder<LookupRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a flat list of active filehash entries matching any supplied IDs, video IDs, hashes, filenames, or file sizes. Results can include unlinked rows whose videoId is null. Requires API key authentication.
|
|
8
|
+
* Returns a flat list of active filehash entries matching any supplied IDs, video IDs, hashes, filenames, or file sizes. Results can include unlinked rows whose videoId is null. pHashes are matched for equality and must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure matches nothing. Requires API key authentication.
|
|
9
9
|
* @param body The request body
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<LookupVideoFilehashesResponse>}
|
|
@@ -17,7 +17,7 @@ export interface LookupRequestBuilder extends BaseRequestBuilder<LookupRequestBu
|
|
|
17
17
|
*/
|
|
18
18
|
post(body: LookupVideoFilehashesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LookupVideoFilehashesResponse | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* Returns a flat list of active filehash entries matching any supplied IDs, video IDs, hashes, filenames, or file sizes. Results can include unlinked rows whose videoId is null. Requires API key authentication.
|
|
20
|
+
* Returns a flat list of active filehash entries matching any supplied IDs, video IDs, hashes, filenames, or file sizes. Results can include unlinked rows whose videoId is null. pHashes are matched for equality and must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure matches nothing. Requires API key authentication.
|
|
21
21
|
* @param body The request body
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface IdentifyRequestBuilder extends BaseRequestBuilder<IdentifyRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Identifies up to 200 local files in one request and returns one result per file, mapped back by the client-assigned ref and in input order. Each file walks an identification ladder and the first rung that matches wins: OS hash, then perceptual hash (compared for equality), then a stored file name, then the file name without its extension as a scene release title, and finally the site read out of the file name. matchedBy names the rung and confidence says how far the result can be trusted, so a client can decide which files it may file automatically and which it must show to a person. When a rung matches several videos equally well, the server does not guess: videoId is null, confidence is ambiguous and every candidate is listed. A file that matches nothing is a result with confidence none, not an error. Set includeVideoDetails to receive the full video document per matched file; it is off by default because 200 full documents is a large response. The whole request counts as one request against the rate limit. Nothing sent to this endpoint is stored. Requires API key authentication.
|
|
8
|
+
* Identifies up to 200 local files in one request and returns one result per file, mapped back by the client-assigned ref and in input order. Each file walks an identification ladder and the first rung that matches wins: OS hash, then perceptual hash (compared for equality), then a stored file name, then the file name without its extension as a scene release title, and finally the site read out of the file name. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure skips that rung silently rather than failing, so send none if in doubt. matchedBy names the rung and confidence says how far the result can be trusted, so a client can decide which files it may file automatically and which it must show to a person. When a rung matches several videos equally well, the server does not guess: videoId is null, confidence is ambiguous and every candidate is listed. A file that matches nothing is a result with confidence none, not an error. Set includeVideoDetails to receive the full video document per matched file; it is off by default because 200 full documents is a large response. The whole request counts as one request against the rate limit. Nothing sent to this endpoint is stored. Requires API key authentication.
|
|
9
9
|
* @param body The request body
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<IdentifyVideosResponse>}
|
|
@@ -17,7 +17,7 @@ export interface IdentifyRequestBuilder extends BaseRequestBuilder<IdentifyReque
|
|
|
17
17
|
*/
|
|
18
18
|
post(body: IdentifyVideosRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IdentifyVideosResponse | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* Identifies up to 200 local files in one request and returns one result per file, mapped back by the client-assigned ref and in input order. Each file walks an identification ladder and the first rung that matches wins: OS hash, then perceptual hash (compared for equality), then a stored file name, then the file name without its extension as a scene release title, and finally the site read out of the file name. matchedBy names the rung and confidence says how far the result can be trusted, so a client can decide which files it may file automatically and which it must show to a person. When a rung matches several videos equally well, the server does not guess: videoId is null, confidence is ambiguous and every candidate is listed. A file that matches nothing is a result with confidence none, not an error. Set includeVideoDetails to receive the full video document per matched file; it is off by default because 200 full documents is a large response. The whole request counts as one request against the rate limit. Nothing sent to this endpoint is stored. Requires API key authentication.
|
|
20
|
+
* Identifies up to 200 local files in one request and returns one result per file, mapped back by the client-assigned ref and in input order. Each file walks an identification ladder and the first rung that matches wins: OS hash, then perceptual hash (compared for equality), then a stored file name, then the file name without its extension as a scene release title, and finally the site read out of the file name. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure skips that rung silently rather than failing, so send none if in doubt. matchedBy names the rung and confidence says how far the result can be trusted, so a client can decide which files it may file automatically and which it must show to a person. When a rung matches several videos equally well, the server does not guess: videoId is null, confidence is ambiguous and every candidate is listed. A file that matches nothing is a result with confidence none, not an error. Set includeVideoDetails to receive the full video document per matched file; it is off by default because 200 full documents is a large response. The whole request counts as one request against the rate limit. Nothing sent to this endpoint is stored. Requires API key authentication.
|
|
21
21
|
* @param body The request body
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {RequestInformation}
|