mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Documented crawlable prop in API specs
This commit is contained in:
parent
7280b48cdc
commit
2e6b3c0561
@ -116,6 +116,15 @@
|
|||||||
"domain": {
|
"domain": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The domain in which the short URL was created. Null if it belongs to default domain."
|
"description": "The domain in which the short URL was created. Null if it belongs to default domain."
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"type": "string",
|
||||||
|
"nullable": true,
|
||||||
|
"description": "A descriptive title of the short URL."
|
||||||
|
},
|
||||||
|
"crawlable": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Tells if this URL will be included as 'Allow' in Shlink's robots.txt."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"example": {
|
"example": {
|
||||||
@ -133,7 +142,9 @@
|
|||||||
"validUntil": null,
|
"validUntil": null,
|
||||||
"maxVisits": 100
|
"maxVisits": 100
|
||||||
},
|
},
|
||||||
"domain": "example.com"
|
"domain": "example.com",
|
||||||
|
"title": "The title",
|
||||||
|
"crawlable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ShortUrlMeta": {
|
"ShortUrlMeta": {
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"nullable": true,
|
"nullable": true,
|
||||||
"description": "A descriptive title of the short URL."
|
"description": "A descriptive title of the short URL."
|
||||||
|
},
|
||||||
|
"crawlable": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Tells if this URL will be included as 'Allow' in Shlink's robots.txt."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -140,7 +140,8 @@
|
|||||||
"maxVisits": 100
|
"maxVisits": 100
|
||||||
},
|
},
|
||||||
"domain": null,
|
"domain": null,
|
||||||
"title": "Welcome to Steam"
|
"title": "Welcome to Steam",
|
||||||
|
"crawlable": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"shortCode": "12Kb3",
|
"shortCode": "12Kb3",
|
||||||
@ -157,7 +158,8 @@
|
|||||||
"maxVisits": null
|
"maxVisits": null
|
||||||
},
|
},
|
||||||
"domain": null,
|
"domain": null,
|
||||||
"title": null
|
"title": null,
|
||||||
|
"crawlable": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"shortCode": "123bA",
|
"shortCode": "123bA",
|
||||||
@ -172,7 +174,8 @@
|
|||||||
"maxVisits": null
|
"maxVisits": null
|
||||||
},
|
},
|
||||||
"domain": "example.com",
|
"domain": "example.com",
|
||||||
"title": null
|
"title": null,
|
||||||
|
"crawlable": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"pagination": {
|
"pagination": {
|
||||||
@ -305,7 +308,9 @@
|
|||||||
"validUntil": null,
|
"validUntil": null,
|
||||||
"maxVisits": 500
|
"maxVisits": 500
|
||||||
},
|
},
|
||||||
"domain": null
|
"domain": null,
|
||||||
|
"title": null,
|
||||||
|
"crawlable": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -74,7 +74,8 @@
|
|||||||
"maxVisits": 100
|
"maxVisits": 100
|
||||||
},
|
},
|
||||||
"domain": null,
|
"domain": null,
|
||||||
"title": null
|
"title": null,
|
||||||
|
"crawlable": false
|
||||||
},
|
},
|
||||||
"text/plain": "https://doma.in/abc123"
|
"text/plain": "https://doma.in/abc123"
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,8 @@
|
|||||||
"maxVisits": 100
|
"maxVisits": 100
|
||||||
},
|
},
|
||||||
"domain": null,
|
"domain": null,
|
||||||
"title": null
|
"title": null,
|
||||||
|
"crawlable": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -184,7 +185,8 @@
|
|||||||
"maxVisits": 100
|
"maxVisits": 100
|
||||||
},
|
},
|
||||||
"domain": null,
|
"domain": null,
|
||||||
"title": "Shlink - The URL shortener"
|
"title": "Shlink - The URL shortener",
|
||||||
|
"crawlable": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user