/api/v1/accountsに飛んでくるのはアカウント作成APIだけ?
/api/v1/accountsのパス完全一致でnginxで403返すように設定したら無効化出来たりするのかな
/api/v1/accountsに飛んでくるのはアカウント作成APIだけ?
/api/v1/accountsのパス完全一致でnginxで403返すように設定したら無効化出来たりするのかな
@Bal_Ballard いいえ。
閉じると割とつらい気がします… https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#accounts
@Bal_Ballard なので私の提案としてはこれかなーと。 https://github.com/mayaeh/mastodon/commit/1ee2977303b77fbfad98ec8d0eb6b9f83beb543f
@mayaeh アカウント作成以外は/api/v1/accountsの後ろに:idやらsearchやら必要だから完全一致なら弾いても大丈夫なのかなぁと思ったけどまぁソースいじる方が確実よね
@Bal_Ballard あーそっか、そうですね!
できるかもですね
senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.