Mutations
Mutations modify server-side data. Use them to create, update, or delete records. Each mutation returns the affected data so you can read the result in the same request. Learn more
pingPlaying a game or just testing?
This mutation always returns the string "pong" in it's response field.
preferenceResetReset a preference to it's default value.
preferenceSetSet a preference value.
unshortenUrlUnshorten any shortened URL. Follows all redirects and reports the final URL.
linkCreateCreate a Tny link.
If this mutation is called multiple times with the same URL you will get the previously created short URL back.
Inputs like the slug and comment will be ignored when a previously generated short URL is returned.
linkDestroyByIdDestroy a Tny link by it's ID.
linkDestroyBySlugDestroy a Tny link by it's slug.
linkSetCustomSocialMediaCardSet a custom social media card for a tny link.
linkRemoveCustomSocialMediaCardRemove the custom social media card for a tny link.