=== Kotia Content Integration ===
Contributors: serg25001
Donate link: https://github.com/Serg25001/kotia-content-integration
Tags: rest-api, import, posts, media, automation
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Secure REST API content importer for WordPress.

== Description ==

Kotia Content Integration is a developer-oriented plugin for automated content importing into WordPress.

It provides a custom REST API that allows external systems to:

* Create posts programmatically
* Upload media files
* Assign categories and tags
* Set featured images
* Use secure token-based authentication
* Operate without external services

All operations use WordPress core APIs and follow security and coding standards.

= Key Features =

* Secure REST API with Bearer token authentication
* Programmatic post creation
* Media upload and attachment
* Category and tag assignment
* Featured image support
* Automatic system user handling
* No external services or tracking
* No ads or upsells

== Installation ==

1. Upload the `kotia-content-integration` folder to `/wp-content/plugins/`.
2. Activate the plugin in WordPress → Plugins.
3. Go to Settings → Kotia Content Integration.
4. Generate a new access token and save it securely.
5. Use the REST API endpoints to import content.

== Usage ==

After activation, the plugin registers the following REST API endpoints:

POST /wp-json/kotia-content-integration/v1/post  
POST /wp-json/kotia-content-integration/v1/media  
POST /wp-json/kotia-content-integration/v1/category  
POST /wp-json/kotia-content-integration/v1/tag  
POST /wp-json/kotia-content-integration/v1/set-thumbnail  

All requests must include the Authorization header:

Authorization: Bearer YOUR_TOKEN

== Authentication ==

* Tokens are generated by administrators
* Only hashed tokens are stored in the database
* Tokens are never exposed after generation
* No WordPress user credentials are required

== Frequently Asked Questions ==

= Is this plugin secure? =

Yes. The plugin uses hashed token authentication and WordPress core APIs.

= Does this plugin create users? =

A system user is created only when needed for REST operations.

= Does this plugin use external services? =

No. All operations are local and use WordPress core functionality.

= Can I use it for bulk imports? =

Yes. It supports automated and bulk content workflows.

= Is it suitable for non-developers? =

The plugin is primarily intended for developers or advanced users.

== Screenshots ==

1. Plugin settings page with token generation
2. Example REST API usage

== Changelog ==

= 2.2.0 =
* Stable release
* Secure token-based REST API
* Media upload support
* Category and tag creation
* Featured image assignment

== Upgrade Notice ==

= 2.2.0 =
Initial public release.