DOCS-10 php rest example