Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 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 ...
Volomike's user avatar
  • 111
0 votes
1 answer
42 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 ...
Afifa's user avatar
  • 1
0 votes
3 answers
97 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 ...
Vladyn's user avatar
  • 188
0 votes
2 answers
50 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 ...
Lars's user avatar
  • 23
0 votes
1 answer
65 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 ...
wot's user avatar
  • 321
0 votes
1 answer
510 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:/...
Justin Liu's user avatar
0 votes
2 answers
290 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 ...
ibanezshredd's user avatar
0 votes
1 answer
68 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 ...
Trevor Orr's user avatar
0 votes
1 answer
60 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 ...
Steven Grant's user avatar
  • 2,473
1 vote
1 answer
138 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 ...
Trevor Orr's user avatar
4 votes
1 answer
105 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 ...
Nevsie - Modeten's user avatar
0 votes
1 answer
88 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 $...
AllInOne's user avatar
  • 1,079
0 votes
1 answer
102 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/...
EXODev's user avatar
  • 49
1 vote
1 answer
62 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 ...
ipixel's user avatar
  • 247
0 votes
1 answer
100 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 ...
Mark's user avatar
  • 317
1 vote
0 answers
78 views

Channel Entries API title issue

I'm using Expression Engine's Channel Entries API and am having an issue with it. User can add credits to their name. The storing of these credits work fine. If they choose to update their profile ...
Rien's user avatar
  • 71
2 votes
1 answer
209 views

How to create a button on the Entry Edit page?

Basically, what i'm attempting to do is create a [button] right next to the entry save/submit button that will grab the current entries entry_id and pass it to a page we control. I'm staring at the ...
ipixel's user avatar
  • 247
1 vote
2 answers
375 views

How to create a Grid field in extension [duplicate]

I’m creating an extension that on installation, programmatically creates a channel and fields for that channel. One of the fields I’d like to create is a Grid field to store PDF documents against an ...
Martin Bean's user avatar
0 votes
3 answers
249 views

How to import API data into EE

If I wanted to consume API feeds (restful) and import that data into EE as entries, is that possible? Ideally I would like to import a bulk amount of channels (once only), then a bunch of categories ...
user6130's user avatar
2 votes
2 answers
263 views

Channel Entry API and Grid field

I'm looking for a way to handle a grid field with the channel entry API. Documentation has nothing, and could barely find anything else online about except for this: Inserting a new Grid row using ...
Owen Kavanagh's user avatar
1 vote
2 answers
119 views

Payment Gateway Integration API Directory

I downloaded PayU Integration API php files to be used in EE2, but I am not too sure in which directory to store it? It's not a module or something similar, its just 3 API files I need to reference in ...
heinkasner's user avatar
4 votes
2 answers
366 views

Inserting a new Grid row using the API

I looked at the documentation in ExpressionEngine about saving/updating a channel entry row. Unfortunately, the documentation doesn't show anything about adding a new Grid row. Is it possible to do ...
developarvin's user avatar
  • 2,347