Skip to main content

CreateShortUrlInput

A new short link.

input CreateShortUrlInput {
customAlias: String
description: String
expiresAt: DateTime
originalUrl: String!
tags: [String!]
title: String
}

Fields​

CreateShortUrlInput.customAlias ● String scalar​

A custom short code to use instead of a generated one.

CreateShortUrlInput.description ● String scalar​

What the link is for.

CreateShortUrlInput.expiresAt ● DateTime scalar​

When the link stops working.

CreateShortUrlInput.originalUrl ● String! non-null scalar​

The address the short link leads to.

CreateShortUrlInput.tags ● [String!] list scalar​

Tags on the link.

CreateShortUrlInput.title ● String scalar​

A title for the link.

Member Of​

createShortUrl mutation