Filestack\FilestackConfig
Filestack config constants, such as base URLs
Synopsis
- // constants
- const API_URL = 'https://www.filestackapi.com/api';
- const PROCESS_URL = 'https://process.filestackapi.com';
- const CDN_URL = 'https://cdn.filestackcontent.com';
- const UPLOAD_URL = 'https://upload.filestackapi.com';
- const CNAME_NEEDLE = '__CNAME__';
- const CNAME_TEMPLATE = ;
- const UPLOAD_PART_SIZE = 1024 * 1024 * ;
- const UPLOAD_CHUNK_SIZE = 1024 * 1024 * ;
- const UPLOAD_MIN_CHUNK_SIZE = 1024 * 3;
- const UPLOAD_WAIT_ATTEMPTS = 300;
- const UPLOAD_WAIT_SECONDS = 2;
- const UPLOAD_TIMEOUT_SECONDS = 30;
- const MAX_RETRIES = 5;
Constants
Name | Value |
---|---|
API_URL | 'https://www.filestackapi.com/api' |
PROCESS_URL | 'https://process.filestackapi.com' |
CDN_URL | 'https://cdn.filestackcontent.com' |
UPLOAD_URL | 'https://upload.filestackapi.com' |
CNAME_NEEDLE | '__CNAME__' |
CNAME_TEMPLATE | |
UPLOAD_PART_SIZE | 1024 * 1024 * |
UPLOAD_CHUNK_SIZE | 1024 * 1024 * |
UPLOAD_MIN_CHUNK_SIZE | 1024 * 3 |
UPLOAD_WAIT_ATTEMPTS | 300 |
UPLOAD_WAIT_SECONDS | 2 |
UPLOAD_TIMEOUT_SECONDS | 30 |
MAX_RETRIES | 5 |
History
-
2019-06-13T19:33:41+00:00 (commit #8d9b375)
Author: Colin Sheaff (colin-sheaff@northwestern.edu) / Commiter: Colin Sheaff (colin-sheaff@northwestern.edu)
Refactor custom CNAME URL function to improve testing coverage.
-
2017-08-09T01:13:18+00:00 (commit #b2e4007)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
partnum in etag bug fixed
-
2017-08-06T19:50:58+00:00 (commit #a854fee)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
error handling strategy for intelligent flow
-
2017-07-31T20:16:42+00:00 (commit #68bcf40)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
UploadProcessor 100% coverage passing tests
-
2017-07-28T19:46:31+00:00 (commit #1e77dd6)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added UploadProcessor with intelligent ingestion logic
-
2017-05-26T15:52:48+00:00 (commit #1273bba)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added getConvertTaskInfo function to client and filelink objects
-
2017-05-24T21:58:41+00:00 (commit #3525898)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
use async requests and concurrent calls for multipart uploads
-
2017-05-22T22:55:04+00:00 (commit #915421e)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
implemented multiparts upload
-
2017-05-18T21:54:39+00:00 (commit #74f4ec3)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
switched to use phpmd for codeclimate
-
2017-05-18T21:25:18+00:00 (commit #39bb65b)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
setup codeclimate
-
2017-05-15T21:12:54+00:00 (commit #2fea6a0)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added convertAudio() and convertVideo() to client and filelink objects
-
2017-05-15T18:56:10+00:00 (commit #4be442d)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added convertFile() functionality to client and filelink
-
2017-05-12T00:42:34+00:00 (commit #373ee05)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added debug() call for transformations
-
2017-05-11T21:27:19+00:00 (commit #ca5159d)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added collage() function to client and filelink. Modified transform calls to return filelink object instead of content. changed store() to save() on filelink calls.
-
2017-05-10T22:19:18+00:00 (commit #b389934)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added screenshot() function
-
2017-05-10T21:17:45+00:00 (commit #515bb43)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
got rid of PROCESSING_URL and updated all occurrences to use CDN_URL
-
2017-05-10T20:24:40+00:00 (commit #5c8f779)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added zip and compress functionalities
-
2017-05-10T18:52:15+00:00 (commit #367f859)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added tests for transformation functions
-
2017-05-09T23:11:20+00:00 (commit #73a63c6)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
separated out transformation tasks into individual functions instead of catchall
-
2017-05-08T22:30:51+00:00 (commit #a96f32d)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added Transformations chaining and catchal to Filelink obj added transform func to client for external urls
-
2017-05-05T17:39:21+00:00 (commit #942180a)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
moved security to constructor and removed as parameters for client and filelink
-
2017-05-05T14:08:10+00:00 (commit #4b837ac)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
preliminary design of mixin
-
2017-05-04T20:33:57+00:00 (commit #2b25400)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
installed and ran php-cs-fixer. updated examples, added real tests but marked as skipped
-
2017-05-04T18:20:21+00:00 (commit #fb1b6fd)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added overwrite method to client and filelink
-
2017-05-04T17:16:49+00:00 (commit #809b3d4)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added delete function to filelink and client
-
2017-05-04T16:22:33+00:00 (commit #e5e1cad)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added security class
-
2017-05-02T22:26:18+00:00 (commit #00533b7)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added User-Agent header to http request
-
2017-05-02T21:50:52+00:00 (commit #bf2ef12)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added options to store function. added store functio to Filelink
-
2017-05-02T17:11:33+00:00 (commit #5b565df)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
added empty line at end of files. removed test method in filepickerclient
-
2017-05-01T01:21:36+00:00 (commit #8a961cd)
Author: Huey Ly (huey@webmail.us) / Commiter: Huey Ly (huey@webmail.us)
setting up project file structure