New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cmsn_store

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmsn_store

image process and store

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

cmsn-store

api 문서 양식 https://github.com/jamescooke/restapidocs/tree/master/examples

API

URL : /api/v1/thumbs

Description : 링크를 읽어들여 썸네일을 저장하고, 저장된 썸네일 이미지에 대한 링크를 반환한다.

Method : POST

Auth required : NO

Data constraints

{
    "url": "[url to make thumb image]",
}

Data example

{
	"url": "https://pbs.twimg.com/media/FdaM1OxaEAYW91U?format=jpg&name=medium"
}

Success Response

Code : 200 OK

Content example

{
    "location": "https://storage.googleapis.com/cm-sn.art/2022-09-25T11%3A07%3A33-FdaM1OxaEAYW91U.webp"
}

Error Response

Condition : If url is empty

Code : 400 BAD REQUEST

{
    "message": "[error message]"
}

Condition : server error

Code : 500

{
    "message": "Server Error",
    "error": "[error object]"
}

FAQs

Package last updated on 03 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts