Skip to main content
162
results
Andrew Fletcher
In retrieving an image, the primary element required is: File id or fid;   Query string Using the element outlined above the query string becomes: {domain}/file/{fid}/?_format=hal_json Replacing the following variables: {domain} ~ your-site.com {fid} ~ 3214 Becomes: your-site.com/file/3214?_format=hal_jsonGenerates the following output: { "_links": { "self": { "href": "https://your-site.com/file/3214?_format=hal_json" }, ...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
To POST an image is similar to the other posts mentioned on this site....
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I occasionally call on.  Handy to have referenced here: /** * Loop through a multi dimensional array * * @param array $haystack * Data array. */ protected function sortMultiDimensionalArray($haystack) { foreach ($haystack as $key => $item) { // If $item is an array and the number of children is greater to one // keep looping through the array. if (is_array($item) &&...
Andrew Fletcher
For an introduction to setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
The user API, was originally created under the General...
Andrew Fletcher
The development version of the app database is held on the staging site....
Andrew Fletcher
The user parameters provides details about a specific user based...
Andrew Fletcher
Adding git tag to your actions. The regular process that I work to is git add -A git commit -m "some comment" git pushWith git tag, whilst there are many options for how you can apply git tag, this initial step I'll keep simple.  As follows: git add -A git commit -m "some comment" git tag some note git pushI'm looking to trigger a GitHub pipeline action.  The trigger in this instance is dev-* So if the tag has something with dev-, then the pipeline trigger occurs.  By way of...
Andrew Fletcher
In Xcode attempting to build or run an app, I receiving a framework...
Andrew Fletcher
Working through an app project I inherited using Ionic, Angular and ngx-leaflet...
Andrew Fletcher
How can you find out if the Cordova plugins have been loaded? Begin by running...
Andrew Fletcher
While loading an ionic project, in Xcode when performing a run routine I had the...