Méthodologie pour publier en masse avec l'API - notes

Notes on batch posting using the API

env:
  LC_ALL: en_US.UTF-8
  LANG: en_US.UTF-8
  LANGUAGE: en_US.UTF-8
  # Maximum number of API requests per user per minute
  # DISCOURSE_MAX_USER_API_REQS_PER_MINUTE: 10000
  # Maximum number of API requests per user per day
  # DISCOURSE_MAX_USER_API_REQS_PER_DAY: 10000
  # Based on the number of requests an administrator can make with their API key per minute.
  DISCOURSE_MAX_ADMIN_API_REQS_PER_KEY_PER_MINUTE: 10000
  # Rate limiting based on IP address, limiting the number of requests from a specific IP address within 10 seconds
  DISCOURSE_IP_10_SECS_LIMIT: 1000
params:

# Set the maximum number of requests allowed per second
reqs_per_second: 12

# Set the maximum number of burst requests allowed per second
burst_per_second: 12

# Set the maximum number of requests allowed per minute
reqs_per_minute: 200

# Set the maximum number of burst requests allowed per minute
burst_per_minute: 100

In the settings, you need to enable “Allow symbols in titles” or some titles with characters will cause an error.

Allow all caps in a topic title or a post body

1 « J'aime »

Impressionnant, quel grand maître osez-vous demander ?

Cet outil de publication en masse par API est-il facile à partager ? Je suis prêt à payer.