API Documentation
REST API for programmatic access to Elyon data.
Quick Start
// Example: Create a daily log
$.ajax({
url: uxbeingData.restUrl + 'uxbeing/v1/daily-log/create',
method: 'POST',
beforeSend: function(xhr) {
xhr.setRequestHeader('X-WP-Nonce', uxbeingData.nonce);
},
data: {
date: '2024-01-15',
data: {
steps: 10000,
mood: 8,
energy: 7
}
},
success: function(response) {
console.log('Daily log created:', response);
}
});