m3o
このサービスの無料枠は廃止されました @ 2022/04/10
As per our previous announcements related to quotas, usage caps and subscriptions, we're working towards building a service that's going to be sustainable in the long run. Part of that is now assessing the scope of the Free tier. As much as we would love to continue providing M3O as a free service, it's really clear what we unfortunately can't.
So from next week the M3O Free tier will move to a 7 day Free trial. What does this mean for existing users? You'll get a 7 day grace period to either top-up your account with a minimum balance of £5 or upgrade to our Solo or Pro tiers. API calls will return a blocked status if neither has been done after 7 days.
謎API集
追記: 有料プランができて、無料プランは枠として結構厳しい?呼び出し上限がついた
https://gyazo.com/9b9d2840bd80e0beea4bbd057ea040ce
https://gyazo.com/853b700aa0e0eb47c53cfeb03aada0d9
なぜか自分のプランは90000になってた
画像アップロード
現時点で一覧と削除の方法がないので、nameを覚えておく必要がある
ペイロードにurlとbase64の2つがあってあんまり説明が丁寧じゃないが、パラメータは以下の仕様っぽい
name
画像名
https://cdn.m3ocontent.com/micro/images/micro/<User UUID>/<name> のような形で閲覧可能になる
/も使用可能。普通にパスが切られたようなURLでアクセスができるようになる
url
アップロードする画像のURL。これを指定時はbase64は指定しない
末尾が.<ext>で終わっている必要があり、https://pbs.twimg.com/media/E_Zb-v5VQAY4ull?format=jpg&name=largeのような指定をするとエラーを返す
base64
アップロードする画像のbase64。これを指定時はurlは指定しない
data:image/png;base64,<Base64 encoded png>
でかすぎるとaxiosがpayload too longで死ぬ