Skip to content

Commit

Permalink
Update graphql-api-updated.md (#2269)
Browse files Browse the repository at this point in the history
the v4 mutations are called upload and multipleUpload
  • Loading branch information
laurenskling authored Oct 22, 2024
1 parent d64abcf commit 2452e9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ In Strapi 5, the GraphQL API has been updated. It handles the new, flattened res

| Topic | Description of the changes |
|------------------------------|-----------------------------------------------------------------------------------------------------|
| File upload support | <ul><li>Removed `uploadFile` `uploadFiles` mutations</li><li>Removed `updateFileInfo` mutation in favor of using the `updateUploadFile` mutation</li><li>Removed `removeFile` mutation in favor of using the `deleteUploadFile` mutation</li><li>Removed `folder` queries & mutations</li><li>Removed `createUploadFile` mutation</li></ul> |
| File upload support | <ul><li>Removed `upload` `multipleUpload` mutations</li><li>Removed `updateFileInfo` mutation in favor of using the `updateUploadFile` mutation</li><li>Removed `removeFile` mutation in favor of using the `deleteUploadFile` mutation</li><li>Removed `folder` queries & mutations</li><li>Removed `createUploadFile` mutation</li></ul> |
| Internationalization support | Removed the `createXXLocalization` mutations in favor of being able to update any locale from the main `updateXXX` mutation |
| Draft & Publish support | Removed `publicationState` in favor of `status` to align with the new Draft & Publish behavior |
| Schema changes | <ul><li>Simplified the basic queries with no `meta`/`pagination`</li><li>Introduced `Connection` to add pagination</li></ul> |
Expand Down

0 comments on commit 2452e9c

Please sign in to comment.