Difference between revisions of "Sketch"
(→API) |
(→API) |
||
Line 29: | Line 29: | ||
== API == | == API == | ||
The following endpoints can be used to list sketches: | The following endpoints can be used to list sketches, and powers the explore view: | ||
* https://sketch.sonymobile.com/api/1/feed/newcomer/list/default/ | |||
* https://sketch.sonymobile.com/api/1/feed/featured/list/default/ | * https://sketch.sonymobile.com/api/1/feed/featured/list/default/ | ||
* https://sketch.sonymobile.com/api/1/feed/trending/list/default/ | * https://sketch.sonymobile.com/api/1/feed/trending/list/default/ | ||
Line 40: | Line 40: | ||
* https://sketch.sonymobile.com/api/1/feed/global/list/default/api%2Ffeeds%2Fglobal%3Fn%3D180817470%26l%3D150 (https://sketch.sonymobile.com/api/1/feed/global/list/default/api/feeds/global?n=180817470&l=150) | * https://sketch.sonymobile.com/api/1/feed/global/list/default/api%2Ffeeds%2Fglobal%3Fn%3D180817470%26l%3D150 (https://sketch.sonymobile.com/api/1/feed/global/list/default/api/feeds/global?n=180817470&l=150) | ||
Other | Other APIs | ||
* User search (limited to 50 results, no pagination): https://sketch.sonymobile.com/api/1/search/artist/<term> | * User search (limited to 50 results, no pagination): https://sketch.sonymobile.com/api/1/search/artist/<term> | ||
* Tag search: https://sketch.sonymobile.com/api/1/search/tag/<term> | * Tag search: https://sketch.sonymobile.com/api/1/search/tag/<term> | ||
Line 48: | Line 48: | ||
* Artist’s pictures: https://sketch.sonymobile.com/api/1/feed/artist/92b9afe4-3d4c-48d0-839d-a9fedba8a38a | * Artist’s pictures: https://sketch.sonymobile.com/api/1/feed/artist/92b9afe4-3d4c-48d0-839d-a9fedba8a38a | ||
* Comments: https://sketch.sonymobile.com/api/1/comments/sketch/92b9afe4-3d4c-48d0-839d-a9fedba8a38a/be39ea26-ebf6-4dfb-84d5-d9e122d3191e | * Comments: https://sketch.sonymobile.com/api/1/comments/sketch/92b9afe4-3d4c-48d0-839d-a9fedba8a38a/be39ea26-ebf6-4dfb-84d5-d9e122d3191e | ||
Additional APIs are needed for the mobile app to function but have not yet been located. | Additional APIs are needed for the mobile app to function but have not yet been located. | ||
Revision as of 05:53, 3 May 2019
Sketch | |
Explore Sketch | |
URL | https://sketch.sonymobile.com |
Status | Closing |
Archiving status | Unknown |
Archiving type | Unknown |
IRC channel | #SketchedOut (on hackint) |
Sketch is a image drawing and editing app for smart phones made by Sony. The online parts of Sketch will be discontinued on 2019-09-30[1]
Browser URLs
- https://sketch.sonymobile.com/explore/featured
- https://sketch.sonymobile.com/explore/popular
- https://sketch.sonymobile.com/explore/trending
- https://sketch.sonymobile.com/explore/world
- Image page: https://sketch.sonymobile.com/feed/afc754ed-06e0-4b8e-87dd-38501c30a602
- Tag page: https://sketch.sonymobile.com/tag/cat
- Image Page from Tag Page: https://sketch.sonymobile.com/tag/cat/sketch/a382b267-1e7c-44da-a344-cf8f0c8cbd94
Images
- Single image file, redirects to temporary S3 URL: https://storage.sketch.sonymobile.com/feed/6362d4d6-b91a-4603-8062-d59f3629e11d/image
- Avatar https://sketch-cloud-storage.s3.amazonaws.com/public_images/46a427b2-3375-4eeb-a046-8e545a652ff7_s
- Thumbnail
https://sketch-cloud-storage.s3.amazonaws.com/23135ca9-16a7-424c-a376-93004cd05782/40517d90-48a0-4be8-a3e1-f049437d5d62_s?AWSAccessKeyId=AKIAIVK24H6RLSWCC7OA&Signature=Mz1nTU887qV2COZNWsIpRSaC4fw%3D&Expires=1556691065 (expires 1 hour after being generated)
API
The following endpoints can be used to list sketches, and powers the explore view:
- https://sketch.sonymobile.com/api/1/feed/newcomer/list/default/
- https://sketch.sonymobile.com/api/1/feed/featured/list/default/
- https://sketch.sonymobile.com/api/1/feed/trending/list/default/
- https://sketch.sonymobile.com/api/1/feed/popular/list/default/
- https://sketch.sonymobile.com/api/1/feed/global/list/default/
The last one seems to list all (23 million) available sketches. Example usage:
- https://sketch.sonymobile.com/api/1/feed/global/list/default/api%2Ffeeds%2Fglobal%3Fn%3D180817470%26l%3D150 (https://sketch.sonymobile.com/api/1/feed/global/list/default/api/feeds/global?n=180817470&l=150)
Other APIs
- User search (limited to 50 results, no pagination): https://sketch.sonymobile.com/api/1/search/artist/<term>
- Tag search: https://sketch.sonymobile.com/api/1/search/tag/<term>
- Tags: https://sketch.sonymobile.com/api/1/feed/hashtag/cat/list/
- Single sketch: https://sketch.sonymobile.com/api/1/sharedsketch/be39ea26-ebf6-4dfb-84d5-d9e122d3191e
- Artist (can include multiple uuids, separated by ,): https://sketch.sonymobile.com/api/1/artist/d51e31f9-6aa1-474b-9e0e-3357e9bc2b9c
- Artist’s pictures: https://sketch.sonymobile.com/api/1/feed/artist/92b9afe4-3d4c-48d0-839d-a9fedba8a38a
- Comments: https://sketch.sonymobile.com/api/1/comments/sketch/92b9afe4-3d4c-48d0-839d-a9fedba8a38a/be39ea26-ebf6-4dfb-84d5-d9e122d3191e
Additional APIs are needed for the mobile app to function but have not yet been located.
AWS S3 Expiration issue
Almost all the images live in AWS S3. Many of these URI tokens expire 1 hour after being generated. Where this is particularly problematic is the thumbnail URLs. Any webpage that contains a thumbnail image, those images need to be grabbed in the next hour or will be missing.