Questions tagged [api]
The api tag has no summary.
22 questions
0
votes
0
answers
47
views
Trying To Get Categories Per Entry ID
I'm doing headless coding. I have been using the ?ACT=40 API to get entries, doing something like: ?ACT=40&url_title=my-entry-slug to get JSON of a single article. However, it doesn't list for me ...
0
votes
1
answer
106
views
Update expression engine channel entry content
I'm new to expression engine so my question might not sound right to most people.
I'm trying to update the content for a channel entry but not sure whether it's possible or not.
I checked the channel ...
0
votes
3
answers
165
views
Create a channel entry via POST request
I'm using EE as a REST API, consumed by a web app. My question is, how can I create a channel entry via post request from my Web App?
I have a contact form whose data needs to be handled. That's all I ...
0
votes
2
answers
98
views
EE API to get Entries outside of the EE environment
i want to build an APP which need access to channels of my EE instance. I found Open API (https://github.com/putyourlightson/open-api) but it is outdated (last change > 5 yrs). Is there another way to ...
0
votes
1
answer
98
views
Api_channel_fields - cannot add group id
I'm trying to add a new field to a group using the API but it doesn't work (according to the docs it is supposed to be a key).
I have tried running the example code but the 'group_id' field is ...
0
votes
1
answer
579
views
Can you use Reactjs with ee?
I am new to EE (also coding so might seem naive) and was wondering if there is any way to connect my ReactJS project, that i created with create-react-app, with EE.
create-react-app docs here: https:/...
0
votes
2
answers
317
views
Member Login API
Please excuse me because I am extremely new to ExpressionEngine, and I don't quite understand how to achieve this...
I have been searching for a RESTful API plugin, or an example on how to develop one ...
0
votes
1
answer
88
views
create select field using api with name/value pairs
Anyone have any example or documentation to create a select field using the EE api in a channel group with name/value pairs for the select option. I cannot find anything on how to do that. I am able ...
0
votes
1
answer
92
views
Google Maps plugin: API error
I've got a long running EE install that uses the old Google Map plugin.
Lately though, we've been seeing this error in the CP
you have exceeded your daily request quota for this API
I've seen one ...
1
vote
1
answer
167
views
Preventing SQL Injections
In a EE plugin if I construct a sql statement based on passed in parameters and use a EE->db->query($sql) call does the query function prevent SQL Injections or do I need to change my code to use some ...
4
votes
1
answer
138
views
External Website Post to EE Entries
I have never worked with another Third Party System before that prefers to push data to me than provide an API to just pull that data down as needed - but they have their reasons they say!
On that ...
0
votes
1
answer
111
views
Passing a GET variable back in a query while using mysqli_real_escape_string()
I'm trying to take a variable that's passed in a query string (GET) and then use that variable to do a SELECT based on it...
// Assign query string to a variable while sanitizing it against XSS
$...
0
votes
1
answer
142
views
Channel Entries API Error: Undefined property: EE::$stats
This error appears during execution of the Channels Entry API in an API extension:
A PHP Error was encountered Severity: Notice Message: Undefined
property: EE::$stats Filename: api/...
1
vote
1
answer
99
views
Duplicating an entry based on entry_id
I'm having a small issue creating a script that take in an entry_id, and based on that creates a new carbon copy entry with a new entry_id.
I've got this working, however as it stands now i'm forced ...
0
votes
1
answer
127
views
Cartthrob - Presales questions
I have just sent this to the CT team but am open to as much advice as possible so thought id put it out here too. Is this type of Q even allowed on here?
Q:
I am just reading the docs trying to ...