I want to create a sister app at some point that will post topics on to the forum via an API user account - is there any info available on rate limits for this? Can we ‘trust’ certain accounts so that rate limits do not apply?
As far as I know, using an API key (generated in the admin interface) bypasses rate limits that are checked within the rails stack, e.g. limits on the number of posts.
It will not bypass the general limit on the number of requests per second enforced by nginx, but most likely, that won’t be a problem 
You can explicitly bypass validations if you are using the API and API key, the limits in general will hold though.
I’m not too bothered by validations Sam, but by-passing rate limits for specific accounts could be helpful.
Does the response include the specific error code if rate limits have been by-passed? That could be helpful if there’s no chance of including an option to by-pass…
I kind of worry about answering questions about problems that do not exist 
If you hit the limits let me know and let me know what errors you are getting
I did actually hit the limit previously - we currently have 6 monthly giveaways and every night a cron runs to check whether there is a ‘bonus day’, if there is, it posts an update on the forum. What I was finding was the crons running later weren’t posting. However I’ve since changed the cron jobs to run a minute after each other. (This is fine for this situation.)
I’ll keep you posted re the other app (which will be posting via the API much more frequently) though I don’t expect this to go live for a few months yet.
We use discourse via API from a Rails server. Which means all the traffic coming from one IP. We have enough traffic that it hits the rate limiter. I second the need for an API exception to this rate limit.
今日は @sam さんがコメントするのに良さそうな話題ですね。セルフホスト利用者には制限がありますか?私たちにも制限はありますか?状況が変わった今、これをどう捉えるべきでしょうか…
現在、API には明示的なグローバル制限が設定されていますが、場合によっては制限が連鎖することがあります。
特定のコントローラーでは、N 秒あたりに作成できるトピックの最大数などの制限が導入されています。
単純な GET リクエストであれば、API のレート制限を大幅に引き上げ、Discourse からの制限に抵触しないように設定することも可能です。ただし、NGINX 側には引き続き調整が必要な制限が存在します。
API キーを使って新しいトピックや投稿を作成したいアカウントには、どのような影響がありますか、Sam さん?
どこでその設定を行えばよいのでしょうか、Sam さん?
また、現在、discourse_api gem を使用してフォーラムから大量のデータを取得するポータルを作成しようと考えています。ここでレート制限に抵触する可能性はありますか?「安全」とマークしたアカウントについては、いかなるレート制限も回避できるようにできればと考えています。
当社のレート制限については、こちらをお読みいただくことをお勧めします:
その他の制限に関するドキュメントは、メタサイトに散在しているはずです。
サム、ありがとう。今後の参考のため(そして将来これを探している他の人のためにも)、完全な詳細を以下に記します:
プライベート IP に関する質問がありますが、メインのトピックに投稿します。このトピックは、より新しいあのトピックがあるので、おそらくここで閉じることができます。
投稿が新しいトピックに分割されました:トピック/投稿の作成にAPIを使用する際に、どの検証をどのようにバイパスできるか