Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TypoScript-Backend
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TYPO3
TypoScript-Backend
Commits
0fb8f6fd
Commit
0fb8f6fd
authored
9 years ago
by
damjan
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Readme update after table split
parent
3a0dc64c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-14
19 additions, 14 deletions
README.md
with
19 additions
and
14 deletions
README.md
+
19
−
14
View file @
0fb8f6fd
...
...
@@ -96,21 +96,26 @@ Execute mySql INSERT command. Example of adding new category named "Functions":
#### See list of all REST API routs
php app/console
route:debug
| grep api
php app/console
debug:router
| grep api
This should print something like this:
api_get_attribute GET ANY ANY /api/attributes/{id}.{_format}
api_get_type GET ANY ANY /api/types/{urlName}.{_format}
api_get_attribute_children GET ANY ANY /api/attributes/{id}/children.{_format}
api_get_attribute_properties GET ANY ANY /api/attributes/{id}/properties.{_format}
api_get_attributes GET ANY ANY /api/attributes.{_format}
api_post_attribute POST ANY ANY /api/attributes.{_format}
api_put_attribute PUT ANY ANY /api/attributes/{id}.{_format}
api_delete_attribute DELETE ANY ANY /api/attributes/{id}.{_format}
api_patch_attribute PATCH ANY ANY /api/attributes/{id}.{_format}
api_get_tsref GET ANY ANY /api/tsref.{_format}
api_get_categories GET ANY ANY /api/categories.{_format}
api_get_type GET ANY ANY /api/types/{id}.{_format}
api_get_type_byurlname GET ANY ANY /api/types/{urlName}/byurlname.{_format}
api_get_types GET ANY ANY /api/types.{_format}
api_post_type POST ANY ANY /api/types.{_format}
api_put_type PUT ANY ANY /api/types/{id}.{_format}
api_delete_type DELETE ANY ANY /api/types/{id}.{_format}
api_patch_type PATCH ANY ANY /api/types/{id}.{_format}
api_get_property GET ANY ANY /api/properties/{id}.{_format}
api_get_properties_byparenttype GET ANY ANY /api/properties/{id}/byparenttype.{_format}
api_get_properties GET ANY ANY /api/properties.{_format}
api_post_property POST ANY ANY /api/properties.{_format}
api_put_property PUT ANY ANY /api/properties/{id}.{_format}
api_delete_property DELETE ANY ANY /api/properties/{id}.{_format}
api_patch_property PATCH ANY ANY /api/properties/{id}.{_format}
api_get_tsref GET ANY ANY /api/tsref.{_format}
api_get_categories GET ANY ANY /api/categories.{_format}
#### Test with Postman
...
...
@@ -121,11 +126,11 @@ For testing with Postman, you need to have a server running:
Example of full REST API address on localhost:
http://127.0.0.1:8000/api/
attribut
es/1
http://127.0.0.1:8000/api/
typ
es/1
For post/put/patch methods use data examples from AttributeControllerTest. Example:
{"name":"testName","description":"Testing POST.","minVersion":"6.0","typo3Group":2,"
isType":false,"
deleted":false}
{"name":"testName","description":"Testing POST.","minVersion":"6.0","typo3Group":2,"deleted":false}
#### Run phpUnit tests
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment