Got it

An error is reported when the /trm/v2/projects interface of the FusionStage is used to query all project lists.

Created: Jun 18, 2019 07:44:51Latest reply: Jun 18, 2019 07:47:10 251 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

We are using the FusionStage. An error is reported when the /trm/v2/projects 302 interface is used to query all project lists.
According to your FusionStage 2.2.0API document,

curl -i –k -H 'Content-Type:application/json;charset=utf8' -H "X-Auth-Token:$TOKEN"  -X GET https://servicestage.console.szgatype1.com/trm/v2/projects

Featured Answers
olive.zhao
Admin Created Jun 18, 2019 07:47:10

First, use the ip+ port instead of the domain name for the debugging interface.
Second, the IP address is the floating IP address, and the floating IP address is the IP address for obtaining the token.
Third, you need to get an eye-catching list, and you can only get the list of your current users
The complete API is as follows: https://ip:30210/trm/v2/projects?domain_id={domain_id}
That is, curl -i –k -H 'Content-Type:application/json;charset=utf8' -H "X-Auth-Token:$TOKEN" -X GET https://ip:30210/trm/v2/projects?domain_id={domain_id}
To obtain the value of domain_id, run the F12 command. To obtain the value, run the userinfo.domain command on the console,
View more
  • x
  • convention:

All Answers
First, use the ip+ port instead of the domain name for the debugging interface.
Second, the IP address is the floating IP address, and the floating IP address is the IP address for obtaining the token.
Third, you need to get an eye-catching list, and you can only get the list of your current users
The complete API is as follows: https://ip:30210/trm/v2/projects?domain_id={domain_id}
That is, curl -i –k -H 'Content-Type:application/json;charset=utf8' -H "X-Auth-Token:$TOKEN" -X GET https://ip:30210/trm/v2/projects?domain_id={domain_id}
To obtain the value of domain_id, run the F12 command. To obtain the value, run the userinfo.domain command on the console,
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.