entities

Accept a suggestion as a competitor

Creates the competitor entity exactly as POST /brands/{brandId}/entities would — the same exact-alias rule, the same context_terms_required refusal for short or common-word names — and marks the suggestion accepted. The name defaults to the suggested name; the domain defaults to the one the answers linked, when they did.

post/suggestions/{suggestionId}/accept

Request

  • Base URL: https://shruwd.io/api/v1
  • URL: https://shruwd.io/api/v1/suggestions/{suggestionId}/accept
  • Auth: HTTP bearer

Request body

namestring

Defaults to the suggested name.

domainsstring[]

Hosts or URLs; reduced to registrable domains. A citation of one of them counts for this entity.

exclusionsstring[]

Literal phrases that contain an alias but are not the entity ("arc welding" for "Arc").

contextTermsstring[]

When non-empty, a mention counts only if one of these appears nearby. Required for short or common-word names. The entity's domains are added to them.

Response

Accepted; the competitor exists.

Changes

No recorded changes to this operation across all 1 revision of this API.