Next: Indices and tables, Previous: API documentation, Up: Top [Contents][Index]
Rest Server external symbols documentation
Implement an resource operation case
Example: (with-api test-api
- (define-resource-operation get-user :get (:url-prefix “users/{id}”)
‘((:id :integer))))
Execute the client resource operation calling backend
Define an resource operation implementation
Start a web documentation application on the given api.
Find api by name
Make an resource operation.
Configure or reconfigure an already existent resource operation implementation
Configure or reconfigure an already existent api
Start an api at address and port.
In production mode, we bind the api directly. In debug mode, we only bind the API name in order to be able to make modifications to the api (definition) in development time
Helper macro to define an resource operation
Define an api resource.
Example: (with-api-resource users
- (define-resource-operation get-user :get (:url-prefix “users/{id}”)
‘((:id :integer))))
Macro to build HTTP content to pass in client functions.
Example:
(:= :name “name”) (when some-condition
(:= :attr 22)))))
(app.api-client:my-client-function :content content)))
Define an api.
Bind ARGS
to POSTED-CONTENT
. POSTED-CONTENT
is supposed to be an alist.
Also, argx-P is T5 iff argx is present in POSTED-CONTENT
Next: Indices and tables, Previous: API documentation, Up: Top [Contents][Index]