Mise à jour des champs SEO à l'aide de l'API Dorik
Ce point final vous aidera à mettre à jour les champs de référencement.
'X-Dorik-Key' string
Insert your dorik 'key'
Example: 0949322f8dee137ea4590
Structure
Format JSON
Required JSON properties:
Les champs SEO peuvent être mis à jour avec l'API Dorik :
Generating Public API Keys
Public API
PUT https://api.cmsfly.com/api/v1/collections/{collectionId}/items/{itemId}
Demande
Paramètres du chemin d'accès
collectionId string required
Insert your collectionId
Example: 64042d70a6ac3c00296c9ab4
itemId string required
Insert your itemId
Example: 6406d6a292fb5206b3c4a8c1e
En-têtes
'X-Dorik-Key' string
Insert your dorik 'key'
Example: 0949322f8dee137ea4590
Corps
Structure
Format JSON
{
"name": "example name",
"slug": "example-name-list",
"htmlContent": "this is a collection item content",
"publish": true,
"shortdescription": "shortdescription is required",
"Image": "Image is required",
"AuthorName": "AuthorName is required",
"Category": "Category is required",
"Rating": "Rating is required",
"status": "PUBLISHED",
"meta": {
"opengraph": {},
"twitter": {
"card": "summary_large_image"
},
"keywords": [
"set",
"seokeyword1",
"seokeyword2",
"new try"
],
"title": "seo-title-texts",
"description": "seo-description-texts"
}
}
Required JSON properties:
Short description
Image is required
Author name
Category
Rating
Les champs SEO peuvent être mis à jour avec l'API Dorik :
Title
Description
Keywords
Réponses
Articles connexes
Generating Public API Keys
Public API
Mis à jour le : 17/10/2023
Merci !