api

  1. S

    XF 2.3 No Folder for the API

    Good evening, I have a problem with my API, after creating an API key the folder still does not appear in the main directory of the forum. in the folder of src/config.php it is also not deactivated. Forum is also already reinstalled. Except my DB the following is in the config.php...
  2. I

    XF 2.2 XF API Deletion Issues w/ Attachments

    Hello! So I've been using the API to post threads for sales items and delete them after an expiration. So the threads get posted, attachments get attached, and threads get removed. No problem! But then I noticed my disk space isn't freeing up... the attachments AND the posts are not removed...
  3. Gleedo

    Not a bug API - delete threads with hard_delete not working

    Hi, I am trying to use DELETE threads/{id}/ with hard_delete: true in the body payload, but the given thread never gets permanently deleted. I am running this api test as admin with all permissions for the api key. Payload: { hard_delete: true, reason: 'Test', starter_alert: false...
  4. nero

    XF 2.3 API returning 401 / unauthorized error after migration

    Hello, I have an issue with one of the boards I'm managing after migrating to 2.3. The board is very basic and the only add-on installed is XFI and it has been upgraded too. Upgrade has been completed and there are no outdated templates. I'm using the threads API to create a thread in a...
  5. Orit

    Media gallery API - can't filter by category

    Hi I just noticed I can't filter media items by category when using the API! It seems like a bug to me as it is a rather basic feature... https://xenforo.com/community/pages/api-endpoints/#type_XFMG_MediaItem
  6. L

    [API] view and edit user groups

    Hi, there is an API to view and edit users. Having the same for the user groups would be great. This must not include all the permissions but should include create, delete, modify, view and list. Many thanks
  7. I

    XF 2.2 Permission Error when trying to DELETE attachments via API

    Hello, I've been trying to figure out why I'm getting permission errors during a DELETE attachment API call. The API user is the same as I've used to upload the attachments, and the attachments are attached to the post by posting the thread first, and using the first_post_id return data to...
  8. X

    XF 2.2 view_url in API

    Using GET threads the view_url includes the slug, but If I want the actual posts the view _url only includes the thread id, is it possible for the API to return the full canonical URL whenever possible to avoid redirects and improve SEO. /community/api/threads/ /community/api/threads/{id}/posts/
  9. iDrunK65250

    Duplicate API - "Super user key" missing scope

    Hello, When I try to retrieve the information of a specific user (in my case ID 2), I get a missing scope error "user:read". (GET https://mysuperxenforoforum.com/api/users/2) After checking my key is valid I created a second key, this time a "User key" with all the scopes and obtained the...
  10. Mike Fara

    XF 2.2 API issue creating new threads

    I am wondering if anyone has experience creating new threads with the API. I seem to have a strange error even though the correct information is passed to the API, unless something is off. { "errors": [ { "code": "required_input_missing", "message"...
  11. N

    XF 2.2 API request returning File Not Found

    New to the API requests, but I'm trying to set up a test run for creating a new conversation using cUrl in php and a super user api key. <?php // API endpoint URL $url = 'https://***.com/site/api/conversations'; // API key $api_key = '****'; // Recipient IDs $recipient_ids = [663]; //...
  12. indepth

    XF 2.2 Integrated user model

    I'm actually an XF old but it's been so long I feel like a newb and could use some guidance. Long story short: I just purchased a new license because I saw with the addition of the API / OATH2 in recent years it now appears much easier to add XF onto an existing membership based site. (with a...
  13. Chernabog

    XF 2.2 oAUTH for registration??

    I am working with a developer to create a front end for our gaming community that will verify users against our XenForo database to make sure they have a valid account (banned users would be kept from running the front end software, for example), but we also want to allow the front end to manage...
  14. mattrogowski

    Fixed Forum type filters not applied to API thread requests

    If you make an API call to read threads within a forum, the forum type handler filters don't get applied. So if you have a question forum and requested /api/forums/12/threads?solved=1 the filter isn't applied and all threads are returned. I'm not sure if this is an intentional decision or a...
  15. FoxSecrets

    XF 2.2 How to create custom api endpoints?

    How can I create custom API POST endpoint to my data? I didn't find anything related to it in documentation.
  16. B

    XF 2.2 Fetching all threads in a category via API

    looks like there are endpoints that will allow you to grab all threads from a specific node (forum) but not an endpoint to grab all the threads from a specific category (parent node) get latest threads: /api/threads get latest threads from a specific forum: /api/forums/{node_id}/threads get...
  17. ChadCLund

    XF 2.2 Adding comments to threads with AAPI

    I need some help. I successfully wrote a custom script to import my threads from my MSSQL Server, but I am having an issue importing comments to those threads. My best guess is to use: /api/threads/ or /api/threads/{ID of parent Thread} or {ID of parent forum node} ?? Two questions: which to...
  18. MorganB

    Not a bug API Get conversation from id : requested_conversation_not_found

    Hi, I'm trying to use the service to retrieve information related to a discussion: https://xenforo.com/community/pages/api-endpoints/#route_get_conversations_id_ . I use url : https://...my_site.../api/conversations/9093/ with GET request But it tells me that the discussion is not found , while...
  19. findozor

    XF 2.2 creating thread by guest using api key

    I'm trying to create a topic as a guest using the guest api key and getting an error: Code: "errors": [ { "code": "please_enter_valid_name", { "message": "Please enter a valid name." { "params": [] } according to answer on similar thread...
  20. B

    XF 2.2 API for increasing/decreasing online users count.

    Does anyone know if there is a specific API endpoint intended for increasing the "members online count"? We are using the API to build a mobile app and want to continue to show the true count on the web version with a full tally of online users and guests inclusive of our users on the mobile...
Back
Top Bottom