How do I specify the endpoint?		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			xengent
		
 
							- 
													Topic Author
											
 
		
					- 
				
	Offline
			
 
		
					- 
				New Member			
 
		
					- 
				
			 
		
			
	
		Less
		More
		
			
									- 
						Posts: 11					
 
				
				
									- 
						Thank you received: 0					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						9 years 6 months ago				#4938
		by xengent
	
	
		
			
			
				I'm using this URL which gets an article that is public:
mywebsite.com/index.php?option=com_jbackend&view=request&action=get&module=content&resource=articles&id=20
I have my Global Access Type set to "API". And I have a JBackend menu item (endpoint) that I created which is set to "Free".
The above link seems to be using the global configuration because when I set the Global config to "Free" it works fine, but when I set the Global config to "API" I get this:
{
"status": "ko",
"error_code": "REQ_AKR",
"error_description": "API key required"
}
How do I change the URL above to specify the Endpoint item that I created so I can use the "Free" setting on that endpoint while still keep the Global config to "API"?			
 
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			xengent
		
 
							- 
													Topic Author
											
 
		
					- 
				
	Offline
			
 
		
					- 
				New Member			
 
		
					- 
				
			 
		
			
	
		Less
		More
		
			
									- 
						Posts: 11					
 
				
				
									- 
						Thank you received: 0					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						9 years 6 months ago				#4939
		by xengent
	
	
		
			
			
				Figured it out. It's "&Itemid=777". and it is case sensitive apparently.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
 
				
				
									- 
						Thank you received: 441					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						9 years 6 months ago		 -  9 years 6 months ago		#4940
		by admin
	
	
		
			
			
				Hi,
I do not recommend to use the "global" endpoint (which settings are available in the component settings).
It is better to create a menu item (better into an hidden menu, it is not necessary to be visible) of kind "jbackend" and use it. Each menu item can have its own settings (in the menu item's options).
More info here:
www.selfget.com/documentation/jbackend-joomla30/initial-configuration.html
Kind regards,
Luigi			
 
					 
	 
	
		Last edit: 9 years 6 months ago  by admin.			
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		Time to create page: 0.112 seconds